#213213th of 433 in ML frameworks and libraries

mirage-project/mirage

Compiler that fuses LLM inference into a single persistent CUDA megakernel

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2.6k
License
Apache-2.0
Last commit
Nov 2026
Last release
Jun 2026
Language
Cuda
Stars, last 30 weeks+423
27 Apr 2026: 2,217 stars4 May 2026: 2,225 stars11 May 2026: 2,239 stars18 May 2026: 2,252 stars25 May 2026: 2,261 stars1 Jun 2026: 2,273 stars8 Jun 2026: 2,283 stars15 Jun 2026: 2,303 stars22 Jun 2026: 2,320 stars29 Jun 2026: 2,337 stars6 Jul 2026: 2,350 stars13 Jul 2026: 2,361 stars20 Jul 2026: 2,370 stars27 Jul 2026: 2,386 stars3 Aug 2026: 2,398 stars10 Aug 2026: 2,411 stars17 Aug 2026: 2,426 stars24 Aug 2026: 2,443 stars31 Aug 2026: 2,458 stars7 Sept 2026: 2,479 stars14 Sept 2026: 2,490 stars21 Sept 2026: 2,508 stars28 Sept 2026: 2,518 stars5 Oct 2026: 2,532 stars12 Oct 2026: 2,552 stars19 Oct 2026: 2,567 stars26 Oct 2026: 2,576 stars2 Nov 2026: 2,595 stars9 Nov 2026: 2,611 stars16 Nov 2026: 2,623 stars23 Nov 2026: 2,640 stars

2,217 on 27 Apr 20262,640 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Mirage Persistent Kernel (MPK) compiles a Hugging Face LLM's computation graph into one fused GPU kernel that handles compute and communication in a single launch. The README reports 1.2x to 6.7x lower inference latency and covers multi-GPU setups. You define the graph in Python with fused ops such as rmsnorm_linear_layer, and a Qwen3-8B demo script is included.

Who it is for: GPU engineers chasing low-latency LLM decoding on NVIDIA hardware

Strengths

  • Fuses compute and inter-GPU communication into one kernel launch, cutting launch overhead
  • README reports 1.2x to 6.7x lower latency than baseline inference
  • Python API with a runnable Qwen3-8B demo and a task timeline profiler
  • Backed by OSDI papers; Apache-2.0 licensed

Weaknesses

  • Source install only; pre-built wheels were still pending in the README
  • Graph is defined by hand with fused ops; only a Qwen3 demo is shown
  • Worker and scheduler counts must match the physical SM count
  • No HTTP API or serving layer described; it is a compiler and runtime

What it needs

  • GPU required
  • Docker
  • Needs PyTorch, CUDA, Triton, FlashInfer, NVSHMEM, MPI
  • Models: Hugging Face models, Qwen3-8B

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#211hdbscanPython HDBSCAN clustering library with a scikit-learn API3.2k starsBSD-3-Clause55 out of 100
#212audioPyTorch library for audio loading, transforms, and datasets for ML3k starsBSD-2-Clause55 out of 100
#214gpflowGaussian process modelling library for Python built on TensorFlow1.9k starsApache-2.055 out of 100
#215roboverseRobot simulation platform with one API across simulators, plus tasks and training code1.9k starsApache-2.055 out of 100
#216scikit-learn-intelexDrop-in scikit-learn accelerator backed by oneDAL, for CPUs and GPUs1.4k starsApache-2.055 out of 100