J Jin Pan
Work Library Blog PRs About
δΈ­ζ–‡
2026
  • Disaggregation Is Not a Kernel: PD Meets AMD Monokernels on GLM-5.3
    Why prefill-decode disaggregation alone did not make GLM-5.3 decode faster on MI355X, what it took to run AMD monokernels on a MoRI decode server, and why two plain replicas still win on InferenceX AgentX.
  • Green Test, Red Model: Why GPU Kernels Pass Unit Tests and Fail End to End
    Why a GPU kernel can pass every unit test and still break an end-to-end model run: seven gaps between a test and a model, traced through public bugs from the gfx1250 bring-up and from FlyDSL v0.3 to v0.4, and a validation ladder that closes them.
  • Autotune, End to End β€” From Triton to FlyDSL
    How kernel autotuning is designed in Triton, used in aiter / quack / CuteDSL, and consumed by inference engines like SGLang β€” and, from all of that, how to design a real autotune path for FlyDSL. With a full HTML deep dive carrying six hand-drawn SVG plates.
  • Long-Sequence MoE RL Training: From First Principles to MI300X
    A first-principles read of Yan Bai's long-sequence MoE RL optimizations β€” Path B recompute, linear cross-entropy, FSDP2, chunked expert-parallel overlap β€” and what each one means on AMD MI300X / MI355X.
  • From Python to Silicon β€” A Compiler & Arch Primer for the Working ML Engineer
    You can write production ML systems for years without knowing what IR, MLIR, LLVM, ISA, or FFI actually mean. This is the patch β€” a bilingual primer for the undergrad-CS-but-skipped-compilers crowd, with a full HTML deep dive carrying six hand-drawn SVG plates.
  • FlyDSL notes β€” BasisAttr, the layer beneath Layout
    My FlyDSL source reading collapsed the layout algebra into five words. This is the patch β€” Fly_Basis, BasisAttr, what they are, why layouts need them, and where to start when your mentor hands you the 'complete the BasisAttr surface' task.
  • Attention Mechanisms β€” Full, Sparse, Linear, NSA & GLA
    Breaking down Full, Sparse, and Linear Attention, all the way to DeepSeek NSA and Gated Linear Attention
2025
  • Benchmark: Qwen3-Coder-30B-A3B + EAGLE3 Speculative Decoding
    EAGLE3 speculative decoding benchmarks on Qwen3-Coder β€” 1.87x speedup for code generation
  • NeMo-RL vs slime: RL Training Framework Comparison
    Deep comparison of two RL training frameworks: algorithms, engineering quality, MoE support, and ROCm compatibility
  • TritonForge: Server-based Multi-turn RL for Triton Kernel Generation
    End-to-end server-based RL training and evaluation system for Triton kernel generation across NVIDIA and AMD, built on slime + Megatron
  • SFT & RL Training Guide
    Complete guide from SFT vs RL fundamentals, loss computation, dataset construction to RLHF in practice
  • KV Cache & Model Weights
    Understanding KV Cache vs Model Weights β€” the first step to LLM inference optimization
  • Memory Calculation of LLM on GPU
    Detailed GPU memory estimation for LLM training and inference, covering DP/TP/PP/EP parallelism strategies
  • Transformer Deep Dive (Math + Code)
    Deconstructing Transformer's Self-Attention, LayerNorm, and MLP from math, code, and architecture perspectives

Hinc itur ad astra.

© 2026 Jin Pan GitHub LinkedIn Email
Press Esc or click anywhere to close