[torch.compile] Stop assuming 32 bit indexing (#33113)
Signed-off-by: Richard Zou <zou3519@gmail.com>
This commit is contained in:
@@ -280,9 +280,10 @@ class DynamicShapesConfig:
|
||||
until this change picked up https://github.com/pytorch/pytorch/pull/169239.
|
||||
"""
|
||||
|
||||
assume_32_bit_indexing: bool = True
|
||||
assume_32_bit_indexing: bool = False
|
||||
"""
|
||||
whether all tensor sizes can use 32 bit indexing.
|
||||
`True` requires PyTorch 2.10+
|
||||
"""
|
||||
|
||||
def compute_hash(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user