Commit graph

2 commits

Author SHA1 Message Date
Alex Jones
cf64a5b415 chore: remove duplicated root data/ copies of catalog and benchmark cache
data/hf_models.json and data/benchmark_cache.json were byte-identical
copies of the files in llmfit-core/data/ (the ones actually embedded via
include_str!), adding ~11 MB of redundant git-tracked data that could
silently drift. Scrapers now write only the canonical llmfit-core/data/
path; scripts and docs updated to match.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 21:49:07 +01:00
Alex Jones
928390b467 feat: add benchmark cache with offline fallback
- New scripts/scrape_benchmarks.py scrapes all 27 hardware presets from
  localmaxxing.com and writes data/benchmark_cache.json (+ llmfit-core copy)
- Cache is embedded at compile time via include_str! and parsed lazily
- TUI falls back to cached data when the API is unreachable, showing
  "Using cached data (API unreachable)" instead of an empty error
- Initial cache contains 115 results across RTX 5090/4090/3090,
  RX 7900 XTX/XT, and Apple M4 Max

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 15:51:57 +01:00