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 daacd5d commit bc3cbd9Copy full SHA for bc3cbd9
tests/tests_pytorch/conftest.py
@@ -93,6 +93,7 @@ def restore_env_variables():
93
"TF_CPP_MIN_LOG_LEVEL",
94
"TF_GRPC_DEFAULT_OPTIONS",
95
"XLA_FLAGS",
96
+ "TORCHINDUCTOR_CACHE_DIR", # leaked by torch.compile
97
}
98
leaked_vars.difference_update(allowlist)
99
assert not leaked_vars, f"test is leaking environment variable(s): {set(leaked_vars)}"
0 commit comments