forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[inductor] Use symbolic_hint when bounding fallback size hint (pytorc…
…h#127262) The previous fallback ignores any known hint values in the expression and only looks at the value ranges. By using the `symbolic_hint` we will use both hints and value ranges. Also removed the recursive use of `size_hint` on the bounds, since these should always be constants. Pull Request resolved: pytorch#127262 Approved by: https://github.com/lezcano ghstack dependencies: pytorch#127251
- Loading branch information
1 parent
26a8fa3
commit f6ef832
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters