Ross ROSS = Recommend OSS · open-source software intelligence for agents

microsoft/MInference

[NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention, which reduces inference latency by up to 10x for pre-filling on an A100 while maintaining accuracy. observed · 2026-08-28

github.com/microsoft/MInference · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

49/100

  • Activity 76
  • Release rhythm 8
  • Longevity 59
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 833
  • days_rel: 442
  • days_push: 147
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1226 stars · 80 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

MInference is a Microsoft library that accelerates long-context LLM inference using dynamic sparse attention, reducing pre-fill latency by up to 10x on an A100 while maintaining accuracy. It integrates with Hugging Face Transformers, vLLM, and SGLang and supports million-token contexts.

Use cases

  • speed up prefill for long-context LLM inference
  • process 1M token prompts faster on a single GPU
  • accelerate LLaMA or Qwen long-context models
  • integrate sparse attention kernels into vLLM or SGLang
  • reduce inference latency for 128K+ context windows

When to choose

  • you serve long-context LLMs and prefill latency is a bottleneck
  • you need million-token prompt processing on limited GPU hardware
  • you use vLLM, SGLang, or Transformers and want drop-in sparse attention speedups

When to avoid

  • your prompts are short and prefill is not a bottleneck
  • you need exact dense attention semantics without approximation
  • you don't have access to NVIDIA GPUs

Facets

library · maturity active

llm-inference gpu-computing machine-learning large-language-models deep-learning gpu-computing performance python sparse-attention long-context prefill-acceleration vllm sglang transformers gpu linux

2 sources

Member repositories

RepositoryRoleHealth v2
microsoft/MInferencemain49

For agents

markdown · JSON · MCP: product_card(name="microsoft/MInference")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem