Spaces:
Running on Zero
Running on Zero
Update src/mdx.py
Browse files238 unmodified lines239240241242243244238 unmodified linesdevice = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')#device_properties = torch.cuda.get_device_properties(device)vram_gb = 6 #device_properties.total_memory / 1024**3m_threads = 1 if vram_gb < 8 else 2238 unmodified lines239240241242243244245238 unmodified linesdevice = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')#device_properties = torch.cuda.get_device_properties(device)print("Device", device)vram_gb = 6 #device_properties.total_memory / 1024**3m_threads = 1 if vram_gb < 8 else 2
src/mdx.py+1