mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Rename cache limit to recompile limit in configs (#143709)
This PR renames every cache_limit to recompile_limit via sed. Old config options are maintained via Config(alias='xyz') Pull Request resolved: https://github.com/pytorch/pytorch/pull/143709 Approved by: https://github.com/jansel
This commit is contained in:
committed by
PyTorch MergeBot
parent
9bf4b1c2e9
commit
dc55704b48
@ -26,7 +26,7 @@ from torch.nn.attention.flex_attention import (
|
||||
|
||||
torch._dynamo.config.automatic_dynamic_shapes = False
|
||||
# Needed since changing args to function causes recompiles
|
||||
torch._dynamo.config.cache_size_limit = 1000
|
||||
torch._dynamo.config.recompile_limit = 1000
|
||||
|
||||
|
||||
from torch._inductor.runtime.benchmarking import benchmarker
|
||||
|
Reference in New Issue
Block a user