| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Convert tensor's dtype to "float" before moving to CPU, which avoids errors when using "bf16"
|
Hi @yuzhaouoe, thanks for opening this PR! Could you provide a minimal code snippet to reproduce the issue with bfloat16 you mention? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Convert tensor's dtype to "float" before moving to CPU, which avoids errors when using "bf16"
Description
add .float() before .cpu() to support half precision data type
Checklist