awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
deepseek-ai avatar

deepseek-ai/FlashMLA

0
View on GitHub↗
12,706 Stars·1,061 Forks·C++·MIT·8 Aufrufe

FlashMLA

FlashMLA is an LLM attention kernel library and inference acceleration library providing a collection of high-performance CUDA kernels. It implements multi-head latent attention mechanisms designed to reduce memory overhead and increase throughput during the forward and backward passes of large language model inference.

The library utilizes quantized cache attention kernels to improve computation efficiency across both sparse and dense token processing. It specifically optimizes the prefill and decoding phases of model inference through these latent attention implementations.

The project covers GPU kernel development for NVIDIA hardware, focusing on KV cache memory reduction and sparse attention computation. It includes capabilities for executing multi-head attention, dense attention, and sparse attention across different inference stages.

Features

  • GPU-Accelerated Inference - Implements high-performance CUDA kernels specifically to accelerate the inference phase of LLMs on NVIDIA GPUs.
  • Latent Attention Mechanisms - Provides high-performance kernels for computing multi-head latent attention to increase inference throughput.
  • Attention Kernel Libraries - Provides a high-performance collection of CUDA kernels for multi-head latent attention to increase LLM throughput.
  • Latent Space Projections - Compresses attention keys and values into smaller latent representations to reduce memory bandwidth requirements.
  • GPU Kernel Implementations - Implements high-performance CUDA kernels specifically for accelerating attention computations on NVIDIA hardware.
  • Inference Optimization Kernels - Improves speed and memory efficiency of LLM decoding and prefill stages using specialized kernels.
  • Attention Kernel Fusion - Combines multiple attention operations into single GPU kernels to minimize memory data movement.
  • KV Cache Management - Lowers the memory footprint of long-context generation using quantized caches and sparse attention.
  • Cache Quantization - Stores latent attention states in low-precision formats to reduce memory usage during decoding.
  • Attention Mechanisms - Provides the capability to compute full attention across all tokens for complete contextual representation.
  • Triton Kernels - Uses the Triton domain-specific language to generate high-performance GPU code and optimize memory tiling.
  • Multi-Head Attention Mechanisms - Computes forward and backward attention operations for standard multi-head attention architectures.
  • Prefill-Decode Disaggregation - Implements distinct computational paths to optimize the transition between prefill and decoding phases.
  • Sparse Attention Kernels - Utilizes specialized kernels to compute attention only for a selective subset of tokens.
  • Quantized Cache Kernels - Ships attention kernels that use quantized caches to improve efficiency for both sparse and dense token processing.
  • AI & Machine Learning - Efficient MLA decoding kernels.
  • Attention Optimization - Hardware-aligned attention optimization for latent attention models.
  • Inference Kernels - Efficient decoding kernel for multi-head latent attention on Hopper GPUs.

Star-Verlauf

Star-Verlauf für deepseek-ai/flashmlaStar-Verlauf für deepseek-ai/flashmla

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu FlashMLA

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit FlashMLA.
  • sgl-project/sglangAvatar von sgl-project

    sgl-project/sglang

    29,079Auf GitHub ansehen↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    Auf GitHub ansehen↗29,079
  • zhaochenyang20/awesome-ml-sys-tutorialAvatar von zhaochenyang20

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371Auf GitHub ansehen↗

    This project provides a comprehensive technical guide and framework for engineering large-scale machine learning systems. It covers the full lifecycle of model development, focusing on the infrastructure and computational principles required to build, train, and serve generative AI models across distributed GPU clusters. The repository distinguishes itself by offering deep-dive tutorials and implementation strategies for complex system challenges. It emphasizes high-performance architectural primitives, such as collective communication orchestration, distributed tensor sharding, and static gr

    Python
    Auf GitHub ansehen↗5,371
  • nvidia/isaac-gr00tAvatar von NVIDIA

    NVIDIA/Isaac-GR00T

    6,222Auf GitHub ansehen↗
    Jupyter Notebook
    Auf GitHub ansehen↗6,222
  • xlite-dev/leetcudaAvatar von xlite-dev

    xlite-dev/LeetCUDA

    9,694Auf GitHub ansehen↗

    LeetCUDA is a collection of high-performance GPU kernel libraries focusing on memory optimization, activation functions, and attention mechanisms. It serves as a reference library for CUDA kernel implementations, ranging from basic element-wise operations to complex neural network components, and provides Python bindings to integrate these kernels into deep learning workflows. The project is distinguished by its focus on low-level hardware optimizations. This includes the use of tensor cores for half-precision matrix multiplication, asynchronous data pipelining with double buffering, and shar

    Cudacudacuda-12cuda-cpp
    Auf GitHub ansehen↗9,694
Alle 30 Alternativen zu FlashMLA anzeigen→

Häufig gestellte Fragen

Was macht deepseek-ai/flashmla?

FlashMLA is an LLM attention kernel library and inference acceleration library providing a collection of high-performance CUDA kernels. It implements multi-head latent attention mechanisms designed to reduce memory overhead and increase throughput during the forward and backward passes of large language model inference.

Was sind die Hauptfunktionen von deepseek-ai/flashmla?

Die Hauptfunktionen von deepseek-ai/flashmla sind: GPU-Accelerated Inference, Latent Attention Mechanisms, Attention Kernel Libraries, Latent Space Projections, GPU Kernel Implementations, Inference Optimization Kernels, Attention Kernel Fusion, KV Cache Management.

Welche Open-Source-Alternativen gibt es zu deepseek-ai/flashmla?

Open-Source-Alternativen zu deepseek-ai/flashmla sind unter anderem: sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… nvidia/isaac-gr00t. xlite-dev/leetcuda — LeetCUDA is a collection of high-performance GPU kernel libraries focusing on memory optimization, activation… skyzh/tiny-llm — tiny-llm is a large language model inference engine and transformer model implementation. It serves as a quantized… microsoft/unilm — This project is a comprehensive framework and toolkit for developing, optimizing, and deploying transformer-based…