Gemini 4 Neon 2.30×
Harness: Antigravity · switches: YOCO_OPT_BIDIR_BCAST=1 YOCO_OPT_SKIP_FP32_ZERO_GRAD=1 YOCO_OPT_DDP_BUCKET_VIEW=1 YOCO_OPT_DDP_BUCKET_MB=600 YOCO_OPT_DDP_SUM_HOOK=1 YOCO_OPT_DDP_HOOK_L2NORM=1 YOCO_OPT_DDP_ZEROCOPY_GRAD=1 YOCO_OPT_ASYNC_HOST=1 YOCO_OPT_FAST_LIB_OPTIM=1 YOCO_OPT_FLAT_OPTIM=1 YOCO_OPT_FUSED_GRAD_NORM_SCALE=1 YOCO_OPT_OVERLAP_ADAM_P2P=1 YOCO_OPT_OVERLAP_CHUNKS=8 YOCO_OPT_SYMM_ADAM_PUSH=1 YOCO_OPT_SYMM_CHUNKS=12 YOCO_OPT_SYMM_ADAM_GRID=528 YOCO_OPT_SYMM_BF16_GRID=264 YOCO_OPT_FAST_MPU=1 YOCO_OPT_CACHE_ROPE=1 YOCO_OPT_FUSED_CE=1 YOCO_OPT_COMPILE_MODEL=1 YOCO_OPT_CUDNN_SDPA=1 YOCO_OPT_FAST_MODEL_KERNELS=1 YOCO_OPT_FUSED_RES_NORM=1 YOCO_OPT_FLASH_RETENTION=1 YOCO_OPT_INTERLAYER_FUSION=1 YOCO_OPT_CUDA_GRAPH=1 YOCO_OPT_CHAIN_CUDAGRAPH=1 YOCO_OPT_ZEROCOPY_EMBED=1 YOCO_OPT_SPARSE_EMBED_ALLREDUCE=1 YOCO_OPT_FUSED_RET_PREP=1 YOCO_OPT_CUBLASLT_TUNED=r11 YOCO_OPT_SPLIT_SELF0=1 YOCO_OPT_R9_FUSIONS=1 YOCO_OPT_SYMM_BF16_PUSH=1 YOCO_OPT_SYMM_BF16_READ_G16=1 YOCO_OPT_TAPERED_DDP_BUCKETS=3
API stalls passed the 6 h pause allowance, so the lost time was run as a continuation of the same conversation on the saved submission (26 min); the judged result is the continuation's. The time axis leaves out the held time of both segments.
- Judged
- 2.30×
- Tier
- N1
- Self-best
- 2.42×
- Rounds
- 11
- Hours
- 10.0
- API cost
- $81.5
- Input tokens · 97.9% cached
- 270 M
- Output tokens
- 1.7 M
- Requests
- 967
- Cross-GPU exchange via CUDA IPC + copy engine (no SMs)
- partial: weight exchange left NCCL, but via PyTorch SymmetricMemory with the Adam kernel writing straight into the peer (uses SMs): round 5
YOCO_OPT_SYMM_ADAM_PUSHpushes fp32, 1.866× → 1.985×; round 10YOCO_OPT_SYMM_BF16_PUSHpushes bf16 weights only, full check 2.19× → 2.29×. Copy engine (cudaMemcpyPeerAsync) measured 207 ms in round 5 (fell back to PCIe), dropped; grad all-reduce still NCCL (own symmetric-memory all-reduce 195 GB/s vs NCCL 297 GB/s) - Forward / backward CUDA graph
- ✓ round 7
YOCO_OPT_CUDA_GRAPH, one forward + backward graph per layer for 13 Self and 13 Cross layers (−2.05 ms/step standalone), with three small changes 2.083× → 2.109×; round 8YOCO_OPT_CHAIN_CUDAGRAPHchains them in one memory pool, graph-boundary copies 1.31 → 0.11 ms - Newer cuBLAS
- ✓ round 4 candidate env moved to torch 2.8 + cu128 (cuBLAS 12.8.4.1, cuDNN 9.10), whole env upgrade 1.682× → 1.768×; later
YOCO_OPT_CUBLASLT_TUNEDpins deterministic cuBLASLt algorithms for some shapes (rounds 8, 9, 11) - Retention / attention kernel swap
- ✓
YOCO_OPT_CUDNN_SDPAcuDNN SDPA (13 layers 6.44 → 3.85 ms): in round 4 the switch silently disabled itself and FA2 still ran; found in the round 5 profile and fixed, with hand-written RMSNorm / RoPE / SwiGLU 1.770× (full check) → 1.866×; round 7YOCO_OPT_FLASH_RETENTIONcustom Triton kernel fusing cross and inner (13 layers 5.36 → 1.82 ms standalone); round 9 fuses the whole GatedRetention into one compiled node - Other main levers
- round 2 fused grad norm and scaling, Adam and weight exchange pipelined in 8 chunks, 1.17× → 1.40× (N0); round 3 regional
torch.compile+ fused cross-entropy + Megatron wrappers bypassed, full check 1.40× → 1.66×; round 5 hand-written sm_90 RMSNorm / RoPE / SwiGLU; round 6 dW written straight into DDP buckets (YOCO_OPT_DDP_ZEROCOPY_GRAD) plus two others, full check 1.98× → 2.06×; round 8 embedding grads as a 12.6 MB AllGather (2.25 ms → 80 µs); round 11 Adam reads bf16 grads (−0.85 ms)
Raw work log13 sections
-6.6 hRound 1: Baseline Profile + Communication / Host Sync / Dead-Work / DDP Layout (N0)
- Start: 2026-11-19 19:25 UTC ### Baseline Profile Findings (/tmp/r1/profile, 5 updates after warmup 5) - Instrumented window: 1.407 s / 5 updates (~253 ms/iter steady state, 236.4 ms uninstrumented); GPU busy fraction 77%. - Kernel time by category (5 iters, rank 0, total 1,263.8 ms): 1. NCCL: 385.4 ms (30.5%) —AllReduce_Sum_bf16196.6 ms (595 calls = 119/iter, mostly overlapped with backward, ~4.2 ms exposed) +Broadcast185.4 ms (10 calls = 2/iter, 37.1 ms/iter 100% exposed, serial unidirectional rank 0 then rank 1!). 2. GEMM: 329.1 ms (26.0%, 65.8 ms/iter) — forward ~19.5 ms, backward ~45.7 ms. 3. Memcpy/Cast: 219.6 ms (17.4%, 43.9 ms/iter) —_sync_fp16_grads_to_fp32(10.3 ms/iter),_sync_fp32_params_to_fp16(10.1 ms/iter),Memcpy DtoDin backward DDP bucket copies (5.3 ms/iter),zero_gradonp32.grad(3.9 ms/iter), model copies/casts. 4. Elementwise: 153.8 ms (12.2%, 30.8 ms/iter) —_unscale_grads(multiply_grads, 12.2 ms/iter across 240 separate kernels!) + model RMSNorm/GateRetention/SwiGLU/residual ops. 5. Optimizer (multi_tensor): 91.4 ms (7.2%, 18.3 ms/iter) —AdamFunctor(14.3 ms/iter) +L2NormFunctor(4.0 ms/iter). 6. Flash-Attention: 29.8 ms (2.4%, 6.0 ms/iter) — fwd 1.6 ms + bwd 4.3 ms. 7. Reduce: 19.2 ms (1.5%); Triton: 13.8 ms (1.1%); SwiGLU jiterator: 11.1 ms (0.9%); Loss (log_softmax): 8.8 ms (0.7%). - Host / CPU launch & sync bottlenecks: -forward: GPU 31.6 ms vs CPU 53.1 ms (self_decoder36.3 ms CPU vs ~22 ms GPU -> ~15+ ms pure GPU idle bubbles from eager Python dispatch!). - 4 major CUDA syncs per step (~80 ms CPU wait):all_reduce_dict+bool(sample_size)(1.8 ms),_check_grad_norms+isfinite(9.7 ms),OSS._broadcast_paramstorch.cuda.synchronize()(23.4 ms),_reduce_and_log_stats.item()/is_nonzero(44.7 ms). - Hotspot classification: - Serial OSS broadcast +cudaDeviceSynchronize: Kind 2/3 (Communication + Host sync). - DDPgradient_as_bucket_view=False(Memcpy DtoD5.3 ms) & 25MB buckets: Kind 2 (Configuration). -zero_gradzeroingp32.gradbefore full overwrite: Kind 3 (Dead work). - Per-step host syncs inTrainer: Kind 2/3 (Host syncs).
-6.6 hRound 1 Changes (`yoco/models/opt_patches.py`)
-YOCO_OPT_BIDIR_BCAST=1: Replace serial OSSdist.broadcast+torch.cuda.synchronize()with simultaneous bidirectionaldist.batch_isend_irecvfor 2-rank NCCL. -YOCO_OPT_SKIP_FP32_ZERO_GRAD=1: Skip deadp32.grad.zero_()inFP16Optimizer.zero_grad(). -YOCO_OPT_DDP_BUCKET_VIEW=1+YOCO_OPT_DDP_BUCKET_MB=200: Enablegradient_as_bucket_view=Trueand 200 MB DDP buckets. -YOCO_OPT_ASYNC_HOST=1: Single non-blockingall_reducefor step stats,torch.whereforsample_sizewithoutbool(tensor), deferred pinned-memory NaN/consistency check, log-interval metric.item()sync.
-6.6 hRound 1 Results
- End: 2026-11-19 19:43 UTC -time(/tmp/r1/time/time.json):0.2009 s/update(20,385 tok/s, windows[2.009, 2.009], range0.0001),speedup_vs_frozen_reference = 1.1747(beyond noise), peak mem61.75 GiBalloc /62.24 GiBreserved. -check --quick(/tmp/r1/quick/check.json):PASS(N0, 9616/9616 tensors bitwise identical, 0 errors). - Commit:6840172on branchopt. ---
-6.2 hRound 2: Fused Optimizer Pipeline + Overlapped Chunked Adam / Bidir P2P / FP32->BF16 (N0)
- Start: 2026-11-19 19:44 UTC - Profile of Round 1 (/tmp/r2/profile,0.2261 s/updateinstrumented, GPU busy 84%): - Optimizer + grad pipeline = 69.9 ms/iter (35% of step):_sync_fp16_grads_to_fp32(10.3 ms) +L2Norm(4.0 ms) +_unscale_grads(12.2 ms) +Adam(14.3 ms) +SendRecv(19.0 ms) +_sync_fp32_params_to_fp16(10.1 ms). - Also caught a 16.7 ms pageable HtoD sync fromsample_size.new_tensor(numer)inmultiply-grads. - Changes (yoco/models/csrc/yoco_fast_optim/, installed in/opt/candidate-env, wired inyoco/models/opt_patches.py): - Fixedsample_size.new_tensor(numer)->torch.full_like(sample_size, numer). -YOCO_OPT_FUSED_GRAD_NORM_SCALE=1: Compute L2 norm directly on bf16 grads viaamp_C.multi_tensor_l2norm(bitwise equal to fp32); fuse_sync_fp16_grads_to_fp32+_unscale_gradsinto vectorized sm_90 CUDA kernelyoco_fast_optim.multi_tensor_bf16_scale_to_fp32(3.66 TB/s, bitwise equal); replace_sync_fp32_params_to_fp16with vectorizedyoco_fast_optim.multi_tensor_fp32_to_bf16(3.87 TB/s, bitwise equal). -YOCO_OPT_OVERLAP_ADAM_P2P=1+YOCO_OPT_OVERLAP_CHUNKS=8: Split each rank's OSS ParamBucket into 8 contiguous chunks (smaller first chunk so NVLink starts <1 ms); pipeline Apexmulti_tensor_adam+ localfp32->bf16on compute stream, bidirectionalbatch_isend_irecvon NCCL stream, and peerfp32->bf16on dedicatedbf16_stream. - Results: - End: 2026-11-19 20:00 UTC -time(/tmp/r2/time/time.json):0.1688 s/update(24,265 tok/s, windows[1.688, 1.688], range0.0003),speedup_vs_frozen_reference = 1.3981, peak mem61.75 GiBalloc /62.24 GiBreserved. - Fullcheck(/tmp/r2/check/check.json):PASS(N0, 9616/9616 tensors bitwise identical, trajectoryequivalentwithin 0.72σ,speedup = 1.3956,0.1691 s/update). - Commit:7c026cdon branchopt;/submission/switches.jsonpromoted. ---
-5.8 hRound 3: Fast MPU Bypass + Cached RoPE + Fused Triton CrossEntropy + Regional Functional `torch.compile` (N1)
- Start: 2026-11-19 20:00 UTC - Profile of Round 2 (/tmp/r3/profile,0.1967 s/updateinstrumented, GPU busy 80%, 0 host syncs): - Forward + backward = ~130 ms of the 168.8 ms step (77%): forward 31.7 ms GPU vs 53.2 ms CPU (21.5 ms CPU launch bubbles, especiallyself.mixer143.5 ms CPU / 5 iters), 67 eager RMSNorms, 198 Megatron MPU autograd wrappers, eager CrossEntropy (~3.2 ms + 1.6 GiB). - Microbenchmarks: - Fused Triton CE (bf16logits, exactfp32online LSE):3.175 ms -> 0.411 ms(7.72× faster, -2.76 ms/iter, rel grad L22.1e-7). - Merged FFN GEMMs (2048×3072 @ 3072×16384): slower than separate (0.300 msvs0.286 mson cuBLAS 12.1) -> keptYOCO_OPT_MERGE_PROJ=0. - Changes (yoco/models/opt_model.py): -YOCO_OPT_FAST_MPU=1: Bypass MegatronColumnParallelLinear/RowParallelLinear/VocabParallelEmbeddingautograd wrappers & vocab mask whenmodel_parallel_size == 1(N0). -YOCO_OPT_CACHE_ROPE=1: Cache(cos, sin)rotary tensors inSelfDecoder/CrossDecoder(N0). -YOCO_OPT_FUSED_CE=1: Fused Triton CrossEntropy directly onbf16logits with exact fp32 online log-sum-exp (N1). -YOCO_OPT_COMPILE_MODEL=1: Functional regionaltorch.compile(5 shared graphs:_self_layer×13 withtorch.librarycustom op forChunkGateRecurrent,_cross_kv_and_q0,_cross_between×12,_cross_tail,_final_norm;torch._dynamo.config.optimize_ddp = Falseto preserve layer-by-layer DDP overlap and support custom autograd ops; pure PyTorch fused rotary + SwiGLU + causal mask without-inf). - Results: - End: 2026-11-19 20:22 UTC -time(/tmp/r3/time/time.json):0.1417 s/update(28,914 tok/s, windows[1.419, 1.414], range0.0036),speedup_vs_frozen_reference = 1.6655, peak mem58.86 GiBalloc /59.87 GiBreserved (-2.9 GiB vs baseline). - Fullcheck(/tmp/r3/check/check.json):PASS(N1, 0 exact failures, trajectoryequivalent,speedup = 1.6596). - Commit: Round 3 committed on branchopt;/submission/switches.jsonpromoted. ---
-5.0 hRound 4: ABI-Independent Fused AdamW+BF16 + DDP Sum-Only Hook + PyTorch 2.8.0+cu128 + cuDNN 9.10 FA3 SDPA (N1)
- Start: 2026-11-19 20:22 UTC - Profile of Round 3 (/tmp/r4/profile,0.1417 s/update, GPU busy 99.5%, only 0.67 ms/iter GPU gaps): - Model GEMMs: 65.4 ms (sm90_xmmacuBLAS 12.1 60.5 ms +cutlass_80bmm 2.8 ms). - Optimizer pipeline: 36.1 ms (bf16_l2norm2.9 ms +bf16_scale_to_fp325.6 ms + overlappedAdam/SendRecv/fp32->bf1627.6 ms). - Redundant DDPdiv_(2.0)on 3.4B bf16 grads: 4.88 ms/iter (mostly overlapped with backward, ~0.4 ms exposed). - FlashAttention (CrossAttention×13, FA2 2.6.3): 6.8 ms. - Model Triton/Inductor kernels: ~15 ms. - Exposed DDP AllReduce: ~6-8 ms (26.8 ms total). - Changes: - Built ABI-independent pure-CUDA sm_90 libraryyoco/models/csrc/yoco_fast_optim/libyoco_fast_optim.so+ ctypes wrapperyoco/models/_fast_optim_lib.py(multi_tensor_bf16_l2normat 3,806 GB/s,multi_tensor_adamw_fp32_bf16_outat 3,667 GB/s fusing localfp32->bf16write into AdamW, zero Apexamp_Cdependency). -YOCO_OPT_FAST_LIB_OPTIM=1(yoco/models/opt_patches.py):YocoFusedAdammatchingFusedAdamV2(adam_w_mode=1,bias_correction=True) + fused local bf16 write inside chunked Adam/P2P overlap. -YOCO_OPT_DDP_SUM_HOOK=1: Sum-only DDP comm hook skipping redundantdiv_(2.0)+numer = 1.0inmultiply-grads. - Upgraded/opt/candidate-envtotorch==2.8.0+cu128,torchvision==0.23.0+cu128,triton==3.4.0,flash-attn==2.8.3(preservingflash_attn_interface._flash_attn_backwardsignature + dispatch for Gate 2deterministic_flash_attn()),cublas <ip>,cudnn <ip>,nccl 2.27.3(keepingnumpy==1.23.0from/opt/yoco-env). - Removed unused: Optional[tl.tensor]annotation on_fwd_recurrenceinyoco/models/decoder/kernel/gate_recurrent.pyfor Triton 3.4 compatibility. -YOCO_OPT_CUDNN_SDPA=1(yoco/models/opt_model.py): Single shared compiled_cross_layer_sdpausingF.scaled_dot_product_attention(..., is_causal=True, enable_gqa=True)withSDPBackend.CUDNN_ATTENTION(Hopper FA3, BSHD strided zero-copy view: 6.44 ms -> 3.85 ms across 13 layers, 0 graph breaks), automatically falling back toflash_attn_funcwhentorch.are_deterministic_algorithms_enabled(). - Results: - End: 2026-11-19 21:08 UTC - Round 4A (PyTorch 2.3 +DDP_SUM_HOOK+FAST_LIB_OPTIM):time(/tmp/r4/time_r4a/time.json)0.1403 s/update(1.6821×; confirmed overlapped Adam+P2P is NVLink-bound at 19.5 ms with chunk skew!). - Round 4B (PyTorch 2.8+cu128 +CUDNN_SDPA):time(/tmp/r4/time_r4b/time.json)0.1335 s/update(1.7678×, 30,671 tok/s). - Fullcheck(/tmp/r4/check/check.json):PASS(N1, 0 exact failures, trajectoryequivalentwithin-1.02σacross all 6 endpoints,speedup = 1.7704,0.1333 s/update, median0.1324 s/update,30,728 tok/s, peak mem58.83 GiBalloc). - Commit:799b3fdon branchopt;/submission/switches.jsonpromoted. ---
-4.0 hRound 5: cuDNN FA3 SDPA Fix + sm_90 CUDA RMSNorm/RoPE/SwiGLU + PyTorch SymmetricMemory Fused AdamW+NVLink Push (N1)
- Start: 2026-11-19 21:10 UTC - Profile of Round 4 (/tmp/r5/profile,132.61 mssteady-state GPU span): - Critical path: Forward 24.87 ms + Backward 70.72 ms (incl. 4.24 ms242× Memcpy DtoDin DDPreducer::copy_) +bf16_l2norm1.83 ms +bf16_scale_to_fp325.66 ms + Overlapped Adam+SendRecv+peer_bf16 29.52 ms! - Caught 3 huge wins: 1.YOCO_OPT_CUDNN_SDPA=1had silently disabled itself (inspect.signatureraisedValueErroron C++ builtinF.scaled_dot_product_attention), so CrossAttention was still running FA2 2.8.3 (6.76 ms/iter) + 12 graph breaks instead of cuDNN 9.10 Hopper FA3 (3.84 ms/iter). 2. InductorRMSNormbackward weight-grad reductions (5.54 ms/iter,0.215 msstandalone × 52 = 11.2 ms) andRoPE(0::2slice_backward +clone_3,0.199 ms× 40 = 8.0 ms) andSwiGLU(4.9 ms) were 6-9× slower than Hopper roofline. 3. Overlapped AdamW + NCCL SendRecv serialized/contended on HBM/SMs (29.52 msvs18.58 mspure NCCL P2P). - Negative / screened directions: -cudaMemcpyPeerAsynchardware DMA over CUDA IPC fell back to PCIe (207.37 msvs18.58 msNVLink SM P2P) -> discarded. - Persistent-grid SM partitioning of AdamW (grid=64..132) with NCCL SendRecv stayed at30.65-36.56 ms-> discarded in favor of fusedSymmetricMemoryNVLink push! - Changes: - Fixed_sdpa_ctxversion check inyoco/models/opt_model.py(torch.__version__ >= (2, 5)), activating single-graph_cross_layer_sdpa+cudnn_generated_fort_native_sdpa_sm90_flash_*_wgmma(3.80 ms across 13 layers). -YOCO_OPT_FAST_MODEL_KERNELS=1(yoco/models/csrc/yoco_fast_optim/yoco_fast_optim_c.cu+opt_model.pytorch.librarycustom ops): - sm_90 1-pass 384-threaduint4rms_norm_3072(fwd bitwise identical to upstream(xf*rstd).to(bf16)*w, 100% deterministic 2-stagedwbwd:0.215 ms -> 0.032 ms, 6.7× faster) +rms_norm_128_noweight(0.187 -> 0.022 ms, 8.7× faster). - sm_90uint4rope_interleaved_128with fusedBSHD <-> BHSDtranspose (0.199 -> 0.022 ms, 9.1× faster, bitwise identical). - sm_90uint4swiglu_bf16(0.188 -> 0.078 ms, 2.4× faster). - Added__stcsstreaming stores tobf16_scale_to_fp32,fp32_to_bf16(fixed stride-1 coalescedfloat4 -> uint2), andadamw_nvlink_push. -YOCO_OPT_SYMM_ADAM_PUSH=1+YOCO_OPT_SYMM_CHUNKS=4(yoco/models/opt_patches.py): Replaces OSSpeer_bucket.bufferwithtorch.distributed._symmetric_memory(rendezvous+ hardwarebarrier), fuses direct NVLinkfp32push into sm_90adamw_nvlink_pushacross 4 exact 8-elem-aligned equal chunks pipelined withbf16_streampeer cast (29.52 ms -> ~21 ms, zero chunk skew, -6.5 GiB peak memory!). - Results: - End: 2026-11-19 22:07 UTC - Round 5A (CUDNN_SDPA+FAST_MODEL_KERNELS):time(/tmp/r5/time_r5a/time.json)0.1265 s/update(1.8656×, -6.8 ms/iter). - Round 5B (+SYMM_ADAM_PUSH=1,SYMM_CHUNKS=4):time(/tmp/r5/time_r5b/time.json)0.1189 s/update(median0.1180,1.9849×,34,438 tok/s, peak mem52.30 GiBalloc; beatSYMM_CHUNKS=1at0.1194 s/update). - Fullcheck(/tmp/r5/check/check.json):PASS(N1, 0 exact failures, fewer numerical violations than R4:1555vs1883, trajectoryequivalentwithin-0.055σ .. -1.041σ,speedup = 1.9799,0.1192 s/update). - Commit:ff0d45bon branchopt;/submission/switches.jsonpromoted. ---
2.6 hRound 6: Zero-Copy DDP Bucket-View dW, Overlapped DDP Hook L2 Norm, & Fused Residual-RMSNorm / Subln-Transpose / Scaled-RoPE
- Start: 2026-11-19 22:18 UTC - Profile diagnosis (/tmp/r6/profile): - Round 5 steady-state iter119.22 ms: Forward23.02 ms, Backward67.01 ms(incl.4.63 ms/268×Memcpy DtoDin DDPreducer::copy_), exposedbf16_l2norm1.74 ms,bf16_scale_to_fp325.74 ms(35flushes),adamw_nvlink_push+peer_fp32_to_bf1621.59 ms. - Changes: -YOCO_OPT_DDP_ZEROCOPY_GRAD=1(yoco/models/opt_model.py,yoco/models/opt_patches.py): Captures permanent DDP bucket views after step 1 (rebuild_buckets()), writesdW = torch.mm(dy.T, x, out=v)directly into bucket viewv = bv.view_as(bv)(single-ref TensorImpl so PyTorchAccumulateGradstealsvwith zero clone and DDPreducer::copy_is skipped). Initial bug returning cachedbv(refcount > 1) doubled DtoD memcpys (8.57 ms,0.1214 s/update); fixing tobv.view_as(bv)cut step time by-6.7 ms. -YOCO_OPT_DDP_HOOK_L2NORM=1(yoco_fast_optim_c.cu,_fast_optim_lib.py,opt_patches.py): Computes deterministic 2-stage per-bucketsum_sqon a dedicatedl2_streaminside DDP's sum-only comm hookfut.then(...), completely hiding1.74 msofbf16_l2normbehind backward/AllReduce (0.05 msexposed gap). -YOCO_OPT_FUSED_RES_NORM=1(yoco_fast_optim_c.cu,_fast_optim_lib.py,opt_model.py): Fusedadd_rms_norm_3072_fwd/bwd(intra-layer residual+norm2),rms_norm_128_nw_bhsd_to_bshd_fwd/bwd(subln + layout transpose), andrope_interleaved_128_scaled(head_dim**-0.5fused into SelfDecoder K RoPE). - SplitCHUNK_SIZE_SCALE=524288forbf16_scale_to_fp32(5.74 ms -> 5.50 ms) while keepingCHUNK_SIZE=131072foradamw_nvlink_push+fp32_to_bf16(524288 caused tail-wave imbalance onadamw_nvlink_push). - Results: - End: 2026-11-20 04:48 UTC -time(/tmp/r6/time_r6b/time.json):0.1147 s/update(median0.11375 s,2.0575×,35,699 tok/s, peak reserved mem52.72 GiB). - Fullcheck(/tmp/r6/check_r6/check.json):PASS(N1, 0 exact failures,1564diagnostic violations, trajectoryequivalentwithin-0.050σ .. -1.291σ,speedup = 2.0593,0.1146 s/update,35,730 tok/s). - Commit:552ebe3on branchopt;/submission/switches.jsonpromoted. ---
3.4 hRound 7: Fused Triton FlashRetention (Cross+Inner), Inter-Layer Add+RMSNorm Fusion, Persistent Streaming Optimizer, & Per-Layer CUDA Graphs
- Start: 2026-11-20 04:49 UTC - Screening & microbenchmarks: -cuBLASLt12.8 64-algo probe on Hopper: default heuristics already near-optimal (best vs default saves ~1.2 ms/iter on zero data); mergedQKVG(3072 -> 12288) beats 4 separate projections by1.13 ms/iter. - NCCL channel/proto/algo sweep (MAX_NCHANNELS=2..32,Simple,NVLS) with 2:1 compute:comm overlap: default 24 channels is global optimum (60.66 msvs61.49 msat 32ch,62.53 msat 16ch,71.28 msat 8ch);NVLSunsupported on 2-GPU direct NVLink; custom remote-readSymmetricMemoryAllReduce reached only195 GB/svs NCCL297 GB/s-> kept NCCL default. - Coalesced stride-1float4streaming__ldcs/__stcsoptimizer microbenchmark:bf16_scale_to_fp325.26 ms(3.88 TB/s),adam4+f2b(G=528x256)20.07 ms(339 GB/seff NVLink). - DiagnosedFlashInnerChunkdkbug (rel_L2=1.8e-2, max_abs=101.6): Triton 3.4 Hopper codegen bug specific toBM=32, BN=64transposed dot;BM=64, BN=32is exact (rel_L2=2.35e-3vsfp64, more accurate than PyTorch bf16 ref2.83e-3!). Fusingcross = q_scaled @ S_state+ causalinner_chunkintoFlashRetentionChunkcut 13-layer retention from5.36 ms -> 1.82 ms(-3.54 ms/iterstandalone!). - Manual per-layerCUDAGraphmicrobenchmark on compiled Self/Cross layers:-2.05 ms/iterstandalone (verified0.0bitwise identical with zero-copy DDP on 2 GPUs). - Changes: -YOCO_OPT_FLASH_RETENTION=1(yoco/models/opt_model.py): Fused Triton 3.4FlashRetentionChunk(BM=64, BN=32, w=4, s=4/3/3) combiningcross_chunk+inner_chunk, with direct 5Dvstrides eliminating26×v.contiguous()copies (0.48 ms). -YOCO_OPT_INTERLAYER_FUSION=1(yoco/models/opt_model.py): Residual-carry(fc2_out, residual2)across all 25 inter-layer boundaries (Self 0..12 -> Cross KV -> Cross 0..12 -> FinalNorm), eliminating all52×standalone residual adds (inductor_triton2.29 ms -> 0.57 ms). -YOCO_OPT_FLAT_OPTIM=1(yoco_fast_optim_c.cu,_fast_optim_lib.py,opt_patches.py): Single-launch persistent-descriptor streaming__ldcs/__stcskernels (bf16_scale_to_fp32_desc: 1 launch5.34 ms,adamw_nvlink_desc:19.48 ms,fp32_to_bf16_descon high-prioritybf16_streamwithgrid=264overlapped /grid=1056solo on final chunk,YOCO_OPT_SYMM_CHUNKS=8beating4by-0.7 ms). Verified0.0bitwise identical to multi-tensor kernels. -YOCO_OPT_CUDA_GRAPH=1(yoco/models/opt_model.py,opt_patches.py): Manual per-layerCUDAGraphcapture (step 2, capturing fwd+bwd outside DDP/backward using detached weight views writing directly into permanent DDP bucket views) & replay for all 13SelfDecoderlayers and all 13CrossDecoderSDPA layers. - Results: - End: 2026-11-20 05:33 UTC - Round 7A (FLASH_RETENTION+INTERLAYER_FUSION+FLAT_OPTIM):time(/tmp/r7/time_r7a/time.json)0.1133 s/update(median0.1122 s,2.0830×, steady-state GPU trace111.54 ms, peak alloc51.39 GiB). - Round 7B (+CUDA_GRAPH, zero-copyvstrides, high-prioritybf16_stream,SYMM_CHUNKS=8):time(/tmp/r7/time_r7b/time.json)0.1119 s/update(median0.11035 s,2.1090×,36,596 tok/s; beatSYMM_CHUNKS=4at0.1126 s). - Fullcheck(/tmp/r7/check_r7/check.json):PASS(N1, 0 exact failures,1554diagnostic violations, trajectoryequivalentwithin-0.080σ .. -1.874σ,speedup = 2.1034,0.1122 s/update,36,518 tok/s, peak alloc51.39 GiB). - Commit:6feced2on branchopt;/submission/switches.jsonpromoted. ---
6.3 hRound 8: Zero-Copy Chained CUDAGraphs, Sparse 2-Rank Embedding AllGather+Scatter, Tuned Forward cuBLASLt, Fused GateRetPrep, Split Self[0], & SM-Balanced Symmetric AdamW
- Start: 2026-11-20 05:35 UTC - Profile diagnosis & microbenchmarks: - Round 7 steady-state GPU span109.89 ms: Forward22.7 ms, Backward61.4 ms(incl.1.86 msexposed tail ofbucket #23+616 MBembed_tokensAllReduce2.25 ms+1.31 ms/185×CUDAGraph boundaryMemcpy DtoD),bf16_scale_to_fp325.34 ms,adamw_nvlink+peer_fp32_to_bf1620.70 ms. - Hardware ceiling checks on 2×Hopper: HBM3e3,880 GB/s, bidir NVLink 4.0365 GB/seach way (6.89 GBfp32 push physical limit =18.88 ms). Tuningadamw_nvlink_descfromgrid=528down togrid=264(2 CTAs/SM) +SYMM_CHUNKS=12left SM slots open for concurrentfp32_to_bf16_desc(grid=264), cutting optimizer sync from20.70 -> 19.70 ms(-1.00 ms). - Screened realrandnbf16 GEMM traps: mergedQKVG(3072 -> 12288) withcatwas-0.30 msslower; mergedFFN(3072 -> 16384) was1.35 ms/iterslower than separate tunedfc1+gate; backwardcuBLASLt128×128tiles regressed+0.5..0.9 msunder NCCL contention -> restrictedcuBLASLttuning to forward-only (fc1/gate fwd(184,35,5)+lm_head fwd(197,35,5)). - Screened DDP bucket & NCCL/P2P tradeoffs:DDP_BUCKET_MB=100(0.1096 s) was slower than200(0.1089 s), whileDDP_BUCKET_MB=300+SPLIT_SELF0=1hit0.1087 s;NCCL_MIN_NCHANNELS=32regressed to0.1093 s; custom 1-shot P2P & DMA AllReduce were slower than NCCL under concurrent 132-CTA GEMMs;YOCO_OPT_EAGER_SELF0=1(0.1090 s) did not firebucket #23early because_self_layer_firstremained a singleAOTAutogradnode -> superseded byYOCO_OPT_SPLIT_SELF0=1. - Changes: -yoco/models/csrc/yoco_fast_optim/yoco_fast_optim_c.cu&yoco/models/_fast_optim_lib.py: - Bumpedrms_norm_3072_bwd&add_rms_norm_3072_bwdstage 1 to256CTAs (-0.36 ms) and parallelizedrms_norm_3072_bwd_stage2_kernelto96 CTAs × 256 threads(0.387 -> <0.13 ms). - Replacedexpfwith__expf+__frcp_rninswiglu_bf16_fwd/bwd(-0.21 ms). - Added deterministic zero-atomic 2-rank sparse embedding kernels (embedding_zero_rows_bf16_3072,embedding_bwd_scatter_2rank_sumsq_3072,embedding_sparse_scale_fp32_3072, bitwise exact0.0vs dense). - Added fused sm_90 warp-scangate_ret_prep_fwd&gate_ret_prep_bwd(logsigmoid/16 + cumsum-256 + cross_decay + v_scaled). - Added ABI-freedlopen("libcublasLt.so.12")deterministic (splitK=1, red=0, static 4 MiB workspace, CUDAGraph-safe)launch_cublaslt_bf16_mm. -yoco/models/opt_patches.py: -YOCO_OPT_SYMM_CHUNKS=12,YOCO_OPT_SYMM_ADAM_GRID=264,YOCO_OPT_SYMM_BF16_GRID=264(-1.00 msoptimizer sync); batched 6-double DtoH transfer onlog_intervalsteps. -YOCO_OPT_SPARSE_EMBED_ALLREDUCE=1: Splits final DDP bucket intodense_slice+embed_slice, launches12.6 MBAllGatherfirst (80 usvs2.25 ms616 MBAllReduce!), overlaps deterministicsort(stable=True) + scatter_2rank_sumsqonembed_streamconcurrently withdense_sliceAllReduce, and runs sparseembed_tokensbf16_scale_to_fp32(5.34 -> 4.88 ms). -yoco/models/opt_model.py: -YOCO_OPT_CHAIN_CUDAGRAPH=1: Captures all stages in one shared pool chainingsdyn -> prev soutsandsdouts -> next sgradszero-copy (Memcpy DtoD1.310 -> 0.114 ms, peak reserved mem55.99 -> 52.26 GiB). -YOCO_OPT_ZEROCOPY_EMBED=1,YOCO_OPT_FUSED_RET_PREP=1,YOCO_OPT_CUBLASLT_TUNED=fwd, andYOCO_OPT_SPLIT_SELF0=1(splitsSelf[0]into_self0_mixer+_self0_ffnsoSelf[0]FFN firesAccumulateGrad0.95 msearlier, shrinking backward exposed tail from1.86 -> 0.78 ms). - Results: - End: 2026-11-20 08:25 UTC -time_r8b(200 MB, noSPLIT_SELF0):0.1089 s/update(2.1671×, median0.1074 s). -time_r8f(300 MB+SPLIT_SELF0=1):0.1087 s/update(2.1711×,window_range = 0.0008,37,688 tok/s). - Fullcheck(/tmp/r8/check_r8/check.json):PASS(N1, 0 exact failures,1553diagnostic violations, trajectoryequivalentwithin-0.0025σ .. -0.938σ,speedup = 2.1711,0.1087 s/update,37,680 tok/s, peak alloc51.39 GiB/ reserved52.26 GiB). - Commit: Round 8 committed on branchopt;/submission/switches.jsonpromoted. ---
7.2 hRound 9: In-Place Multi-Projection Backward (`DualLinear`/`PentaLinear`), Full Fused `GatedRetention`, Zero-Copy RMSNorm `dw`, Streaming 384-CTA RMSNorm/SwiGLU, & 600 MB DDP Buckets
- Start: 2026-11-20 08:27 UTC - Profile diagnosis & microbenchmarks: - Round 8 steady-state GPU span106.54 ms: GEMMs65.03 ms(17.07 msfwd @754 TFLOPS+48.56 msbwd @530 TFLOPS),adamw_nvlink19.28 ms(wire limit18.88 ms),bf16_scale_to_fp324.88 ms(HBM limit4.85 ms),Cross SDPA3.98 ms,RMSNorm2.34 ms,FlashRetention2.26 ms,SwiGLU2.25 ms. - Correlated every backward GEMM against NCCL +bf16_sum_sq_stage1overlap and wall-clock time: identified 700W TDP clock throttling (1980 -> 1710 MHzduring denseCrossbackward) and mid-backward256-CTAbf16_sum_sq_stage1SM collisions (+120..160 usper collided GEMM). - ScreenedYOCO_OPT_DDP_HOOK_L2NORM=0(0.1089 s: sequentialmulti_tensor_bf16_l2norm1.66 msnearly cancelled-1.46 mssaved in backward),YOCO_OPT_BWD_SM_TARGET=96/116(96=0.1086 s/0.1082 swith R9, neutral vs0;116=0.1091 s),SYMM_CHUNKS=8 + SYMM_TAIL_PCT=3(0.1114 s, regressed),FlashRetentiontl.math.exp2(max_err=8.0, rejected), and DDP bucket sweep (300 -> 400 -> 600 -> 1020 MB:0.1081 -> 0.1078 -> 0.1073 -> 0.1081 s, global optimum at600 MB). - Standalone microbenchmarks of Round 9 kernels:DualLinearin-placeaddmm(-0.388 ms, zeromemcpy128),PentaLinear5-way in-placeaddmm(-0.200 ms,-1.25 GBHBM traffic),add_rms_norm_3072_bwd384 CTAs +__ldcs/__stcs(23.80 -> 19.90 us,-0.20 ms),_bwd_recurrence_nolast(70.33 -> 47.55 us,-0.30 ms, bitwise exact),cuBLASLt(20,35,3)ondX_3k/dX_fc2(-0.32 mssolo & concurrent with NCCL). - Changes: -yoco/models/csrc/yoco_fast_optim/yoco_fast_optim_c.cu&yoco/models/_fast_optim_lib.py: - Added__ldcs/__stcsstreaming loads/stores toswiglu_bf16_fwd/bwdandadd_rms_norm_3072_bwd_stage1, bumpedrms_norm_3072_bwd&add_rms_norm_3072_bwdto384CTAs, and supported optional pre-allocateddw_out. - Added optionaldv_add_infusion intogate_ret_prep_bwd_kernel(bitwise exact). - Addedbetasupport (launch_cublaslt_bf16_gemm) to our ABI-free deterministiccuBLASLtdispatcher. -yoco/models/opt_model.py: -YOCO_OPT_R9_FUSIONS=1: -_BucketDualLinear(fc1+gate, 26×): in-placetorch.addmm(dx, d2, w2, out=dx)eliminating all26× memcpy128(-0.25 ms, bitwise exact). -_BucketPentaLinear(q,k,v,g,gt, 13×): 5-way in-placeaddmmeliminating all13× triton_poi_fused_add_add_rms_norm(-0.25 ms). -_CompiledFullGatedRetention+_bwd_recurrence_nolast(13×): fusesGateRetPrep + kv_bmm + ChunkGateRecurrent + FlashRetentionBSHDusing in-placetorch.baddbmmfordk(eliminating13× triton_poi_fused_rope_128_scaled_1), fuseddv_addingate_ret_prep_bwd(eliminating13× triton_poi_fused_add_0), and fused tail zeroing / deadDLremoval in_bwd_recurrence_nolast(bitwise exact). - Zero-copy_BUCKET_VIEWSdw_outinrms_norm_3072_bwd&add_rms_norm_3072_bwd(eliminating54× Memcpy DtoD). -YOCO_OPT_CUBLASLT_TUNED=r9: applies deterministic(20,35,3)todX_3k(91×) &dX_fc2(26×) in addition tofc1/gate&lm_headfwd (0.1081 svsfwd-only0.1083 s). -yoco/models/opt_patches.py: -YOCO_OPT_DDP_BUCKET_MB=600(optimal bucket count & overlap vs300/400/1020 MB); decoupledSPARSE_EMBED_ALLREDUCEfromDDP_HOOK_L2NORMand added optionalYOCO_OPT_L2_MAX_BLOCKS/YOCO_OPT_BWD_SM_TARGET. - Results: - End: 2026-11-20 09:21 UTC -time_r9e(300 MB):0.1081 s/update(2.1832×,window_range = 0.0007). -time_r9j(400 MB):0.1078 s/update(2.1892×,window_range = 0.0002). -time_r9k(600 MB):0.1073 s/update(2.1994×, median0.1063 s,38,162 tok/s). - Fullcheck(/tmp/r9/check_r9/check.json):PASS(N1, 0 exact failures,1564diagnostic violations, trajectoryequivalentwithin-0.034σ .. -1.330σ,loss_u100_200 = -0.154σ,speedup = 2.1913,0.1077 s/update,38,028 tok/s, peak alloc51.39 GiB/ reserved52.27 GiB). - Commit:c99b7c1on branchopt;/submission/switches.jsonpromoted. ---
8.8 hRound 10: Direct SymmetricMemory BF16 Weight Push (`SYMM_BF16_PUSH`), 57-Reg `vec4` AdamW Kernel, Overlapped `log_interval` DtoH, & 1D RMSNorm Zero-Copy `dw`
- Start: 2026-11-20 09:26 UTC - Profile diagnosis & microbenchmarks: - Round 9 steady-state GPU span105.24-106.71 ms:opt24.36 ms(bf16_scale_to_fp324.87 ms+adamw_nvlinkfp32 push18.93 ms+13× barrier0.31 ms+ finalfp32_to_bf160.22 ms),fwd21.7 ms,bwd57.0 ms,tail2.27 ms. - Root-caused three hidden inefficiencies from Round 9 traces: 1. Redundant fp32 weight broadcast over NVLink: OSS broadcast6.89 GBoffp32weights (18.88 msNVLink 4.0 wire limit) + ran12× fp32_to_bf16_desc_kernelon the receiver (14.5 msconcurrent +0.22 mstail), even though each owning rank maintains authoritativefp32master weights +fp32AdamW state and the peer rank only consumesbf16model weights (3.44 GB,9.44 msNVLink 4.0 wire time!). Rebinding peer-ownedp16.datadirectly into aSymmetricMemorybf16buffer and pushingbf16directly fromadamweliminatesfp32_to_bf16_desc_kernel, shrinks 13 chunk barriers to 2, and halves NVLink traffic while staying 100% bit-for-bit identical inp32/m32/v32(owning rank) andp16(both ranks). 2. 5.11 ms GPU idle bubble atlog_interval=10:vals = torch.stack([...]).cpu().tolist()synced AFTERoptimizer_step, draining the CUDA queue to empty onit 10andit 20. Moving the pinned 6-double DtoH copy onto a side copy stream BEFOREoptimizer_stepoverlapsev_log.synchronize()+ Python logging completely withoptimizer_step. 3. Missing 1D norm_BUCKET_VIEWScapture:_BUCKET_VIEWSonly capturedp.ndim == 2, leaving54× 6144-byte Memcpy DtoD(0.093 ms) on RMSNormdw. Widening top.ndim in (1, 2)eliminated all 54 copies (mc6k=0verified in trace). - Screened & analyzed rejected/negative variants: -DDP_BUCKET_MB=625(0.1073 s): neutral vs600 MB. - Explicit Tapered DDP Buckets viac10d::Reducer::initialize_buckets(yoco_ddp_buckets.cpp+libyoco_ddp_buckets.so): cut exposed tail2.27 -> 0.73 ms, but under 700W Hopper TDP cap, moving428 MBof NCCL + 2 extrasum_sqcollisions intoSelf[3..0]slowed backward GEMMs, yielding0.1076 s(mode 1) /0.1074 s(mode 3) /0.1048 s(withL2_MAX_BLOCKS=32). - Skippingp32.gradwrite (YOCO_OPT_FUSED_BF16_GRAD_ADAM=1,0.0974 s / 2.423×) or deferringp32.gradwrite intoadam.step()(YOCO_OPT_FUSED_WRITE_G32=1,0.1012 s / 2.332×): rejected by Gate 2cross_rank_patternonmaster.grad(yoco_adapterinspectsp32.gradprior toadam.step()). -vec8uint4bf16-push kernel (0.1055 s): used73 registers(> 64), halving SM_90 occupancy to 2 CTAs/SM; replaced by__launch_bounds__(256, 4)vec4kernel (57 registers,0spills, full 4 CTAs/SM ->0.1032 s). - Factored-expFlashRetention&FA2 2.8.3(8.77 ms) / PyTorch FLASH (7.08 ms) vscuDNN SDPA(3.85 ms): cuDNN Hopper WGMMA SDPA remained >1.8× faster. - Changes: -yoco/models/csrc/yoco_fast_optim/yoco_fast_optim_c.cu&yoco/models/_fast_optim_lib.py: - Added__launch_bounds__(256, 4)adamw_fp32grad_bf16push_vec4_desc_kernel(57 regs,0spills) +build_desc6configurable alignment, pushingbf16weights directly into peer rank'sSymmetricMemoryp16buffer (plusadamw_bf16grad_bf16push_desc_kernel,62 regs, for Round 11 zero-overhead bf16-grad reads while keeping_unscale_grads()). - Addedyoco_ddp_buckets.cpp/libyoco_ddp_buckets.so(YOCO_OPT_TAPERED_DDP_BUCKETS, off by default). -yoco/models/opt_patches.py: - AddedYOCO_OPT_SYMM_BF16_PUSH=1(SYMM_ADAM_GRID=528): rebinds peer-ownedp16.dataon Step 0 into a 16-byte-alignedSymmetricMemorybf16buffer and runs a single persistentadamw_fp32grad_bf16push_vec4_desclaunch bracketed by 2symm_hdl.barriercalls (zerofp32_to_bf16_desc_kernel). - Overlappedlog_interval6-double pinned DtoH copy on a side stream beforeoptimizer_step. - Fixed_BUCKET_VIEWScapture top.ndim in (1, 2)eliminating54×RMSNormdwDtoD copies. - Results: - End: 2026-11-20 10:59 UTC -quick_r10g(Gate 0 + Gate 2):PASS(0exact failures,0errors). - Fullcheck(/tmp/r10/check_r10g/check.json):PASS(N1, 0 exact failures,2108diagnostic violations, trajectoryequivalentwithin-0.0539σ .. -1.3833σ,loss_u100_200 = -0.9575σ,speedup = 2.2868,0.1032 s/update,window_s = [1.031, 1.032],39,703 tok/s, peak alloc54.58 GiB/ reserved55.55 GiB). - Commit: Round 10 committed on branchopt;/submission/switches.jsonpromoted. ---
—Round 11 · continuation (the agent's new log after resuming; it did not number rounds)
### Current Best (Verified Fullbench.py checkPASS) - Commit:a9770e5on branchopt(Round 11) - Live Config:/submission/switches.json- Speedup:2.3028×on current host (0.1015 s/updatevs frozen reference0.23373 s/update;0.1010 s/update/2.3366×vs prior0.2360 s/updatereference) - Correctness:PASS(N1 statistical;0errors,0exact failures,2096diagnostic violations; trajectory endpoints all within[-0.6158σ, +0.4358σ]vs3.0σbound) ### Round Progression - Baseline:0.2360 s/update(prior host) /0.23373 s/update(current host),1.000×- Round 1 (6840172): OSS bidir P2P broadcast, skip dead fp32 zero_grad, DDP bucket view, async host stats ->0.2009 s/update(1.1747×, N0 PASS) - Round 2 (7c026cd): fused bf16 L2 norm, vectorized bf16*scale->fp32, 8-chunk overlapped Adam/P2P/fp32->bf16 ->0.1691 s/update(1.3956×, N0 PASS) - Round 3 (4b56bee): fast MPU bypass, cached RoPE, fused Triton CrossEntropy, regional functionaltorch.compile->0.1417 s/update(1.6596×, N1 PASS) - Round 4 (799b3fd): PyTorch 2.8+cu128, cuDNN 9.10 SDPA, DDP sum-only hook, ABI-independent fused AdamW+bf16 ->0.1333 s/update(1.7704×, N1 PASS) - Round 5 (ff0d45b): cuDNN SDPA fix, sm_90 CUDA RMSNorm/RoPE/SwiGLU, SymmetricMemory Fused AdamW+NVLink Push ->0.1192 s/update(1.9799×, N1 PASS) - Round 6 (552ebe3): zero-copy DDP bucket-view dW, overlapped DDP hook L2 norm, fused add+RMSNorm/subln-transpose/scaled-RoPE ->0.1146 s/update(2.0593×, N1 PASS) - Round 7 (6feced2): FlashRetention (cross+inner), interlayer add+RMSNorm fusion, persistent streaming optimizer, per-layer CUDAGraphs ->0.1122 s/update(2.1034×, N1 PASS) - Round 8 (d933359): chained CUDAGraphs, sparse 2-rank embed AR, fwd cuBLASLt, fused GateRetPrep, split Self0, SM-balanced SymmAdamW ->0.1087 s/update(2.1711×, N1 PASS) - Round 9 (c99b7c1): DualLinear/PentaLinear in-place addmm, FullGatedRetention,_bwd_recurrence_nolast, zero-copy RMSNorm dw, 384-CTA streaming kernels, 600MB DDP buckets ->0.1077 s/update(2.1913×, N1 PASS) - Round 10 (6dd84ef): Direct SymmetricMemory BF16 weight push (SYMM_BF16_PUSH), 57-reg vec4 AdamW, overlappedlog_intervalDtoH, 1D RMSNorm zero-copy dw ->0.1032 s/update(2.2868×, N1 PASS) - Round 11 (a9770e5): -YOCO_OPT_SYMM_BF16_READ_G16=1: After_unscale_grads()populates allp32.grad(preserving Gate-2master.gradcontract),SYMM_BF16AdamW reads3.44 GBp16.grad+ savedscale_tviaadamw_bf16grad_bf16push_descinstead of6.89 GBp32.grad(-3.44 GBHBM3e reads,-0.85 ms, bitwise exact via__fmul_rn). -YOCO_OPT_CUBLASLT_TUNED=r11: Symmetric A-B-B-A 700W-verified deterministic cuBLASLt tiles fordW_fc1 (20,35,5),dW_fc2 (20,35,5),lm_dW (29,35,3),3k3k_fwd (20,35,3)(incl._BucketPentaLinear), anddX_fc1_b1 (20,35,3)(+1.10 msstandalone). -YOCO_OPT_TAPERED_DDP_BUCKETS=3(defaultL2_MAX_BLOCKS=1024): 12 backward-ordered buckets tapering toself0_ffn (151MB)andself0_mixer+sparse_embed (94MB)(-0.9 msexposed tail). - Fullbench.py check:PASS—0.1015 s/update(2.3028×vs0.23373 sref;0exact failures, trajectory[-0.6158σ, +0.4358σ]).