Skip to content

Slim the slow checks: CPU-torch CI installs, a one-file GPU suite, no provenance-only sidecar fields - #79

Merged
a9lim merged 3 commits into
mainfrom
slim/checks
Nov 10, 2026
Merged

a9lim merged 3 commits into
mainfrom
slim/checks

Conversation

@a9lim

@a9lim a9lim commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator
  • CI installs with uv and the CPU torch wheel: the default Linux torch pulled
    ~2.5 GB of CUDA libraries that pyright and the CPU suite never touch
    (291 s of the test job's 571 s, 97 s of typecheck's 169 s).
  • tests/gpu is test_smoke.py alone: one extract → steer → generate smoke and
    the four throughput gates. The session, jlens, units, curved-stack, numerics,
    SAELens and skip-helper modules duplicated what the tiny sessions run on CPU
    (MPS numerics keep their mps params in tests/model); the extraction time
    budget, hook-cleanup, save/load, monitor, chat-input and real-model discover
    smokes go with them. gpu_gemma and DROWSE_TEST_SAELENS are gone.
  • The fitted sidecar drops share_metric and subspace_metric (always
    "mahalanobis"; nothing read them), and its reader ignores keys the contract
    has retired instead of demanding an exact key set, so a 6.1.0 fit still
    loads and dropping provenance never strands one.
  • tests/invariants/test_user_message.py (a repo scan that every exception
    subclasses DrowseError and every RequestError is a 400) goes; the route-level
    request-error tests keep the statuses clients see.
  • "Every bug fix lands with a regression test" becomes "when a bug could
    quietly come back".

… provenance-only sidecar fields

- CI installs with uv and the CPU torch wheel: the default Linux torch pulled
  ~2.5 GB of CUDA libraries that pyright and the CPU suite never touch
  (291 s of the test job's 571 s, 97 s of typecheck's 169 s).
- tests/gpu is test_smoke.py alone: one extract → steer → generate smoke and
  the four throughput gates.  The session, jlens, units, curved-stack, numerics,
  SAELens and skip-helper modules duplicated what the tiny sessions run on CPU
  (MPS numerics keep their `mps` params in tests/model); the extraction time
  budget, hook-cleanup, save/load, monitor, chat-input and real-model discover
  smokes go with them.  `gpu_gemma` and DROWSE_TEST_SAELENS are gone.
- The fitted sidecar drops share_metric and subspace_metric (always
  "mahalanobis"; nothing read them), and its reader ignores keys the contract
  has retired instead of demanding an exact key set, so a 6.1.0 fit still
  loads and dropping provenance never strands one.
- tests/invariants/test_user_message.py (a repo scan that every exception
  subclasses DrowseError and every RequestError is a 400) goes; the route-level
  request-error tests keep the statuses clients see.
- "Every bug fix lands with a regression test" becomes "when a bug could
  quietly come back".
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
@a9lim
a9lim merged commit 916431b into main Nov 10, 2026
12 checks passed
@a9lim
a9lim deleted the slim/checks branch November 10, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants