Blog tag

#Kernels

6 posts tagged with Kernels.

← Back to all posts
2 min read

26 Iterations: Porting Cleanroom Kernels to Gemma 4

A single day of rapid iteration took the Gemma 4 port from a baseline to validated QKV fusion, invalidating several assumptions along the way.

SYCLKernelsLocal LLMPerformanceIteration
Read more
2 min read

All-Local 29 Tokens Per Second and Fused Norm Kernels

Fusing QKV, inlining norm-weight application, and pushing block loads through the Q4_K path.

SYCLKernelsPerformanceLocal LLMOptimization
Read more
2 min read

Standalone Inference Working: Shared Memory and a CPU Fallback

The standalone backend finally produced inference after fixing ABI layout, shared-memory buffers, and a simple CPU fallback.

SYCLKernelsABILocal LLMPerformance
Read more
2 min read

Enabling Local Dispatch Op by Op Until the Graph Ran Entirely on My Kernel

47 commits and a progressive enablement series that ended with full local decode dispatch at 7.0 t/s and 100% correctness.

SYCLKernelsPerformanceDebuggingLocal LLM
Read more
2 min read

Writing an ESIMD Fused Kernel From Reverse-Engineered Assembly

SLM-tiled GEMM, SPIR-V decompilation, and a corrected Q4_K dequant that finally produced coherent output.

SYCLESIMDKernelsReverse EngineeringPerformance
Read more
2 min read

Hunting the Fused Aggregation Kernel Bug in Expert Parallelism

A 12-hour debugging session documented commit by commit until I isolated the EP bug to a fused aggregation kernel.

Local LLMDebuggingKernelsPythonAI
Read more