mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
@ -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=""
|
||||
)
|
||||
|
Reference in New Issue
Block a user