-
Notifications
You must be signed in to change notification settings - Fork 26
Added Dockerfile for CI images & Upgrate CI to ROCm 7.2 #195
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
afa95d5
Added Dockerfile for CI images
VeeraRajasekhar e764e4f
Addressed reviews
VeeraRajasekhar 6aec0e5
Addressed reviews
VeeraRajasekhar db1bc24
Addressed flash attention commit to tag
VeeraRajasekhar 9b033ba
Moved Dockerfile.ci.deps to .github/scripts, Updated dockerfile
VeeraRajasekhar 800fccd
Addressed comments
VeeraRajasekhar 4cd39ca
Adjusted tolerance for gfx942 for ROCm7.2 support
VeeraRajasekhar d232b2d
Updated CI docker image
VeeraRajasekhar 0e9bab1
[CI][Jax] Skip MXFP8 JAX GEMM tests on ROCm when K < 64
VeeraRajasekhar f5c0882
[CI][Jax] Update minimum JAX version for MXFP8 JAX GEMM to 0.8.2
VeeraRajasekhar 17d20ed
Addressed Comments
VeeraRajasekhar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Copyright (c) 2026, Advanced Micro Devices, Inc. All rights reserved. | ||
| # | ||
| # See LICENSE for license information. | ||
|
|
||
| ## TE CI Dockerfile | ||
| ARG BASE_DOCKER=registry-sc-harbor.amd.com/framework/compute-rocm-rel-7.2:57_ubuntu22.04_py3.11_pytorch_release-2.8_08d38866 | ||
| FROM $BASE_DOCKER | ||
| WORKDIR / | ||
|
|
||
| # Build arguments | ||
| ARG FA_VERSION=v2.8.1 | ||
| ARG ROCM_VERSION=7.2 | ||
| ARG JAX_VERSION=0.8.0 | ||
| ARG PYTHON_VERSION=311 | ||
|
|
||
| RUN pip install setuptools wheel | ||
| RUN pip install ipython pytest fire pydantic pybind11 ninja pandas | ||
| RUN apt-get update && apt-get install -y vim | ||
|
|
||
| # Install flash-attention | ||
| ENV GPU_ARCHS=gfx950;gfx942 | ||
| RUN git clone --branch ${FA_VERSION} --depth 1 https://github.com/Dao-AILab/flash-attention.git \ | ||
| && cd flash-attention \ | ||
| && FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE && FLASH_ATTENTION_SKIP_CK_BUILD=FALSE python setup.py install \ | ||
| && cd .. | ||
|
|
||
| # Install JAX | ||
| RUN ROCM_MAJOR=$(echo "${ROCM_VERSION}" | cut -d. -f1) && pip install \ | ||
| https://repo.radeon.com/rocm/manylinux/rocm-rel-${ROCM_VERSION}/jax_rocm${ROCM_MAJOR}_pjrt-${JAX_VERSION}%2Brocm${ROCM_VERSION}.0-py3-none-manylinux_2_28_x86_64.whl \ | ||
| https://repo.radeon.com/rocm/manylinux/rocm-rel-${ROCM_VERSION}/jax_rocm${ROCM_MAJOR}_plugin-${JAX_VERSION}%2Brocm${ROCM_VERSION}.0-cp${PYTHON_VERSION}-cp${PYTHON_VERSION}-manylinux_2_28_x86_64.whl \ | ||
| jax==${JAX_VERSION} \ | ||
| https://repo.radeon.com/rocm/manylinux/rocm-rel-${ROCM_VERSION}/jaxlib-${JAX_VERSION}%2Brocm${ROCM_VERSION}.0-cp${PYTHON_VERSION}-cp${PYTHON_VERSION}-manylinux_2_27_x86_64.whl | ||
|
|
||
| WORKDIR /workspace/ | ||
| CMD ["/bin/bash"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.