Skip to content

train 1121182206: #1775 (CI only) - #4410

Closed
ashhart wants to merge 5 commits into
mainfrom
lead/train-1121182206
Closed

ashhart wants to merge 5 commits into
mainfrom
lead/train-1121182206

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #1775 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

jayleaton and others added 5 commits November 21, 2026 18:22
…idol_case.py dino

The denoiser's feature1 [4101, 1280] from the SDK's 1024 x 1024 image, as idol-sdk's ImageEncoder makes it:
transformers' DINOv3ViTModel in bf16, its last_hidden_state, then F.layer_norm in fp32. Weights from the ungated
timm/vit_huge_plus_patch16_dinov3.lvd1689m (DINOv3 License), rounded to bf16 at load. Patch conv as one GEMM, class
token and four registers, 2D RoPE on the patches (transformers' fp32 periods, tables bit-equal to torch's), 32 blocks of
20 heads of 64 with LayerScale and SwiGLU, rounded where torch on MPS rounds (measured): one rounding a linear or norm,
two for SiLU times up and LayerScale with the residual, three for the rotary. The attention rounds P to bf16 itself.

idol_case.py dino pins idol-sdk's conditioning.py, transformers 5.22.1's DINOv3 files and the weights by sha256, and
writes the SDK's feature1 on MPS, a float32 CPU ruler, every block's rows and each block in float32. With --official it
proves timm's weights Meta's: 550 tensors byte for byte, feature1 bit for bit.

On the avocado: feature1 worst row against float32 0.1353 (torch 0.1686), 1 - cos 5.37e-5 (5.57e-5); every block on
torch's own input within the 2x gate; repeat byte-identical; 0.120 s an encode against the SDK's 0.261 s on MPS.
…ngelog line

Every pipeline of idol_dino.metal is registered: dn_linear_0 and dn_linear_1, dn_norm, dn_final, dn_heads,
dn_scale_add, dn_swiglu and dn_attention, each checked at transformers' bf16 points. 11 controls: a bf16 rounding
added or dropped (gate 3), fp16 sums in dn_norm and dn_final and P V rounded to bf16 each key block (gate 4), the
attention's tail keys unmasked. Gate 5 holds the 8 launches, each reserved by its source.

SUMMARY 8 kernels: 8 pass gates 1-4, 0 fail, 0 known findings; 11 controls: 11 red as planted, 0 missed; 0 limit problems
@ashhart ashhart closed this Nov 21, 2026
@ashhart ashhart reopened this Nov 21, 2026
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

Landed: #1775 as main 579450c. This PR only carried their CI.

@ashhart ashhart closed this Nov 21, 2026
@ashhart
ashhart deleted the lead/train-1121182206 branch November 21, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants