TLX.ops: Bridging Kernel Research and Real-World Performance
TLX.ops: Bridging Kernel Research and Real-World Performance
TLX.ops turns architecture-specific TLX kernels into reusable implementations spanning GEMM (including low-precision and grouped variants), attention, MoE, normalization and fused operators, validated for correctness, performance and compile time against shape lists derived from real workloads. The post walks through five kernels (four GEMMs and one LayerNorm) for NVIDIA Hopper/Blackwell and AMD MI300x/MI350x, covering topics such as asynchronous TMEM hand-off, CLC scheduling, multi-CTA cooperation, deterministic split-K, inter-wave pipelining and fused normalization with block-scaled quantization. The demonstrated GEMM kernels achieve up to 1.4x speedup over vendor libraries (cuBLAS/hipBLASLt).
Source: PyTorch Blog · pytorch.org