Skip to content

fixes unit tests requiring cuda #586

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

JamesKunstle
Copy link
Contributor

@JamesKunstle JamesKunstle commented Jun 2, 2025

unit tests were breaking because Torch couldn't import the cuda toolkit. This isn't desirable because even on cuda systems unit tests shouldn't be written the require cuda. This coudl be changed in the future though.

Closes: #576

unit tests were breaking because Torch couldn't import the cuda toolkit.
This isn't desirable because even on cuda systems unit tests shouldn't
be written the require cuda. This coudl be changed in the future
though.

Signed-off-by: James Kunstle <[email protected]>
@mergify mergify bot added CI/CD Affects CI/CD configuration testing Relates to testing labels Jun 2, 2025
@mergify mergify bot merged commit 91f600e into instructlab:main Jun 4, 2025
18 checks passed
@mergify mergify bot removed the one-approval label Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Affects CI/CD configuration testing Relates to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tox -e py3-unit fails on cuda machines
3 participants