Revert "Add torch compile force disable caches alias (#158072)"

This reverts commit 2ecf083b7247f265a03ec296ba9d7b795f035118.

Reverted https://github.com/pytorch/pytorch/pull/158072 on behalf of https://github.com/jeffdaily due to fails on rocm, signal ignored while rocm was unstable ([comment](https://github.com/pytorch/pytorch/pull/158072#issuecomment-3086740829))
This commit is contained in:
PyTorch MergeBot
2025-07-18 04:58:24 +00:00
parent d8b084312b
commit 9a7c2f1f64
5 changed files with 12 additions and 20 deletions

View File

@ -66,18 +66,6 @@ Tag to be included in the cache key generation for all torch compile caching.
A common use case for such a tag is to break caches.
"""
force_disable_caches: bool = Config(
justknob="pytorch/remote_cache:force_disable_caches",
env_name_force=[
"TORCHINDUCTOR_FORCE_DISABLE_CACHES",
"TORCH_COMPILE_FORCE_DISABLE_CACHES",
],
default=False,
)
"""
Force disables all caching -- This will take precedence over and override any other caching flag
"""
dynamic_sources: str = Config(
env_name_default="TORCH_COMPILE_DYNAMIC_SOURCES", default=""
)