This repository was archived by the owner on Aug 15, 2025. It is now read-only.
[WIP] CUDA 11.0 support#450
Closed
zasdfgbnm wants to merge 15 commits intopytorch:masterfrom
zasdfgbnm:cuda110
Closed
[WIP] CUDA 11.0 support#450zasdfgbnm wants to merge 15 commits intopytorch:masterfrom zasdfgbnm:cuda110
zasdfgbnm wants to merge 15 commits intopytorch:masterfrom
zasdfgbnm:cuda110
Conversation
peterjc123
reviewed
Jun 13, 2020
Contributor
peterjc123
left a comment
There was a problem hiding this comment.
Thanks for working on this.
| pushd %SRC_DIR%\.. | ||
|
|
||
| if "%CUDA_VERSION%" == "102" call internal\driver_update.bat | ||
| if "%CUDA_VERSION%" == "110" call internal\driver_update.bat |
Contributor
There was a problem hiding this comment.
Maybe need a new line for this.
| :cuda110 | ||
|
|
||
| if not exist "%SRC_DIR%\temp_build\cuda_11.0.1_451.22_win10.exe" ( | ||
| curl -k -L http://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda_11.0.1_451.22_win10.exe --output "%SRC_DIR%\temp_build\cuda_11.0.1_451.22_win10.exe" |
Contributor
There was a problem hiding this comment.
I can upload it to S3 if you want.
Contributor
Author
Contributor
Author
| . ./switch_cuda_version.sh "$desired_cuda" | ||
| # TODO, simplify after anaconda fixes their cudatoolkit versioning inconsistency. | ||
| # see: https://github.com/conda-forge/conda-forge.github.io/issues/687#issuecomment-460086164 | ||
| if [[ "$desired_cuda" == "11.0" ]]; then |
Contributor
There was a problem hiding this comment.
https://anaconda.org/anaconda/cudatoolkit/files Looks like it has not be released in anaconda.
| if "%~1" == "Wheels" ( | ||
| if "%BUILD_PYTHONLESS%" == "" ( | ||
| if not "%CUDA_VERSION%" == "102" ( | ||
| if not "%CUDA_VERSION%" == "110" ( |
Contributor
Author
There was a problem hiding this comment.
I reverted this file in #463
We could do the change late if we decide to.
peterjc123
reviewed
Jun 13, 2020
zasdfgbnm
commented
Jun 18, 2020
| @@ -52,6 +52,13 @@ setup_cuda() { | |||
|
|
|||
Contributor
Author
There was a problem hiding this comment.
Also needs to change https://github.com/pytorch/builder/blob/master/packaging/README.md
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.