Archived
77ef8f0 flipped the three ff.net.0.proj map_rows sites (dit/refiner ffn_gate_up, vae ffn_up + bias) to identity because the container bytes were "gate-second" against a gate-first CPU reference. That reference was circular: it read CONTAINER rows through comfy's gate-first `_swiglu_eager`, so it agrees with whichever order the container carries. The checkpoint's own library settles it: ff.net.0.proj is diffusers' SwiGLU (diffusers/models/activations.py, `hidden, gate = proj(x).chunk(2,-1); hidden * silu(gate)`) — VALUE first, gate second — transformer AND VAE (autoencoder_kl_minimax_h3 builds its FFNs from the same FeedForward). `silu_mul`/`gated_quant_fp8` gate with the FIRST half, so the convert must swap. The swap was load-bearing. Device evidence (task #64): every render of the identity-map container (minimax-h3-dasiwa-w8a8-gatefix.rad) — including the pinned FL2VA frame-0 — was a full-frame grid of ~16px tile-scrambled colour squares, while the original swapped container on the SAME binary renders coherent video with both pins forced (cmp45/FINAL_t2va512.mp4, FINAL_fl2va512.mp4; frames read by eye). Aggregate metrics (luma 81, clipHi 0.1%) were perfectly normal on the scrambled output — only vision caught it, and the cont.25 "device-verified" claim was metrics-only. Reverted maps verified by byte round-trip: rad-convert with the restored recipe and --reuse minimax-h3-dasiwa-w8a8.rad writes 3273/3273 tensors byte-identical to it. Kept: the R4D_DIT_SEL-gated decoder shadows + driver readback, the trailing-optional operand arity fix (43a6768), and the ABI-24 table regen (3f0f4ef) — all still valid. minimax-h3-dasiwa-w8a8-gatefix.rad stays only as the documented bad artifact; the good container remains minimax-h3-dasiwa-w8a8.rad. The fried look itself stays OPEN: the restored renders are coherent but still over-bright vs the reference. Docs cont.26 supersedes cont.25. Co-Authored-By: Claude <noreply@anthropic.com>