Skip to content

Windows AMI Pin vs 2022 to older msvc release#5337

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

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

Conversation

@atalman

@atalman atalman commented Jun 13, 2024

Copy link
Copy Markdown
Contributor

@vercel

vercel Bot commented Jun 13, 2024

Copy link
Copy Markdown

@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

@malfet malfet left a comment

Copy link
Copy Markdown
Collaborator

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

atalman commented Jun 13, 2024

Copy link
Copy Markdown
Contributor Author

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

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

Comment thread aws/ami/windows/scripts/Installers/Install-VS.ps1 Outdated
# 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

@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