r3gm commited on
Commit
1a37ac3
1 Parent(s): 0927022

Update src/mdx.py

Browse files
Files changed (1) hide show
  1. src/mdx.py +1 -0
src/mdx.py CHANGED
@@ -239,6 +239,7 @@ def run_mdx(model_params, output_dir, model_path, filename, exclude_main=False,
239
  device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')
240
 
241
  #device_properties = torch.cuda.get_device_properties(device)
 
242
  vram_gb = 6 #device_properties.total_memory / 1024**3
243
  m_threads = 1 if vram_gb < 8 else 2
244
 
 
239
  device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')
240
 
241
  #device_properties = torch.cuda.get_device_properties(device)
242
+ print("Device", device)
243
  vram_gb = 6 #device_properties.total_memory / 1024**3
244
  m_threads = 1 if vram_gb < 8 else 2
245