#8989th of 105 in ML frameworks and libraries

deepgemm

CUDA tensor core kernels for FP8, FP4 and BF16 GEMMs and fused MoE

Stars
9.1k
License
MIT
Last commit
Oct 2026
Last release
Oct 2025
Language
Cuda
Stars, last 29 weeks+2,822
1 Apr 2026: 6,244 stars8 Apr 2026: 6,256 stars15 Apr 2026: 6,277 stars22 Apr 2026: 6,860 stars29 Apr 2026: 7,072 stars6 May 2026: 7,127 stars13 May 2026: 7,181 stars20 May 2026: 7,208 stars27 May 2026: 7,247 stars3 Jun 2026: 7,275 stars10 Jun 2026: 7,312 stars17 Jun 2026: 7,341 stars24 Jun 2026: 7,364 stars1 Jul 2026: 7,424 stars8 Jul 2026: 7,458 stars15 Jul 2026: 7,485 stars22 Jul 2026: 7,515 stars29 Jul 2026: 7,555 stars5 Aug 2026: 7,597 stars12 Aug 2026: 7,628 stars19 Aug 2026: 7,676 stars26 Aug 2026: 7,713 stars2 Sept 2026: 7,751 stars9 Sept 2026: 7,777 stars16 Sept 2026: 7,824 stars23 Sept 2026: 7,852 stars30 Sept 2026: 7,896 stars7 Oct 2026: 8,859 stars14 Oct 2026: 8,962 stars21 Oct 2026: 9,066 stars

6,244 on 1 Apr 20269,066 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

DeepGEMM is a CUDA kernel library for NVIDIA SM90 and SM100 GPUs, called from Python through PyTorch. It provides dense and grouped FP8/FP4/BF16 GEMMs, MQA logits kernels for the DeepSeek V3.2 indexer, and a fused Mega MoE kernel that overlaps expert-parallel communication with compute. Kernels are compiled at runtime by its own JIT, so installation needs no CUDA compilation.

Who it is for: Engineers writing LLM inference or training code on Hopper and Blackwell GPUs

Strengths

  • Covers dense, contiguous and masked grouped GEMMs, MQA logits and fused Mega MoE in one library
  • Runtime JIT compilation, so install does not compile CUDA kernels
  • Small set of core kernels without heavy CUTLASS templates, readable for learning
  • MIT license; supports both SM90 and SM100 GPUs

Weaknesses

  • Only NVIDIA SM90 or SM100 GPUs are supported
  • Needs CUDA Toolkit 12.9+, PyTorch 2.3+ and a C++20 compiler; Mega MoE needs PyTorch 2.9+
  • Caller must handle input transposition, FP8 casting and scaling-factor layout
  • SM90 supports only the NT memory layout

What it needs

  • GPU required
  • Needs CUDA Toolkit 12.9+, PyTorch 2.3+, CUTLASS 4.0+, Python 3.8+
  • Models: FP8, FP4, BF16, DeepSeek V3.2 MQA indexer

Also in ML frameworks and libraries

See all 105
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.092 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100