MInference logo

MInference

microsoft/MInference

Accelerates Long-context LLMs' inference through approximate sparse calculation for attention.

GraphCanon updated Oct 13, 2026 · GitHub synced Oct 13, 2026

1.2k stars83 forksLast push Oct 10, 2026 Python MIT

Decision brief

Unverified catalog guidance: MInference accelerates long-context LLMs' inference by up to 10x via approximate sparse calculation techniques while preserving model accuracy.

Good fit when

  • Unverified catalog guidance: MInference is ideal for scenarios where significant reduction in inference latency is needed without sacrificing the accuracy of long-context LLM outputs.
  • Unverified catalog guidance: MInference should be used when developers are working with models that support Transformers >= 4.46.0 and require fast pre-filling speeds to meet real-time performance requirements.

Avoid when

  • Unverified catalog guidance: Avoid using MInference if your application does not benefit from or cannot tolerate slight variations in inference times due to its use of approximate sparse calculation.
  • Unverified catalog guidance: MInference might not be suitable for applications where the model's accuracy is critical and any reduction in the precision introduced by approximations would be detrimental.
Requirements:
Min 8 GB RAM; MInference requires at least Torch and optionally FlashAttention-2 for maximum efficiency.; Triton for faster deployment and integration.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (3d since push)
As of Oct 13, 2026
Provenance
Not a fork · Organization account
As of Oct 13, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Microsoft. Display-only - separate from trust and ranking.

Company
Microsoft·GitHub org profile·Jul 11, 2026
Employees
221,000·Wikidata (P1128 employees)·Jul 11, 2026
Commercial model
Pure OSS·GitHub org profile (public repos)·Jul 11, 2026

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/microsoft/minference
Source repository

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

MInference is a Python library that aims to reduce the latency of long-context Large Language Models (LLMs) by up to 10x during pre-filling, while maintaining accuracy. It leverages frameworks like Torch and FlashAttention-2 (optional), and is compatible with Transformers >= 4.46.0.

Capability facts

Languages
python

Source: github.language · Oct 13, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Oct 13, 2026)

pip install minference
Source link

Tags

README

Requirements Torch FlashAttention 2 (Optional) Triton Transformers = 4.46.0 To get started with MInference, simply install it using pip:

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.