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

Instabaines fix inputs device #13

Merged

Conversation

instabaines
Copy link
Contributor

This change addresses a device mismatch issue where the input tensors (task) were not being loaded onto the same device as the model, resulting in a device compatibility error. The modification ensures that the input tensors are moved to the same device on which the model is loaded. This prevents discrepancies and ensures smooth execution of operations across devices, avoiding runtime errors.
@kyegomez

Modify input device to match with the model device
Fix device mismatch by placing inputs on the same device as the model to avoid errors
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello there, thank you for opening an PR ! 🙏🏻 The team was notified and they will get back to you asap.

@kyegomez kyegomez merged commit 96c866c into The-Swarm-Corporation:main Jan 14, 2025
1 of 2 checks passed
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