Skip to content
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

fix: SigLip.to(device) #34

Merged
merged 1 commit into from
Feb 27, 2024
Merged

fix: SigLip.to(device) #34

merged 1 commit into from
Feb 27, 2024

Conversation

Jim-Encord
Copy link
Contributor

Mistake made by me (I wrote some of the code manually rather than Ctrl+c ctrl+V).
Was discovered on the VM with error:

RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same

Very simple fix. Tested on VM that it is failing on main and successful on this branch.

@eloy-encord eloy-encord merged commit 65d43fe into main Feb 27, 2024
1 check passed
@eloy-encord eloy-encord deleted the jb/fix_siglip_cuda_device branch February 27, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants