yuri-infra // SM_120
GitHub ↗
OPEN FOR AI INFRA INTERN · DEC 2026+ RTX 5060 · 26 SMs · 312.6 GB/s D2D
yuri-infra minimalist line-art cat with microchip avatar

Hongwei Zhu / yuri-infra

M.Eng. Candidate @ Fudan University · Building low-level GPU kernels, compiler passes, and memory-optimal LLM systems from scratch.

311.0 GB/s
99.5% D2D Roof
512MB GDDR7 · .cu uint4
7.37×
839.9 tok/s Serving
24-way · 83.8% Radix hit
32K (32×)
Single-8GB Training
2-step steady · 0 OOM
-90.5%
27.45ms P99 ITL
-50.9% CUDA launches
zsh — yuri-infra@blackwell-sm120:~/ai-infra
RUN:
// 01 · HARDWARE_TELEMETRY

Interactive Empirical GPU Roofline

Every ceiling and operating point below was measured on a single RTX 5060 Laptop GPU (8GB GDDR7, sm_120, 26 SMs) using 5-run ABA interleaved medians. Click or hover any kernel node to inspect its hardware bottleneck.

Measured D2D: 312.6 GB/s (81.4% of 384 GB/s spec) Sustained E2E: 15.13 TFLOPS (Ridge I = 48.4)
// 02 · NSIGHT_MULTI_STREAM_TRACE

Interactive Multi-Stream GPU Execution Trace

Toggle Optimized vs Baseline profiles across all three systems and click any kernel or DMA block to inspect its CUDA stream, launch compaction, and overlap telemetry.

RTX 5060 SM_120 · VERIFIED 5-RUN ABA EXECUTION TIMELINES OPTIMIZED · -50.9% LAUNCHES · -90.5% P99 · 100% PCIE HIDDEN
LANE 01 · KERNEL FUSION compute_stream (c10::Dispatcher)

.cu FusedAddRMSNorm (Single-Pass uint4)

Measured
Delta vs Baseline
Inspect Kernel ↗
// 03 · FEATURED_SYSTEMS

Three End-to-End AI Infra Engines

Switch between the three pinned repositories below to interact with verified kernel benchmarks, serving tail-latency ablations, and 32K long-context memory & Ring Attention simulators.

01 // fused-cuda-triton-inductor · 8/8 TESTS PASS

Native CUDA C++ (.cu) & Triton Kernels + TorchInductor Post-Grad Passes

Two-stage Core ATen post_grad graph rewrite (multi-dialect RMSNorm + dynamic transitive-closure anti-cycle Q+K GQA RoPE merge) with CustomGraphPass cache isolation and zero-Python-tax TORCH_LIBRARY_IMPL C++ dispatch.

Interactive ABA Benchmark Comparator
cuobjdump --dump-ptx Hardware Audit SM_120 VERIFIED
80
ld.global(.nc).v4.u32
128-bit vectorized loads
30
st.global.v4.u32
128-bit vectorized stores
140
shfl.sync.bfly.b32
Register butterfly reductions
28
bar.sync
Block-level sync barriers
02 // qwen-paged-serving · 8/8 TESTS PASS

24L Qwen2.5-0.5B Serving Engine: GQA PagedAttention, Radix-Tree & Chunked-Prefill

Zero-.flatten() ragged execution with 7:1 GQA Tensor Core Triton PagedAttention, heapq tail-splitting Radix-Tree prefix caching, CoW lock downgrade, LIFO async Pinned Swap, decoupled background GPU thread SSE gateway, and cross-repo .cu RMSNorm + Triton SwiGLU fusion.

Interactive Serving Engine Ablation Switch (Qwen2.5-0.5B BF16 · 16,384 KV Slots)
03 // qwen-32k-longctx-train · 8/8 TESTS PASS

Single-8GB 32K Long-Context Training & Distributed ZigZag Ring Attention

