pytorch
53062e1f - inductor: fix size and stride comparison (#94481)

Commit
1 year ago
inductor: fix size and stride comparison (#94481) We met a case where `old.get_stride()` is a `tuple`: `(1, 16)` while `new.get_stride()` is a `list`: `[1, 16]`. `old.get_stride() == new.get_stride()` returns `False` though they're actually equal. Pull Request resolved: https://github.com/pytorch/pytorch/pull/94481 Approved by: https://github.com/jgong5, https://github.com/EikanWang, https://github.com/desertfire, https://github.com/jansel
Author
Committer
Parents
Loading