pytorch
d7317d8a - Fix size_hint call sites failing on unbacked SymInts (#110520)

Commit
1 year ago
Fix size_hint call sites failing on unbacked SymInts (#110520) Summary: Unbacked SymInts can't get a `sizevars.size_hint` due to being data-dependent. #109893 has added a new `fallback` parameter to `sizevars.size_hint` to specify the fallback value in cases like unbacked SymInt. In this PR we add more of those. Test Plan: CI Reviewers: Subscribers: Tasks: Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/110520 Approved by: https://github.com/jansel, https://github.com/ezyang
Author
Committer
Parents
Loading