feat: conversion methods between lm-saes and saelens #390
This file contains hidden or 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: Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - "**" # Include all files by default | |
| - "!.devcontainer/**" | |
| - "!.vscode/**" | |
| - "!.git*" | |
| - "!*.md" | |
| - "!.github/**" | |
| - ".github/workflows/checks.yml" # Still include current workflow | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - "**" | |
| - "!.devcontainer/**" | |
| - "!.vscode/**" | |
| - "!.git*" | |
| - "!*.md" | |
| - "!.github/**" | |
| - ".github/workflows/checks.yml" | |
| # Allow this workflow to be called from other workflows | |
| workflow_call: | |
| inputs: | |
| # Requires at least one input to be valid, but in practice we don't need any | |
| dummy: | |
| type: string | |
| required: false | |
| permissions: | |
| actions: write | |
| contents: write | |
| jobs: | |
| type-checks: | |
| name: Type Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: "true" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Type check | |
| run: uv run basedpyright . | |
| # - name: Unit tests | |
| # run: uv run pytest tests | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/ruff-action@v1 |