Skip to content

Commit 41ba761

Browse files
committed
allow new leaked variable associated with torch.compile
1 parent 687144c commit 41ba761

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def restore_env_variables():
7373
"CRC32C_SW_MODE", # leaked by tensorboardX
7474
"TRITON_CACHE_DIR",
7575
"OMP_NUM_THREADS", # leaked by Lightning launchers
76+
"_TORCHINDUCTOR_PYOBJECT_TENSOR_DATA_PTR", # leaked by torch.compile
7677
}
7778
leaked_vars.difference_update(allowlist)
7879
assert not leaked_vars, f"test is leaking environment variable(s): {set(leaked_vars)}"

0 commit comments

Comments
 (0)