mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00: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:
parent
ffb3f32693
commit
60d2e32fa4
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue