Skip to content

Commit 2710018

Browse files
committed
Add one-time v0.11.0 release helper
1 parent 230d982 commit 2710018

2 files changed

Lines changed: 71 additions & 0 deletions

File tree

.github/release-notes-v0.11.0.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Maia-2 0.11.0
2+
3+
This release focuses on reproducible training, safer checkpoint recovery, and maintained Rapid/Blitz training workflows. The released Rapid and Blitz model weights remain unchanged.
4+
5+
### Highlights
6+
7+
- Added maintained Rapid and Blitz training presets with strict, speed-specific Lichess filtering and separate checkpoint roots.
8+
- Reworked monthly training artifacts around validated JSON chunk caches, cryptographic data provenance, atomic downloads, decompression, and checkpoints, with clear preprocessing-worker failures.
9+
- Added resumable checkpoints that record configuration, source data, optimizer progress, and RNG state, and reject incompatible or incomplete resumes before loading optimizer state.
10+
- Improved indexed CUDA and multi-GPU handling, plus portable optimizer-state restoration across CPU, CUDA, and Apple MPS.
11+
- Tightened inference and evaluation behavior for terminal positions, legal-move masking, and prediction ties after display rounding.
12+
- 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.
13+
14+
### Compatibility notes
15+
16+
- Python 3.10–3.12 and PyTorch 2.8.x are supported (`torch>=2.8,<2.9`).
17+
- Standard inference APIs and the released Rapid/Blitz weights are unchanged.
18+
- Training scripts must use an `if __name__ == "__main__":` guard because preprocessing uses spawned workers.
19+
- Configurations without `game_type` continue to default to Rapid. Legacy checkpoints without training metadata can be resumed only as Rapid.
20+
- Legacy `*_chunks.pkl` caches are rebuilt once as provenance-bound JSON caches.
21+
- `from_pretrained` now uses the packaged model configuration rather than a mutable `save_root/config.yaml`.
22+
- Training requires case-sensitive `Rated` plus the selected `Rapid` or `Blitz` Event marker; games involving BOT titles or missing per-move clocks are excluded.
23+
24+
### Distribution checksums
25+
26+
- `maia2-0.11.0-py3-none-any.whl`: `939e69587026be62cd003b8cd1e6e2e66f1120390f68b9d363ce3da099c85029`
27+
- `maia2-0.11.0.tar.gz`: `d7c02445fb5d24e9beb6a19aaf3a5beb96192847424faa1cb120a9471385072f`
28+
29+
**Full Changelog**: https://github.com/CSSLab/maia2/compare/v0.10.0...v0.11.0
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Publish v0.11.0 GitHub Release
2+
3+
on:
4+
push:
5+
branches:
6+
- release-automation-v0.11.0
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
if: github.repository == 'CSSLab/maia2'
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
steps:
17+
- name: Check out release helper
18+
uses: actions/checkout@v7
19+
20+
- name: Download published distributions
21+
run: |
22+
curl -fL -o maia2-0.11.0-py3-none-any.whl \
23+
https://files.pythonhosted.org/packages/9c/21/6ff621782cde9a98878d87e2a989a875f5a93f5abf207ccb8fc5acde3224/maia2-0.11.0-py3-none-any.whl
24+
curl -fL -o maia2-0.11.0.tar.gz \
25+
https://files.pythonhosted.org/packages/87/b3/03a6fc05eef1a01f3572e40ba8fbdd2e96dfb3976325f5b9215ffdf7792e/maia2-0.11.0.tar.gz
26+
27+
- name: Verify distribution checksums
28+
run: |
29+
echo '939e69587026be62cd003b8cd1e6e2e66f1120390f68b9d363ce3da099c85029 maia2-0.11.0-py3-none-any.whl' | sha256sum -c -
30+
echo 'd7c02445fb5d24e9beb6a19aaf3a5beb96192847424faa1cb120a9471385072f maia2-0.11.0.tar.gz' | sha256sum -c -
31+
32+
- name: Create GitHub Release
33+
env:
34+
GH_TOKEN: ${{ github.token }}
35+
run: |
36+
gh release create v0.11.0 \
37+
'maia2-0.11.0-py3-none-any.whl#Python wheel' \
38+
'maia2-0.11.0.tar.gz#Source distribution' \
39+
--repo "$GITHUB_REPOSITORY" \
40+
--verify-tag \
41+
--title 'Maia-2 0.11.0' \
42+
--notes-file .github/release-notes-v0.11.0.md

0 commit comments

Comments
 (0)