Skip to content
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

Windows AMI Pin vs 2022 to older msvc release #5337

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Jun 13, 2024

Copy link

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
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
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 ?

aws/ami/windows/scripts/Installers/Install-VS.ps1 Outdated Show resolved Hide resolved
# 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
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
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
3 of 4 checks passed
@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