Skip to content

Commit b97e940

Browse files
committed
Close Stream D data pipeline acceptance
1 parent be507b7 commit b97e940

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

docs/data_pipeline.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
This document describes the current local data ingress and reference packing
44
contract for cppmega_mlx. It is intentionally scoped to local MLX data helpers
5-
and the tiny training/model path. Full Stream D remains open until the remaining
6-
tokenizer/full-corpus parity gates are proven.
5+
and the tiny training/model path. The local Stream D data-ingress acceptance is
6+
closed for this scope: tokenizer parity is covered by the vendored GB10
7+
tokenizer contract, local 100M-token Megatron indexed stress is covered by the
8+
stress harness, and full-corpus pretraining is a post-M0 concern rather than a
9+
local ingress blocker.
710

811
## Token Ingress
912

@@ -154,5 +157,8 @@ M4-vs-GB10 parity claim.
154157
tokenizer metadata match across shards; schema drift fails closed.
155158
- The Megatron indexed stress harness covers the local 100M-token ingress gate
156159
under an explicit peak-memory ceiling.
157-
- Full Stream D is still not closeable until the remaining tokenizer/full-corpus
158-
parity gates are proven.
160+
- Local Stream D data-ingress acceptance is closed for NPZ, Parquet, Megatron
161+
indexed, packing, document IDs, side-channel preservation, DataLoader bridge,
162+
data_smoke forward closure, tokenizer contract, and local 100M-token stress.
163+
- Full-corpus pretraining remains a post-M0 concern and is not claimed by this
164+
local data-ingress contract.

tests/test_data_pipeline_doc.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,19 @@ def test_data_pipeline_doc_states_ingress_packing_and_guardrails() -> None:
3030
"M0.1 tokenizer parity is already closed",
3131
"schema drift fails closed",
3232
"local 100M-token ingress gate",
33+
"local Stream D data-ingress acceptance is closed",
34+
"full-corpus pretraining is a post-M0 concern",
3335
]
3436
for phrase in required_phrases:
3537
assert " ".join(phrase.lower().split()) in normalized_text
3638

39+
stale_phrases = [
40+
"Full Stream D is still not closeable",
41+
"Full Stream D remains open",
42+
]
43+
for phrase in stale_phrases:
44+
assert " ".join(phrase.lower().split()) not in normalized_text
45+
3746

3847
def test_sequence_packing_helpers_are_public_data_exports() -> None:
3948
expected_exports = {

0 commit comments

Comments
 (0)