-
Notifications
You must be signed in to change notification settings - Fork 24.3k
[BE] Move cuda12.6 builds to gcc11 #148740
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148740
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 69 PendingAs of commit 2d64910 with merge base d8dc700 ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
.github/workflows/pull.yml
Outdated
build-environment: linux-focal-cuda12.6-py3.10-gcc9-sm89 | ||
docker-image: ${{ needs.linux-focal-cuda12_6-py3_10-gcc9-sm89-build.outputs.docker-image }} | ||
test-matrix: ${{ needs.linux-focal-cuda12_6-py3_10-gcc9-sm89-build.outputs.test-matrix }} | ||
build-environment: linux-focal-cuda12.6-py3.10-gcc1-sm89 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gcc1 - typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supporting gcc1 was a special request from Dr Emmet Brown who is looking forward to build PyTorch from source back in 1987
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@pytorchbot merge -f "Let's test in prod! Spartaaa!" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack (oldest at bottom):
I.e.
s/pytorch-linux-focal-cuda12.6-cudnn9-py3-gcc9/pytorch-linux-focal-cuda12.6-cudnn9-py3-gcc11/
Which accidentally fixes undefined symbol references errors namely
Which happens because
libmagma.a
that were build with gcc-11 (after #148135 ) contains symbols which are defined in/opt/rh/gcc-toolset-11/root/usr/lib/gcc/x86_64-redhat-linux/11/libstdc++_nonshared.a
but missing from the corresponding library bundled withg++-9
)Though I could not figure out what flags one must use to trigger generation of those symbols, see https://godbolt.org/z/E9KfdhzzY or
Fixes #148728 and #148495