-
Notifications
You must be signed in to change notification settings - Fork 243
Upgrade cuda from 12.4 -> 12.6 #1962
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
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1962
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 2 PendingAs of commit c253dc0 with merge base 7fa9c69 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: cb1cfff2745bacc99e73276fa2a487ee316bb71d ghstack-comment-id: 2754997519 Pull Request resolved: #1962
Seems like CI is unhappy though |
Yes, it's not able to install the 12.6 driver. @atalman is looking into it. |
@huydhn Can you please take a look at this. |
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!
Let me take a look at the CI error |
This is reported by @jainapurva from TorchAO https://github.com/pytorch/ao/actions/runs/14461343872/job/40554407661 trying to upgrade CUDA from 12.4 to 12.6 pytorch/ao#1962. It turns out that the NVIDIA driver that we are currently using `550.54.15` is too old. I grab the latest production driver from NVIDIA which should satisfy not only CUDA 12.6 but 12.8 too: * https://docs.nvidia.com/cuda/archive/12.8.0/cuda-toolkit-release-notes/index.html This should help fix the issue on AO, also need to update this driver in a couple of other places too. ### Testing * Manual. I install the driver manually and can start the container fine without any issue `docker run --gpus all -it pytorch/almalinux-builder:cuda12.6 /bin/bash` * https://github.com/pytorch/test-infra/actions/runs/14481525016 * ~~Also test this out on AO https://github.com/pytorch/ao/actions/runs/14481627872/job/40619564626~~ I think this needs to be landed first as AO jobs still point to `test-infra@main`
I think I have had almost everything working with 2 remaining issues:
|
Updating the cuda version from 12.4 -> 12.6, as 12.4 is not supported anymore.
All pytorch nightly tests will be using cu12.6 going forward. Only H100 tests are still using cu124 version with pytorch nightly, as H100 driver upgrade could not be done. Once the issue is fixed for H100 driver upgrade, we’ll be able to update our CI tests accordingly