QianQu's picture
Upload folder using huggingface_hub (part 4)
9af3baf verified
|
Raw History Blame Contribute Delete
923 Bytes

Decoder layer full block (L2 002)

One full Llama decoder layer: RMSNorm, grouped-query attention with RoPE and a mask, residual add, RMSNorm, SwiGLU MLP, residual add.

  • Language: CUDA C++. Entry point: main.cpp::run. Files: 17 (8,899 lines).
  • Idea: By token count: few tokens use weight-streaming tcgen05 GEMMs that convert fp32 weights to fp16 in smem, PDL-chained; many tokens use fp16 GEMMs and a tcgen05 flash attention.
  • Result: SOL score 0.597; speedup 1.26x over the benchmark's baseline (geometric mean). Public SOL-ExecBench results as of 2026-11-11.
  • Origin: search agent (Claude).
  • Comments edited; unused test helpers removed; the code that runs is identical to the scored submission.
  • Re-checked on a B200 after the edit: it builds and passes every workload of the SOL-ExecBench correctness check.
  • Generated by Claude via Amazon Bedrock. Verified on the SOL-ExecBench site; not production-ready.