[claude] Autoresearch H1: Apple Silicon support + M3 Max baseline doc (#905) #1252

Merged
claude merged 1 commits from claude/issue-905 into main 2026-03-23 23:38:40 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
2c1ebd41f2 feat: add Apple Silicon support to autoresearch + M3 Max baseline doc (Refs #905)
Some checks failed
Tests / lint (pull_request) Failing after 26s
Tests / test (pull_request) Has been skipped
- Add `is_apple_silicon()` and `_build_experiment_env()` helpers that detect
  arm64/Darwin and resolve `backend="auto"` to MLX on Apple Silicon or CUDA
  elsewhere
- Update `prepare_experiment()` and `run_experiment()` to accept `dataset` and
  `backend` kwargs; env vars `AUTORESEARCH_DATASET` / `AUTORESEARCH_BACKEND`
  are forwarded to all subprocess calls so karpathy/autoresearch scripts can
  adapt without CLI changes
- Add `autoresearch_dataset` and `autoresearch_backend` settings to `config.py`
  with M3 Max defaults (tinystories / auto)
- Add `docs/research/autoresearch-h1-baseline.md`: M3 Max hardware profile,
  Apple Silicon setup instructions (MLX vs llama.cpp), community reference data
  (Mac Mini M4: 7/35 succeeded), and a results table template for recording
  actual baseline runs
- Add 9 new unit tests for the Apple Silicon helpers and env-forwarding path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:36:24 -04:00