anamnesis 0.7.1

Parse any tensor format, recover any precision — framework-agnostic FP8/GPTQ/AWQ/BnB dequantization, NPZ parsing, and PyTorch .pth conversion for Rust
Documentation
# Continuous performance tracking via CodSpeed (https://codspeed.io).
#
# Instrument: WALLTIME (real elapsed time) on CodSpeed *macro runners*
# (`runs-on: codspeed-macro`) — bare-metal, low-noise, isolated. This is the
# accurate signal that CAN gate perf decisions: it reflects real time, so it
# captures the memory-bandwidth and multi-thread effects the CPU-simulation
# instrument misses (simulation would have shown the null Phase-7 SIMD change as
# a "win" — see docs/perf-experiments.md Experiment 10).
#
# Macro runners require a GitHub *organization* (not a personal account) and draw
# from the org's monthly macro-runner minutes. To fall back to the free,
# always-on CPU-simulation instrument, set `runs-on: ubuntu-latest` and
# `mode: simulation` (a deterministic *complexity* tripwire, not a wall-clock
# verdict). Even with walltime, the local best-of-N protocol in CLAUDE.md remains
# the release-gating authority; CI walltime is the continuous regression signal.
name: CodSpeed

on:
  push:
    branches: [main]
  pull_request:
  workflow_dispatch:

jobs:
  benchmarks:
    name: Run benchmarks
    runs-on: codspeed-macro
    permissions:
      contents: read
      id-token: write # OIDC auth to CodSpeed — no CODSPEED_TOKEN secret needed
    steps:
      - uses: actions/checkout@v4

      - name: Set up Rust toolchain, cache, and cargo-codspeed
        uses: moonrepo/setup-rust@v0
        with:
          channel: stable
          cache-target: release
          bins: cargo-codspeed

      # `--all-features` satisfies the benches' required-features
      # (dequant: gptq/awq/bnb/gguf; parsing: npz/pth/gguf).
      - name: Build the benchmark targets
        run: cargo codspeed build --all-features

      - name: Run the benchmarks
        uses: CodSpeedHQ/action@v4
        with:
          mode: walltime
          run: cargo codspeed run