Skip to content

Commit 8946a61

Browse files
committed
lint
1 parent 1a2f51b commit 8946a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfl/autoparallelize/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
torch = None
2525
if os.environ.get("WFL_TORCH_N_GPUS") is not None:
2626
if not torch:
27-
raise RuntimeError(f"Got WFL_TORCH_N_GPUS '{WFL_TORCH_N_GPUS}' but torch module is not available")
27+
raise RuntimeError(f"Got WFL_TORCH_N_GPUS '{os.environ['WFL_TORCH_N_GPUS']}' but torch module is not available")
2828
try:
2929
import multiprocessing
3030
multiprocessing.set_start_method('forkserver')

0 commit comments

Comments
 (0)