You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bowang007
changed the title
🐛 [Bug] LongType introduced in Conversion process
🐛 [Bug] LongType introduced in Conversion process by prim::NumToTensor
Apr 1, 2022
Uh oh!
There was an error while loading. Please reload this page.
Bug Description
We have a graph like this:
This fails with an error:
This happens because we get an int from aten::size, then in prim::NumtoTensor we are using this function https://github.com/pytorch/pytorch/blob/8a7c9a5e01a24d465126210234aa9d3775b25032/aten/src/ATen/ScalarOps.h#L29, which will introduce a long tensor that incur the error.
Expected behavior
Truncate the long type here, should be fixed soon.
The text was updated successfully, but these errors were encountered: