We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bb63e commit 478a664Copy full SHA for 478a664
run_functions.py
@@ -312,8 +312,8 @@ def run(self):
312
if self.use_gpu:
313
cpu_count = min(multiprocessing.cpu_count(), 5)
314
else:
315
- cpus = get_text(self.main_gui.ui.SYSTEM__NUM_CPUS__INPUT)
316
- cpus = multiprocessing.cpu_count() if cpus == "All" else int(cpus)
+ cpu_count = get_text(self.main_gui.ui.SYSTEM__NUM_CPUS__INPUT)
+ cpu_count = multiprocessing.cpu_count() if cpu_count == "All" else int(cpu_count)
317
shm_size = f"{128*cpu_count}m"
318
319
# dist_backend = "gloo" if self.windows_os else "nccl"
0 commit comments