[BE] Remove lambda from str (#144743)

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/144743
Approved by: https://github.com/avikchaudhuri, https://github.com/Skylion007
ghstack dependencies: #144471
This commit is contained in:
Edward Z. Yang
2025-01-13 19:38:52 -08:00
committed by PyTorch MergeBot
parent ffb3f32693
commit 60d2e32fa4

View File

@ -5628,7 +5628,7 @@ class ShapeEnv:
s in self.size_like,
self.oblivious_upper_bound_exclusive.get(s),
)
for s in sorted(fs, key=lambda s: str(s)) # TODO: speed up sort?
for s in sorted(fs, key=str) # TODO: speed up sort?
)
r = _maybe_evaluate_static_worker(