-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 866 Bytes
/
Copy pathci.yml
File metadata and controls
28 lines (25 loc) · 866 Bytes
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
name: ci
# Free CPU CI: compiles everything and runs every GPU-free eval (quant fidelity,
# kernel fallback numerics, int4 pack/unpack, cuda-graph eager-fallback determinism,
# notebook validity) on the standard free hosted runner. No GPU, no extra billing.
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
cpu-evals:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: install torch (CPU wheel) and numpy
run: |
pip install --quiet numpy
pip install --quiet torch --index-url https://download.pytorch.org/whl/cpu
- name: compile
run: python -m py_compile kernel/*.py
- name: cpu self-check (exits nonzero on any eval failure)
run: python kernel/selfcheck.py