transformers
9b322e72
- Fix torch_float casting to int instead of float (#47468)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
7 days ago
Fix torch_float casting to int instead of float (#47468) The non-tracing branches used int(x) (copy-paste from torch_int), so the result was truncated instead of returned as a float.
References
#47468 - Fix torch_float casting to int instead of float
Author
rahulrshetty45
Parents
9a6925a9
Loading