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 1a2f51b commit 8946a61Copy full SHA for 8946a61
wfl/autoparallelize/pool.py
@@ -24,7 +24,7 @@
24
torch = None
25
if os.environ.get("WFL_TORCH_N_GPUS") is not None:
26
if not torch:
27
- raise RuntimeError(f"Got WFL_TORCH_N_GPUS '{WFL_TORCH_N_GPUS}' but torch module is not available")
+ raise RuntimeError(f"Got WFL_TORCH_N_GPUS '{os.environ['WFL_TORCH_N_GPUS']}' but torch module is not available")
28
try:
29
import multiprocessing
30
multiprocessing.set_start_method('forkserver')
0 commit comments