Skip to content

Commit d28078e

Browse files
committed
Revert "Only throw PYTORCH_JIT_USE_NNC_NOT_NVFUSER=0 warning when it's actually 0"
This reverts commit 1509463.
1 parent 6f0a53c commit d28078e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nequip/utils/_global_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _set_global_options(config, warn_on_override: bool = False) -> None:
9191
# - Disable nvfuser with env variable `export PYTORCH_JIT_ENABLE_NVFUSER=0`.
9292
#
9393
k = "PYTORCH_JIT_USE_NNC_NOT_NVFUSER"
94-
if k in os.environ and int(os.environ["PYTORCH_JIT_USE_NNC_NOT_NVFUSER"]) == 0:
94+
if k in os.environ:
9595
warnings.warn(
9696
"Do NOT manually set PYTORCH_JIT_USE_NNC_NOT_NVFUSER=0 unless you know exactly what you're doing!"
9797
)

0 commit comments

Comments
 (0)