Skip to content

Commit de93383

Browse files
committed
[CI] make AWS tests reuse torch + triton installations from build job
1 parent fa814b5 commit de93383

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,12 @@ jobs:
6161
cd triton_viz
6262
python -m pytest tests
6363
64-
nki-tests:
65-
name: AWS Neuron / NKI
66-
runs-on: ubuntu-22.04
67-
needs: build
68-
env:
69-
TRITON_INTERPRET: "1"
70-
TRITON_VERSION: "3.4.0"
71-
PIP_EXTRA_INDEX_URL: https://pip.repos.neuron.amazonaws.com
72-
73-
steps:
74-
- uses: actions/checkout@v3
75-
with:
76-
path: 'triton_viz'
77-
78-
- name: Set up Python 3.10
79-
uses: actions/setup-python@v3
80-
with:
81-
python-version: '3.10'
82-
83-
- name: Install AWS Neuron Python packages
84-
run: |
85-
python -m pip install neuronx-cc==2.* --extra-index-url https://pip.repos.neuron.amazonaws.com
86-
87-
- name: Install Triton
88-
run: |
89-
python -m pip install triton==${{ env.TRITON_VERSION }}
90-
9164
- name: Install Triton-Viz with NKI extras
9265
run: |
9366
cd triton_viz
94-
python -m pip install -e .[nki]
67+
pip install -e .[nki]
9568
96-
- name: Run NKI pytest suite
69+
- name: Run full (Triton + NKI) pytest suite
9770
run: |
9871
cd triton_viz
99-
python -m pytest tests/nki -m ""
72+
python -m pytest tests -m ""

0 commit comments

Comments
 (0)