-
Notifications
You must be signed in to change notification settings - Fork 7k
[AMD] upgrade to ROCm 7.2.2 #24245
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
[AMD] upgrade to ROCm 7.2.2 #24245
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,9 +16,9 @@ | |
|
|
||
| # Default base images | ||
| ARG BASE_IMAGE_942="rocm/sgl-dev:rocm7-vllm-20250904" | ||
| ARG BASE_IMAGE_942_ROCM720="rocm/pytorch:rocm7.2_ubuntu22.04_py3.10_pytorch_release_2.9.1" | ||
| ARG BASE_IMAGE_942_ROCM720="rocm/pytorch:rocm7.2.2_ubuntu22.04_py3.10_pytorch_release_2.9.1" | ||
| ARG BASE_IMAGE_950="rocm/sgl-dev:rocm7-vllm-20250904" | ||
| ARG BASE_IMAGE_950_ROCM720="rocm/pytorch:rocm7.2_ubuntu22.04_py3.10_pytorch_release_2.9.1" | ||
| ARG BASE_IMAGE_950_ROCM720="rocm/pytorch:rocm7.2.2_ubuntu22.04_py3.10_pytorch_release_2.9.1" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The variable names and build stages (e.g., |
||
|
|
||
| # This is necessary for scope purpose | ||
| ARG GPU_ARCH=gfx950 | ||
|
|
||
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.
The upgrade to ROCm 7.2.2 in the base image may be ineffective if the
TORCH_ROCM_FILE(defined at line 462 astorch-2.9.1+rocm7.2.0...) is not also updated. This wheel is force-installed at line 517, potentially overwriting the PyTorch installation in the new base image with one built against ROCm 7.2.0. If this wheel bundles its own ROCm libraries or was compiled against the buggyhipEventQueryimplementation, the fix for the race condition described in the PR may not be realized in the final image. Additionally, if this specific wheel file is not present in the new base image's filesystem (as implied by the path inhack.py), the build will fail.