Skip to content

train 1121065835: #1858 #4303 #4305 (CI only) - #4326

Closed
ashhart wants to merge 11 commits into
mainfrom
lead/train-1121065835
Closed

ashhart wants to merge 11 commits into
mainfrom
lead/train-1121065835

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #1858 #4303 #4305 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 11 commits November 21, 2026 06:58
… pending)

Port Idol's decoders from Metal to CUDA under the same precision contract,
sharing the host steps (decode.zig now takes either decoder) and the case
driver (tf-idol-decode: idol_decode_run.zig, thin Metal and CUDA mains; the
Metal tool's gate lines, JSON and PLY are unchanged on both Mac cases).

- idol_decoder.cu: dec_embed, dec_half, dec_kv, dec_heads (MultiHeadRMSNorm
  in place, NaN norm kept), the tiled cross attention (full<64, 8>'s row
  arithmetic from query rows to the latent's keys, P rounded to nearest fp16
  as torch's CUDA kernels do) and the fp32 short form for <= 8 query rows;
  each a template whose BREAK 0 ships
- self attention reuses idol.cu's tf_idol_attention; blocks reuse its
  cuBLASLt fp16 linears, norms and gated adds; stem and head in true fp32
- admission: sm_120/sm_121 only, others refused by name
- contract: idol-decoder-contract (gates 1-4 over the six kernels and
  tf_idol_attention at anchor shapes, 13 controls as other BREAK values),
  joined to the family sets; image in contract_limits
- host tests: launch geometry, scratch sizing, contract range references

Not yet compiled with nvcc (the Linux box was unreachable): gate-5 records
and the sm_120/121 fatbin build are pending. Never run on a GPU.
@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

Stopped at #1858.

@ashhart ashhart closed this Nov 21, 2026
@ashhart
ashhart deleted the lead/train-1121065835 branch November 21, 2026 08:13
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