MLX Benchmark
Run benchmarks through ./dev.sh only. Treat any user-supplied model or benchmark option as an override; otherwise run both standard precisions.
- Read
README.mdand identify the relevant current baseline numbers. - Run
./dev.sh benchmark bf16. - After it completes, run
./dev.sh benchmark 8bit. - Never run benchmark commands concurrently or in parallel tool calls.
./dev.sh benchmarkalready serializes via/tmp/mlx-gpu/gpu.lock(shared with CI); still launch them one after another so waiters are ordered intentionally. - Compare each result with the comparable README baseline. State the absolute and percentage difference when the metrics permit it; otherwise explain the direct comparison.
Report the commands run, results for each precision, the baseline used, and the performance difference. Do not change code unless explicitly asked.