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

Pytorch with cuda11.1 could't be downloaded in CI. #4458

Closed
mszhanyi opened this issue Sep 22, 2021 · 4 comments
Closed

Pytorch with cuda11.1 could't be downloaded in CI. #4458

mszhanyi opened this issue Sep 22, 2021 · 4 comments

Comments

@mszhanyi
Copy link
Contributor

🐛 Describe the bug

@seemethere ,
the PR #4082 removed the -c conda-forge.
image

After the change, I found that torch with cu11.1 couldn't be downloaded via
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" "pytorch-${UPLOAD_CHANNEL}"::pytorch "${cudatoolkit}" pytest.

Is it expected?

Versions

after #4082

@prabhat00155
Copy link
Contributor

Are you trying to install pytorch on cuda 11.1? You can try: conda install pytorch cudatoolkit=11.1 -c pytorch-nightly -c nvidia

@mszhanyi mszhanyi changed the title Pytorch with cuda11.1 could be downloaded! Pytorch with cuda11.1 could't be downloaded! Sep 23, 2021
@mszhanyi mszhanyi changed the title Pytorch with cuda11.1 could't be downloaded! Pytorch with cuda11.1 could't be downloaded in CI. Sep 23, 2021
@mszhanyi
Copy link
Contributor Author

mszhanyi commented Sep 24, 2021

The link is
https://app.circleci.com/pipelines/github/pytorch/vision/10705/workflows/25d6740c-6c8a-42fd-8cbf-7a54222ebb38/jobs/816118

Installing PyTorch with cudatoolkit=11.1
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - cudatoolkit=11.1

Current channels:

  - https://conda.anaconda.org/pytorch-nightly/win-64
  - https://conda.anaconda.org/pytorch-nightly/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

And it could be solved by add '-c conda-forge'

What I'm confused about is why there's a PR to remove '-c conda-forge'

@prabhat00155
Copy link
Contributor

I see. Looks like you need conda-forge on windows.

@prabhat00155
Copy link
Contributor

Closing this issue, PR merged: #4475.

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