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

Enable CUDA for ViTs #31

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Enable CUDA for ViTs #31

merged 1 commit into from
Feb 3, 2023

Conversation

DavidLandup0
Copy link
Owner

@DavidLandup0 DavidLandup0 commented Feb 3, 2023

torch.arange() produced a CPU tensor, which didn't mix well with torch.nn.Embedding().

Closes #30

@DavidLandup0 DavidLandup0 merged commit c6ee612 into main Feb 3, 2023
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.

Support ViT GPU training
1 participant