mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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:
committed by
PyTorch MergeBot
parent
ffb3f32693
commit
60d2e32fa4
@ -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(
|
||||
|
Reference in New Issue
Block a user