Skip to content
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#450
zasdfgbnm wants to merge 15 commits intopytorch:masterfrom
zasdfgbnm:cuda110

Conversation

@zasdfgbnm
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

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

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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe need a new line for this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed in #463

: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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I can upload it to S3 if you want.

Copy link
Copy Markdown
Contributor Author

@zasdfgbnm zasdfgbnm Jun 18, 2020

Choose a reason for hiding this comment

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

Feel free to do so if you prefer S3, and I will update the link in my new PR #463 . Also, we just get a link for cuDNN as well, see: #463

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

. ./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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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" (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So we use cuda 11 as default, cc @seemethere ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I reverted this file in #463
We could do the change late if we decide to.

@@ -52,6 +52,13 @@ setup_cuda() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@zasdfgbnm zasdfgbnm mentioned this pull request Jun 18, 2020
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants