-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some metrics don't work on CPU using float16 #57
Comments
@SkafteNicki mind have look? :] |
Definitely an lack of support from pytorch side, but seems to be on track to be solved: |
Just a follow up: the following metrics does not work with float16 CPU because of lack of support from a list of pytorch operations (in parentheses)
|
Hi! thanks for your contribution!, great first issue! |
looks like this was fixed in pytorch/pytorch@5d93e2b |
🐛 Bug
It looks like some metrics such as Precision-Recall curve don't work on CPUs when using
float16
, perhaps due to a missing feature in pytorch?Please reproduce using the BoringModel
https://colab.research.google.com/drive/1xDv043rRi5WBshP4m5aoxTt2ChlfxjIk?usp=sharing
Expected behavior
the metrics should work in half precision on CPUs as well.
Environment
The text was updated successfully, but these errors were encountered: