add llama-3.3-70b notebook (#59) #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: "0.5.9" | |
- name: ruff check | |
run: uv run ruff check | |
- name: ruff format --check | |
run: uv run ruff format --check | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
# don't use uv install python because we need a system python for | |
# numpy wheel builds | |
- name: install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: "0.5.9" | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- run: uv sync --all-extras --dev | |
- name: cache huggingface | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/huggingface | |
key: ${{ runner.os }}-hf-models-${{ hashFiles('**/lockfiles') }} | |
restore-keys: | | |
${{ runner.os }}-hf-models- | |
- run: uv run pytest |