Commit 13e8181
relax assertion on fake shape (#121599)
Summary: Seems like if you use `capture_pre_autograd_graph` fake tensor shapes can be ints instead of symints.
Test Plan: fixes the AssertionError in N5057219
Differential Revision: D54729142
Pull Request resolved: #121599
Approved by: https://github.com/angelayi, https://github.com/BoyuanFeng1 parent 660ec3d commit 13e8181
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2930 | 2930 | | |
2931 | 2931 | | |
2932 | 2932 | | |
2933 | | - | |
2934 | | - | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
2935 | 2938 | | |
2936 | 2939 | | |
2937 | 2940 | | |
| |||
0 commit comments