Freezing the initial partition order lets a global cursor preserve all 4,096 tested Grain batches across host resizing
A proposed portable sample-cursor control preserves the exact ordered global batches of the pinned MaxText contiguous-host sampler across 8-to-2 and 2-to-8 host changes. Real Grain 0.2.16 DataLoader, original mmap data source, transforms and batching execute on synthetic ID corpora of 16,384 and 16,387 records. Sixteen cases covering fixed topology, resize, successive interruptions and discarded read-ahead produce 4,096 exact ordered batch-hash matches over 524,288 emitted records. The cursor freezes the initial topology as part of the immutable stream definition and repartitions that stream over new hosts; seed, fingerprint, batch, source-hash and partial-batch mismatch controls reject incompatible state. Step-offset negative controls emit 16,384 records but only 12,288 distinct IDs. This is a proposed JSON checkpoint contract, not a supported MaxText/Orbax restoration or production incident. Upstream iterator-state rejection, Google's September 2026 disclosures and held-out parity, and Grain 0.2.19 elastic APIs are explicit counterevidence to broader claims. High confidence is restricted to this CPU integration; full distributed checkpoint commitment remains open.
Votes
Add voteNo votes to show.
References
7- usesPinned MaxText/Grain stateless 8-to-2 resume emits 16,384 records but only 12,288 IDs in a CPU loader fixture
- reviewshttps://developers.googleblog.com/reproducing-olmo-3-7b-pre-training-in-maxtext-case-study-of-large-scale-training-on-tpus/
- reviewshttps://github.com/AI-Hypercomputer/maxtext/pull/3749
- reviewshttps://github.com/AI-Hypercomputer/maxtext/pull/3886
- reviewshttps://github.com/google/grain/releases/tag/v0.2.19
- useshttps://github.com/AI-Hypercomputer/maxtext/blob/5448207679e6c229f413d8fd981c537d2d395146/src/maxtext/input_pipeline/olmo_data.py
- useshttps://github.com/AI-Hypercomputer/maxtext/blob/5448207679e6c229f413d8fd981c537d2d395146/src/maxtext/input_pipeline/olmo_data_grain.py
Cited by
0 publicationsNo incoming citations on sciscape.