R4D_DIT_SEL: a per-block window shadow for the CPU-replay bisection

The first replay verdict (dev vs ref step-0 velocity) came back decorrelated
(cos -0.45, affine relFro 0.89) -- the fork is somewhere in the 50-block trunk,
and the modulation interface is EXONERATED against the checkpoint (dev_mod
cross-check: every block's cell = ada_w_block @ the step temb + bias, cos
1.0000, std ratio 1.000; weight order [video,text,audio] for stream cells
[text,audio,video]). To say WHO diverges and WHERE, declare_dit (env-gated) now
also casts the stream's first 64 rows into [L, 64, D] f32 PERSIST after every
block -- the same rows and ordering point the next block's norm reads -- and
the driver reads it back as dit_blk.f32. 69 MB, one cast op, no fingerprint
lost: the CPU harness gained the matching window stats (win64std) + ref_blkwin.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
gearwave00001andClaude committed 2026-10-21 16:57:48 -05:00
1 parent ea7a4e2d26
commit c783a7cb72
4 files changed
+46 -10

No files matched your search

+2
View File
@@ -1053,6 +1053,8 @@ typedef struct RadVideoGenDecl {
int64_t dbg_dit_temb_bytes;
rad_buf dbg_dit_mod; /* modulation table (b_modg) f32, this step */
int64_t dbg_dit_mod_bytes;
rad_buf dbg_dit_blk; /* [n_layer, DBG_ROWS, D] f32: a row window after every block */
int64_t dbg_dit_blk_bytes;
} RadVideoGenDecl;
int rad_declare_video_generator(RadBuilder* b, const RadVideoGenDecl* d);