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

Torch wheel resolution broken for torch==1.11.0 and cuda 117 #152

Closed
H4dr1en opened this issue May 3, 2023 · 4 comments
Closed

Torch wheel resolution broken for torch==1.11.0 and cuda 117 #152

H4dr1en opened this issue May 3, 2023 · 4 comments

Comments

@H4dr1en
Copy link
Contributor

H4dr1en commented May 3, 2023

Hi,

In clearml-agent==1.5.2, if I specify in the requirements: torch==1.11.0 and the agent recognises cuda 117 (agent.cuda_version = 117 is printed in the logs),
The agent will download the cpu version of torch 1.11.0 instead of trying to downgrade the cuda version and find the matching wheel (eg. 1.11.0+cuda117 -> 1.11.0+cuda116 -> 1.11.0+cuda115 exists)

@jkhenning
Copy link
Member

Hi @H4dr1en, can you attach the logs please?

@jkhenning
Copy link
Member

@H4dr1en updating from the Slack discussion:
See at the attached images
https://download.pytorch.org/whl/cu117/torch/ does not contain a specific wheel for cuda117 to x86, they use the pip default one
Screenshot from 2023-05-11 1
Screenshot from 2023-05-11 2

@H4dr1en
Copy link
Contributor Author

H4dr1en commented May 17, 2023

More on the Slack discussion > https://clearml.slack.com/archives/CTK20V944/p1683734024785499

@H4dr1en
Copy link
Contributor Author

H4dr1en commented Sep 5, 2023

Seems to be fixed in https://github.com/allegroai/clearml-agent/releases/tag/v1.6.0
Not tested but closing for now

@H4dr1en H4dr1en closed this as completed Sep 5, 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

No branches or pull requests

2 participants