-
Notifications
You must be signed in to change notification settings - Fork 49
59 lines (47 loc) · 1.28 KB
/
pip-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Test with pip
on:
workflow_dispatch:
# FIXME: update before merging
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
env:
PYTHON_VERSION: '3.9'
TRITON_TEST_CMD: "scripts/test-triton.sh --skip-pytorch-install"
jobs:
tests:
name: Tests
runs-on:
- rolling
- runner-0.0.20
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install wheels
uses: ./.github/actions/install-wheels
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
python_version: ${{ env.PYTHON_VERSION }}
- name: Install Triton runtime dependencies
run: |
pip install intel-sycl-rt intel-pti
- name: Run core tests
run: |
${{ env.TRITON_TEST_CMD }} --core
- name: Run interpreter tests
run: |
${{ env.TRITON_TEST_CMD }} --interpreter --skip-pip-install
- name: Run Tutorials
run: |
${{ env.TRITON_TEST_CMD }} --tutorial --skip-pip-install
- name: Run inductor test
run: |
${{ env.TRITON_TEST_CMD }} --inductor --skip-pip-install