@@ -147,57 +147,9 @@ jobs:
147147 echo TRITON_TEST_CMD="bash -v -x scripts/test-triton.sh --warning-reports --skip-pytorch-install --reports-dir $GITHUB_WORKSPACE/reports ${{ inputs.ignore_errors && '--ignore-errors' || '' }} $skiplist"
148148 } | tee -a $GITHUB_ENV
149149
150- - name : Run unit tests
151- run : |
152- ${{ env.TRITON_TEST_CMD }} --unit
153-
154- - name : Run core tests
155- run : |
156- ${{ env.TRITON_TEST_CMD }} --core --skip-pip-install
157-
158- - name : Run interpreter tests
159- run : |
160- ${{ env.TRITON_TEST_CMD }} --interpreter --skip-pip-install
161-
162- - name : Run Tutorials
163- run : |
164- ${{ env.TRITON_TEST_CMD }} --tutorial --skip-pip-install
165-
166- - name : Run instrumentation tests
167- run : |
168- ${{ env.TRITON_TEST_CMD }} --instrumentation --skip-pip-install
169-
170- - name : Get transformers version
171- run : |
172- cd pytorch
173- TRANSFORMERS_VERSION="$(<.ci/docker/ci_commit_pins/huggingface.txt)"
174- echo "TRANSFORMERS_VERSION=$TRANSFORMERS_VERSION" | tee -a $GITHUB_ENV
175-
176- - name : Install transformers
177- uses : ./.github/actions/install-dependency
178- with :
179- package : transformers
180- repository : huggingface/transformers
181- ref : ${{ env.TRANSFORMERS_VERSION }}
182- try-tag-prefix : v
183-
184- - name : Run E2E test
185- run : |
186- ${{ env.TRITON_TEST_CMD }} --inductor --skip-pip-install
187-
188- - name : Save pip cache
189- if : ${{ steps.pip-cache.outputs.status == 'miss' }}
190- uses : ./.github/actions/save
191- with :
192- path : ${{ steps.pip-cache.outputs.path }}
193- dest : ${{ steps.pip-cache.outputs.dest }}
194-
195- - name : Pass rate
196- run : |
197- source ./scripts/capture-hw-details.sh
198- python scripts/pass_rate.py --reports reports ${{ env.SKIPLIST }}
199- python scripts/pass_rate.py --reports reports --json ${{ env.SKIPLIST }} > pass_rate.json
200- python scripts/pass_rate.py --reports reports --suite tutorials --json ${{ env.SKIPLIST }} > pass_rate_tutorials.json
150+ # - name: Run unit tests
151+ # run: |
152+ # ${{ env.TRITON_TEST_CMD }} --unit
201153
202154 - name : Report environment details
203155 run : |
@@ -218,27 +170,75 @@ jobs:
218170 AGAMA_VERSION=$AGAMA_VERSION
219171 EOF
220172
221- - name : Upload pass rate report
222- # upload reports only for the default branch
223- if : github.ref_name == 'main'
224- uses : actions/upload-artifact@v4
225- with :
226- name : pass_rate-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
227- path : pass_rate*.json
173+ - name : Run core tests
174+ run : |
175+ ${{ env.TRITON_TEST_CMD }} --core --skip-pip-install
228176
229- - name : Upload tutorials performance report
230- uses : actions/upload-artifact@v4
231- with :
232- name : tutorials-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
233- if-no-files-found : warn
234- include-hidden-files : true
235- path : |
236- reports/*/*.csv
237- .env
238-
239- - name : Upload test reports
240- if : inputs.upload_test_reports
241- uses : actions/upload-artifact@v4
242- with :
243- name : test-reports-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
244- path : reports
177+ # - name: Run interpreter tests
178+ # run: |
179+ # ${{ env.TRITON_TEST_CMD }} --interpreter --skip-pip-install
180+
181+ # - name: Run Tutorials
182+ # run: |
183+ # ${{ env.TRITON_TEST_CMD }} --tutorial --skip-pip-install
184+
185+ # - name: Run instrumentation tests
186+ # run: |
187+ # ${{ env.TRITON_TEST_CMD }} --instrumentation --skip-pip-install
188+
189+ # - name: Get transformers version
190+ # run: |
191+ # cd pytorch
192+ # TRANSFORMERS_VERSION="$(<.ci/docker/ci_commit_pins/huggingface.txt)"
193+ # echo "TRANSFORMERS_VERSION=$TRANSFORMERS_VERSION" | tee -a $GITHUB_ENV
194+
195+ # - name: Install transformers
196+ # uses: ./.github/actions/install-dependency
197+ # with:
198+ # package: transformers
199+ # repository: huggingface/transformers
200+ # ref: ${{ env.TRANSFORMERS_VERSION }}
201+ # try-tag-prefix: v
202+
203+ # - name: Run E2E test
204+ # run: |
205+ # ${{ env.TRITON_TEST_CMD }} --inductor --skip-pip-install
206+
207+ # - name: Save pip cache
208+ # if: ${{ steps.pip-cache.outputs.status == 'miss' }}
209+ # uses: ./.github/actions/save
210+ # with:
211+ # path: ${{ steps.pip-cache.outputs.path }}
212+ # dest: ${{ steps.pip-cache.outputs.dest }}
213+
214+ # - name: Pass rate
215+ # run: |
216+ # source ./scripts/capture-hw-details.sh
217+ # python scripts/pass_rate.py --reports reports ${{ env.SKIPLIST }}
218+ # python scripts/pass_rate.py --reports reports --json ${{ env.SKIPLIST }} > pass_rate.json
219+ # python scripts/pass_rate.py --reports reports --suite tutorials --json ${{ env.SKIPLIST }} > pass_rate_tutorials.json
220+
221+ # - name: Upload pass rate report
222+ # # upload reports only for the default branch
223+ # if: github.ref_name == 'main'
224+ # uses: actions/upload-artifact@v4
225+ # with:
226+ # name: pass_rate-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
227+ # path: pass_rate*.json
228+
229+ # - name: Upload tutorials performance report
230+ # uses: actions/upload-artifact@v4
231+ # with:
232+ # name: tutorials-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
233+ # if-no-files-found: warn
234+ # include-hidden-files: true
235+ # path: |
236+ # reports/*/*.csv
237+ # .env
238+
239+ # - name: Upload test reports
240+ # if: inputs.upload_test_reports
241+ # uses: actions/upload-artifact@v4
242+ # with:
243+ # name: test-reports-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }}
244+ # path: reports
0 commit comments