Skip to content

fix: use raw linear kernel for Gram matrix computation #16

fix: use raw linear kernel for Gram matrix computation

fix: use raw linear kernel for Gram matrix computation #16

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
paths:
- "cka/**"
- "tests/**"
jobs:
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov torchvision timm transformers
- name: Run tests
run: pytest tests/ -v --cov=cka --cov-report=term-missing