From 830f67ead2371667a7ba24a65b1092d46c66cd20 Mon Sep 17 00:00:00 2001 From: Daniel Maddern Date: Thu, 13 Aug 2026 15:34:13 +0700 Subject: [PATCH] Record H3 sampler replay gate --- PARITY.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/PARITY.md b/PARITY.md index 7c3bc4d..c2faeb3 100644 --- a/PARITY.md +++ b/PARITY.md @@ -186,7 +186,7 @@ gate and is exact. | H3 DiT backbone | Yes | Bit-exact through all 50 blocks from the coherent assembled FL2VA input; requires the standalone Comfy Kitchen fused Q/K RMSNorm + split-half RoPE operator | | H3 final layer | Yes | Bit-exact final AdaLN, target-row modulation, and video/audio patch rows; Comfy materializes the AdaLN and output-head biases through BF16 | | H3 DiT | Yes | Strict all-block numeric parity not achieved | -| Beta/RES sampler | Yes | Exact sigma/state/update parity not demonstrated; direct preview has wrong initial audio state | +| Beta/RES sampler | Yes | H3 replay is bit-exact for all 12 captured sampler calls and RES update is bit-exact from captured denoised; direct raw-output to model-wrapper denoised conversion retains small BF16/state boundary deltas | | Video VAE decoder | Yes | No direct-versus-Comfy same-latent pixel comparison yet | | Audio VAE/decode/mux | No | Preview intentionally produces video only | | Full Ref2VA | No | References, vision conditioning, VAE encode, audio, and muxing are unimplemented | @@ -198,15 +198,12 @@ unless the checkpoint, Comfy version, prompt, or backend changes. 1. **Final video latent layout.** Compare direct `unpatchify_video` output with Comfy before entering the sampler. -2. **Sampler replay using Comfy state.** Feed `initial.pt` and captured - `sigmas` directly to the sampler. Compare video and audio denoised/update - states for all 12 saved steps. Do not test seed equality until this passes. -3. **VAE pixel gate.** Decode the identical captured final video latent in +2. **VAE pixel gate.** Decode the identical captured final video latent in direct and Comfy and compare pixels before ffmpeg. This decides whether any residual grid comes from decoder behavior. -4. **End-to-end FL2VA preview.** Generate the reference dragon only after +3. **End-to-end FL2VA preview.** Generate the reference dragon only after gates 1-8 pass. Compare its raw final latent first, then video. -5. **Feature/performance work.** Only then add audio, Ref2VA/reference paths, +4. **Feature/performance work.** Only then add audio, Ref2VA/reference paths, Sage3, CUDA graphs, and multi-GPU execution. ## Existing Tools And Their Intended Gate