Skip to content

Add CUDA-11.5 builds to torchvision #5024

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 8 commits into from
Dec 9, 2021
Merged

Add CUDA-11.5 builds to torchvision #5024

merged 8 commits into from
Dec 9, 2021

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Dec 2, 2021

Fixes #69295 (Add 11.5 to torchvision CI pytorch/pytorch#69295)

One of the issues discovered during this PR is that: conda install -yq -c nvidia -c pytorch cudatoolkit=11.5
Does not work following error is created:
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package libgcc-ng conflicts for:
python=3.9 -> libgcc-ng[version='>=7.3.0|>=7.5.0']
python=3.9 -> zlib[version='>=1.2.11,<1.3.0a0'] -> libgcc-ng[version='>=7.2.0']
cudatoolkit=11.5 -> libgcc-ng[version='>=9.4.0']The following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.17=0
  • feature:|@/linux-64::__glibc==2.17=0
  • python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
    Your installed version is: 2.1

Workaround implemented by using conda-forge chanell

cc @seemethere

@facebook-github-bot
Copy link

facebook-github-bot commented Dec 2, 2021

💊 CI failures summary and remediations

As of commit 5307c15 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@atalman atalman force-pushed the main branch 2 times, most recently from 3a502d7 to f410270 Compare December 8, 2021 20:29
Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@@ -12,4 +12,4 @@ setup_conda_cudatoolkit_constraint
setup_visual_studio_constraint
setup_junit_results_folder
# nvidia channel included for cudatoolkit >= 11
conda build -c defaults -c nvidia $CONDA_CHANNEL_FLAGS --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchvision
conda build -c defaults -c conda-forge $CONDA_CHANNEL_FLAGS --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchvision
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be wary about adding conda-forge, iirc this causes a ton more problems with dependencies

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Context, #4082

@atalman atalman merged commit 8aa3174 into pytorch:main Dec 9, 2021
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Hey @atalman!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Dec 21, 2021
Summary:
* Add CUDA-11.5 builds to torchvision

* Try to fix cudatoolkit issue

* Trying to use cuda11.5 instead of the toolkit

* Trying to rollback last two changes

* Testing

* Using conda-forge only for cuda115 builds

* Fix typo

Reviewed By: prabhat00155

Differential Revision: D33253481

fbshipit-source-id: ed907034b468c1989343315a13787af553bc0be7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants