mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #415] RuntimeError: "addmm_impl_cpu_" not implemented for 'Half' #355
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Viditagarwal7479 on GitHub (Jan 2, 2024).
Original GitHub issue: https://github.com/openai/CLIP/issues/415
Hello,
I first converted the model to fp16. Like this,
As the above function is intended to convert the model from fp32 to fp16 then what can be the possible reason it's not working?
When I used this saved model, it gave the error with the following traceback:
Traceback
@Viditagarwal7479 commented on GitHub (Jan 10, 2024):
That layer is implemented to work with fp16 on the GPU. In the case of using on CPU use fp32.