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

MNT Fix torch install in integration test GitHub workflow #1028

Closed

Conversation

BenjaminBossan
Copy link
Collaborator

The integration test GH workflow started failing recently when trying to install PyTorch with pip.

The error is:

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

(see e.g. this log)

Not 100% sure why, but this fix addresses it by installing PyTorch explicitly from the CPU index URL.

This is the same approach as in our normal unit testing workflow, so it should work.

The integration test GH workflow started failing recently when trying to
install PyTorch with pip. Not 100% sure why, but this fix addresses it
by installing explicitly from the CPU index URL.

This is the same approach as in our normal unit testing workflow, so it
should work.
@BenjaminBossan BenjaminBossan changed the title MNT Fix torch install in GH integr. test workflow MNT Fix torch install in integration test GitHub workflow Nov 1, 2023
@thomasjpfan
Copy link
Member

I'm closing this PR, because this issue was resolved in #1031

@BenjaminBossan
Copy link
Collaborator Author

Thanks, I should check my own PRs better -__-

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