Real 24-layer Qwen2.5-0.5B-Instruct (494M params) full-sequence training on 7.93 GB GDDR7: zero-atomic Triton GQA FlashAttention-2, multi-process torch.distributed ZigZag Ring Attention (max grad err 8.58e-6), Intra-Layer SAC, 152K in-place addmm_ Chunked CE, slot-safe dual-stream pinned DMA offload, and HybridCPUAdamW.

ZigZag Causal Ring Simulator (P=4, S=4096)
Single-8GB 2-Step Steady-State Context Ladder STEP 2 VERIFIED
// 04 · VERIFIED_BENCHMARK_LEDGER

Reproducible 5-Run ABA Telemetry

Every metric below is directly backed by committed benchmark reports and deterministic test suites (24/24 tests passing across all 3 repositories).

System Workload & Config Strong Baseline Measured Result Verified Delta
01 · Kernels FusedAddRMSNorm (.cu) [16384×4096 FP16, 512MB GDDR7] 312.6 GB/s D2D Roof 311.0 GB/s (1726.2 μs) 99.5% D2D · 5.55× Eager
01 · Kernels Triton GQA Q+K RoPE (B=1, S=1, 16Q/4KV) 16.2 μs (compile) / 138.7 μs 11.6 μs (single launch) 1.40× compile · 11.97× Eager
01 · Kernels Fused Linear+CE (M=4096, V=128,256 BF16) 1002.0 MB activ / 114.22 ms 258.5 MB activ / 115.35 ms -74.2% Activ VRAM · 0.99× spd
02 · Serving 24-Way Multi-Turn Throughput (16,384 KV slots, t=0) 114.0 tok/s (35.99% frag) 839.9 tok/s (0.63% frag) 7.37× tok/s · 83.8% Radix hit
02 · Serving 12-Way Decode + 4×768 Burst (Chunked-Prefill=96) 289.03 ms ITL P99 27.45 ms ITL P99 -90.5% Tail Latency (10.53×)
02 · Serving 1056-Tok TTFT (1024 Hit + Cross-Repo .cu Fusion) 54.62 ms / 814 launches 15.28 ms / 400 launches -72.0% TTFT · -50.9% launches
03 · 32K Train Single-8GB 2-Step Steady-State Max Context 1,024 tokens (SDPA+AdamW) 32,768 tokens (Full 32K) 32.0× Context · 0 OOM
03 · 32K Train Intra-Layer SAC + Zero-Atomic Triton FA2 (S=4096) 3813.0 MB activ / 14.87 TF 739.3 MB / 15.13 TFLOPS -80.6% Activ VRAM · 1.02× Full-Ckpt
03 · 32K Train Dual-Stream Pinned DMA Offload (B=4, S=2048, 672MB) 1225.64 ms (sync, 52.47ms PCIe) 1170.31 ms (async prefetch) -55.33 ms · 100% PCIe Hidden
03 · 32K Train Multi-Proc ZigZag Causal Ring (P=4 Balance / P=2 Grad) 6.99× FLOP imbalance 1.00× balance · 8.58e-6 err Zero Causal Bubble
// 05 · ENGINEER_PROFILE

Profile & Technical Stack

EDUCATION & FOCUS

Fudan University · M.Eng.

Electronic Information · 2026 – 2029 · Shanghai, China

Building low-level GPU kernels, deep-learning compiler passes (TorchInductor / Core ATen IR), high-throughput LLM inference engines, and memory-efficient long-context training systems from scratch.

Open for Internships · Dec 2026+ (3–6 mos, 4–5 d/wk)
24/24 GPU Tests Pass · 5-Run ABA Medians · sm_120
SYSTEMS STACK

Kernels, Compilers & LLM Runtime

RTX 5060 Blackwell (sm_120) · CUDA 13.0 · PyTorch 2.13 · Triton 3.7.1

Kernels
CUDA C++ (.cu) PTX / uint4 Warp Shuffle OpenAI Triton
Compiler
TorchInductor Core ATen IR post_grad Pass TORCH_LIBRARY
Serving
GQA PagedAttn Radix-Tree Chunked Prefill Async SSE
Training
Zero-Atomic FA2 ZigZag Ring Intra-Layer SAC Pinned DMA