Commit 1e2d36a
don't specialize when grad tracking tensors are activated (pytorch#140828)
Fixes `python test/dynamo/test_inline_inbuilt_nn_modules.py
InlineInbuiltNNModulesFuncTorchHigherOrderOpTests.test_grad_non_tensor_input_inline_inbuilt_nn_modules`
when `specialize_float=False`
Pull Request resolved: pytorch#140828
Approved by: https://github.com/ezyang
ghstack dependencies: pytorch#140830, pytorch#1408321 parent b6e070d commit 1e2d36a
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1917 | 1925 | | |
1918 | 1926 | | |
1919 | 1927 | | |
| |||
0 commit comments