-
Notifications
You must be signed in to change notification settings - Fork 23
Added CI for ROCm 7.0 #174
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
Open
DevManpreet5
wants to merge
14
commits into
ROCm:main
Choose a base branch
from
DevManpreet5:added-rocm7.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+202
−34
Open
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
dd4435c
Added ROCm 7.0 support
DevManpreet5 ae9987f
updated roc profiler version
DevManpreet5 5fcc4a7
Use ROCM 7.0 Apptainer
mawad-amd 2d432db
Merge branch 'main' into added-rocm7.0
mawad-amd ab29b3d
Fix up the bad apptainer file
mawad-amd 050b6d0
Add hash step
mawad-amd 495a7e7
Force rebuild
mawad-amd d07de4b
Add write option
mawad-amd 35b478e
Merge branch 'main' into added-rocm7.0
mawad-amd 9ecb231
Merge main into added-rocm7.0: Add ROCm 7.0 support to parallel testi…
mawad-amd e549e16
Update all tests to run for both rocm versions
mawad-amd f89c382
Rename tests
mawad-amd 15cc599
Merge branch 'main' into added-rocm7.0
mawad-amd 84898ab
Merge branch 'main' into added-rocm7.0
mawad-amd 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
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 @@ | ||
| # SPDX-License-Identifier: MIT | ||
| # Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved. | ||
|
|
||
| Bootstrap: docker | ||
| From: rocm/pytorch:rocm6.3.1_ubuntu22.04_py3.10_pytorch | ||
|
|
||
| %post | ||
| /bin/bash -c " | ||
| apt-get update && apt-get install -y git | ||
| export TRITON_PATH=/workspace/triton | ||
| conda env list | ||
| source /opt/conda/bin/activate py_3.10 | ||
| conda install -y -n py_3.10 -c conda-forge jupyter ninja cmake wheel | ||
| git clone https://github.com/triton-lang/triton.git \$TRITON_PATH | ||
| cd \$TRITON_PATH | ||
| git checkout dd5823453bcc7973eabadb65f9d827c43281c434 | ||
| pip install -e . | ||
| wget https://github.com/ROCm/rocprofiler-systems/releases/download/rocm-6.3.1/rocprofiler-systems-install.py | ||
| python3 ./rocprofiler-systems-install.py --prefix /opt/rocprofiler-systems --rocm 6.3 | ||
| " | ||
|
|
||
| %environment | ||
| # Define environment variables | ||
| export TRITON_PATH=/workspace/triton | ||
| export PYTHONPATH=$TRITON_PATH/python/ | ||
| export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH | ||
| export ROCM_PATH=/opt/rocm | ||
| export PATH=/opt/conda/envs/py_3.10/bin:/opt/rocm/bin:$PATH | ||
| export OMPI_MCA_mtl="^ofi" | ||
| export OMPI_MCA_pml="ob1" | ||
|
|
||
| %runscript | ||
| echo "Welcome to the ROCm-aware Apptainer image!" | ||
| source /opt/conda/bin/activate py_3.10 | ||
| exec "$@" |
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 @@ | ||
| # SPDX-License-Identifier: MIT | ||
| # Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved. | ||
|
|
||
| Bootstrap: docker | ||
| From: rocm/pytorch:rocm7.0_ubuntu22.04_py3.10_pytorch_release_2.8.0 | ||
|
|
||
| %post | ||
| /bin/bash -c " | ||
| apt-get update && apt-get install -y git | ||
| export TRITON_PATH=/workspace/triton | ||
| conda env list | ||
| source /opt/conda/bin/activate py_3.10 | ||
| conda install -y -n py_3.10 -c conda-forge jupyter ninja cmake wheel | ||
| git clone https://github.com/triton-lang/triton.git \$TRITON_PATH | ||
| cd \$TRITON_PATH | ||
| git checkout dd5823453bcc7973eabadb65f9d827c43281c434 | ||
| pip install -e . | ||
| wget https://github.com/ROCm/rocprofiler-systems/releases/download/rocm-7.0.0/rocprofiler-systems-install.py | ||
| python3 ./rocprofiler-systems-install.py --prefix /opt/rocprofiler-systems --rocm 6.4 | ||
mawad-amd marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| " | ||
|
|
||
| %environment | ||
| # Define environment variables | ||
| export TRITON_PATH=/workspace/triton | ||
| export PYTHONPATH=$TRITON_PATH/python/ | ||
| export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH | ||
| export ROCM_PATH=/opt/rocm | ||
| export PATH=/opt/conda/envs/py_3.10/bin:/opt/rocm/bin:$PATH | ||
| export OMPI_MCA_mtl="^ofi" | ||
| export OMPI_MCA_pml="ob1" | ||
|
|
||
| %runscript | ||
| echo "Welcome to the ROCm-aware Apptainer image!" | ||
| source /opt/conda/bin/activate py_3.10 | ||
| exec "$@" | ||
mawad-amd marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
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.