[claude] Autoresearch H1: Apple Silicon support + M3 Max baseline doc (#905) #1252
Reference in New Issue
Block a user
Delete Branch "claude/issue-905"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #905
What this does
Establishes the M3 Max autoresearch baseline by adding Apple Silicon detection and configuration support to
src/timmy/autoresearch.py, plus adocs/research/autoresearch-h1-baseline.mdreference doc.Changes
src/timmy/autoresearch.pyis_apple_silicon()helper — detects arm64/Darwin_build_experiment_env(dataset, backend)— builds subprocess env vars;backend="auto"resolves tomlxon Apple Silicon,cudaelsewhereprepare_experiment()now acceptsdatasetandbackendkwargs and forwards them asAUTORESEARCH_DATASET/AUTORESEARCH_BACKENDenv vars so karpathy’sprepare.pycan adapt without CLI changesrun_experiment()same treatment — env vars forwarded totrain.pysrc/config.pyautoresearch_dataset: str = "tinystories"(recommended for Mac: lower entropy, faster iteration)autoresearch_backend: str = "auto"(auto-resolves to MLX on Apple Silicon)docs/research/autoresearch-h1-baseline.mdTests
TestAppleSiliconHelpersandTestPrepareExperimentcovering platform detection, env var resolution, and env forwardingTest plan
tox -e unit— 433 passed (2 pre-existing failures in unrelatedtest_three_strike_routes.py)TestAppleSiliconHelpers(5 tests) + env-forwarding test🤖 Generated with Claude Code