Repository navigation
Maia-2 0.11.0
This release focuses on reproducible training, safer checkpoint recovery, and maintained Rapid/Blitz training workflows. The released Rapid and Blitz model weights remain unchanged.
Highlights
- Added maintained Rapid and Blitz training presets with strict, speed-specific Lichess filtering and separate checkpoint roots.
- Reworked monthly training artifacts around validated JSON chunk caches, cryptographic data provenance, atomic downloads, decompression, and checkpoints, with clear preprocessing-worker failures.
- Added resumable checkpoints that record configuration, source data, optimizer progress, and RNG state, and reject incompatible or incomplete resumes before loading optimizer state.
- Improved indexed CUDA and multi-GPU handling, plus portable optimizer-state restoration across CPU, CUDA, and Apple MPS.
- Tightened inference and evaluation behavior for terminal positions, legal-move masking, and prediction ties after display rounding.
- Added checksum verification for released models and example datasets, a configurable Lichess download script, packaged training configurations, Python 3.10–3.12 CI, CodeQL, and expanded project metadata and documentation.
Compatibility notes
- Python 3.10–3.12 and PyTorch 2.8.x are supported (
torch>=2.8,<2.9). - Standard inference APIs and the released Rapid/Blitz weights are unchanged.
- Training scripts must use an
if __name__ == "__main__":guard because preprocessing uses spawned workers. - Configurations without
game_typecontinue to default to Rapid. Legacy checkpoints without training metadata can be resumed only as Rapid. - Legacy
*_chunks.pklcaches are rebuilt once as provenance-bound JSON caches. from_pretrainednow uses the packaged model configuration rather than a mutablesave_root/config.yaml.- Training requires case-sensitive
Ratedplus the selectedRapidorBlitzEvent marker; games involving BOT titles or missing per-move clocks are excluded.
Distribution checksums
maia2-0.11.0-py3-none-any.whl:939e69587026be62cd003b8cd1e6e2e66f1120390f68b9d363ce3da099c85029maia2-0.11.0.tar.gz:d7c02445fb5d24e9beb6a19aaf3a5beb96192847424faa1cb120a9471385072f
Full Changelog: v0.10.0...v0.11.0