deepseek-ai/DeepGEMM

DeepGEMM: clean and efficient BLAS kernel library on GPU

What it solves

DeepGEMM provides a unified, high-performance tensor core kernel library for modern large language models, bringing together key computation primitives like GEMMs, fused mixture-of-experts (MoE) operations, and attention scoring into a cohesive codebase.

How it works

All kernels are compiled at runtime through DeepJIT, meaning no CUDA compilation is required during installation. It supports NVIDIA SM90 and SM100 architectures, implementing dense and grouped GEMMs (in FP8, FP4, and BF16 formats), MQA scoring kernels for indexers, and Mega MoE inference buffers.

Who it’s for

It is designed for developers, researchers, and engineers working on high-performance deep learning inference and training who want clean, accessible resources for NVIDIA GPU kernel optimization.

Highlights

  • Unified CUDA codebase combining GEMM, fused MoE, MQA scoring, and HyperConnection primitives
  • Runtime compilation via DeepJIT eliminating installation-time CUDA compilation
  • Supports both NVIDIA SM90 and SM100 GPU architectures
  • Performance that matches or exceeds expert-tuned libraries across various matrix shapes

Related

  • Project
  • Project
  • Project
  • Project
  • Project