Skip to content

Windows AMI Pin vs 2022 to older msvc release#5337

Merged
atalman merged 2 commits intopytorch:mainfrom
atalman:fix_msvcpin
Jun 13, 2024
Merged

Windows AMI Pin vs 2022 to older msvc release#5337
atalman merged 2 commits intopytorch:mainfrom
atalman:fix_msvcpin

Conversation

@atalman
Copy link
Copy Markdown
Contributor

@atalman atalman commented Jun 13, 2024

@vercel
Copy link
Copy Markdown

vercel bot commented Jun 13, 2024

@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2024
Copy link
Copy Markdown
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

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

Would be nice to add a reference to VC++ version CUDA supports
Also, why it affects only vision but not the core? Should we perhaps update something there?

@atalman
Copy link
Copy Markdown
Contributor Author

atalman commented Jun 13, 2024

Very detailed info on this comment: pytorch/vision#8492 (comment)

Good question why it does not affect core. Do we reinstall for core ?

# Pin to older vs_buildtools version for cuda 11.8 and 12.1 builds
# see issue: nerfstudio-project/nerfstudio#3157
if ( ${env:VS_YEAR} -eq "2022" ) {
$VS_DOWNLOAD_LINK = "https://aka.ms/vs/17/release.ltsc.17.8/vs_buildtools.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.

Does the casing of BuildTools.exe need to change between the two links? (line 8 and line 13)

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.

Line 8 is still needed for MSVC 2019

Co-authored-by: Zain Rizvi <ZainRizvi@users.noreply.github.com>
@atalman atalman merged commit f628955 into pytorch:main Jun 13, 2024
@atalman atalman deleted the fix_msvcpin branch June 13, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants