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

Test should use CUDA if cuda feature is enabled #86

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

jkawamoto
Copy link
Owner

Updated test configurations for Translator and Generator to use CUDA device when the cuda feature is enabled; defaulting to CPU otherwise. This ensures that tests are run on the appropriate device based on the feature flag.

Updated test configurations for Translator and Generator to use CUDA device when the `cuda` feature is enabled; defaulting to CPU otherwise. This ensures that tests are run on the appropriate device based on the feature flag.
@jkawamoto jkawamoto marked this pull request as ready for review October 15, 2024 06:16
@jkawamoto jkawamoto merged commit 4df59b5 into main Oct 15, 2024
19 checks passed
@jkawamoto jkawamoto deleted the cuda-test branch October 17, 2024 03:04
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.

1 participant