Skip to content

feat: improve linear probe benchmark #65

feat: improve linear probe benchmark

feat: improve linear probe benchmark #65

Workflow file for this run

name: CI
on:
push:
branches: [ main, trident-features ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies (CPU torch)
run: uv sync --extra torch-cpu
- name: Run fast tests (CPU, no GPU/slow/TF/fastattn)
run: |
uv run pytest tests/ \
-m "not slow and not integration and not requires_tensorflow and not requires_fastattn" \
--tb=short \
-v