Skip to content

Commit

Permalink
[CI][Proton][AMD] Fix test_cmd and enable CI on AMD (triton-lang#4026)
Browse files Browse the repository at this point in the history
Co-authored-by: Keren Zhou <kerenzhou@openai.com>
Co-authored-by: Jokeren <robinho364@gmail.com>
  • Loading branch information
3 people authored and bertmaher committed Dec 4, 2024
1 parent 75434ab commit 1400fa6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ jobs:
# Run runtime tests serially to avoid race condition with cache handling
python3 -m pytest -s runtime
- name: Run Proton tests
run: |
cd third_party/proton
python3 -m pytest test
- name: Run C++ unittests
run: |
cd python
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/integration-tests.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ jobs:
# Run runtime tests serially to avoid race condition with cache handling
python3 -m pytest -s runtime

- name: Run Proton tests
run: |
cd third_party/proton
python3 -m pytest test

- *run-cpp-unittests-step
- *save-build-artifacts-step
- *inspect-cache-directories-step
Expand Down
2 changes: 1 addition & 1 deletion third_party/proton/test/test_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def test_exec(mode):
data = json.load(f, )
kernels = data[0]["children"]
assert len(kernels) == 2
assert kernels[1]["frame"]["name"] == "test"
assert kernels[0]["frame"]["name"] == "test" or kernels[1]["frame"]["name"] == "test"

0 comments on commit 1400fa6

Please sign in to comment.