-
Notifications
You must be signed in to change notification settings - Fork 1.2k
88 lines (80 loc) · 2.69 KB
/
Copy pathci_linux.yml
File metadata and controls
88 lines (80 loc) · 2.69 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# CI Tests which run on Linux machines
# These access secrets, so should only be run on local branches.
# Ideally, the CI tests would be a single workflow, but several issues
# (especially varied OS support) mean that it is hard to keep a single
# workflow green.
name: CI Tests - Linux
permissions:
contents: read
on:
workflow_dispatch:
inputs:
commit_id:
description: 'Branch or Commit ID (optional)'
required: false
type: string
schedule:
# * is a special character in YAML so we quote this string
# Run at 09:30 UTC every day
- cron: '30 09 * * *'
jobs:
cpu_small:
strategy:
fail-fast: false # Don't cancel all on first failure
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
model:
- "transformers_gpt2_cpu"
- "llamacpp_llama3.2_3b_cpu"
uses: ./.github/workflows/call_cpu_tests.yml
with:
os: Large_Linux
python-version: ${{ matrix.python-version }}
model: ${{ matrix.model }}
codeCovPython: ${{ vars.CODECOV_PYTHON }}
secrets:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
cpu_big:
strategy:
fail-fast: false # Don't cancel all on first failure
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
model:
- "transformers_llama3_8b_cpu"
- "transformers_phi4_mini_cpu"
- "onnxruntime_phi4_mini_instruct"
exclude:
- model: "onnxruntime_phi4_mini_instruct"
python-version: "3.14" # Waiting for ONNX update
uses: ./.github/workflows/call_cpu_tests.yml
with:
os: Large_Linux
python-version: ${{ matrix.python-version }}
model: ${{ matrix.model }}
codeCovPython: ${{ vars.CODECOV_PYTHON }}
secrets:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
gpu_tests:
strategy:
fail-fast: false # Don't cancel all on first failure
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
model:
- "transformers_gpt2_gpu"
- "transformers_phi4_mini_gpu"
- "onnxruntime_phi4_mini_instruct"
exclude:
# https://github.com/microsoft/onnxruntime/issues/26547
- model: "onnxruntime_phi4_mini_instruct"
python-version: "3.14" # Waiting for ONNX update
uses: ./.github/workflows/call_gpu_tests.yml
with:
os: "gpu-runner"
python-version: ${{ matrix.python-version }}
model: ${{ matrix.model }}
codeCovPython: ${{ vars.CODECOV_PYTHON }}
secrets:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}