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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Dao-AILab avatar

Dao-AILab/flash-attention

0
View on GitHub↗
24,220 stars·2,851 forks·Python·BSD-3-Clause·12 vues

Flash Attention

FlashAttention is an attention mechanism optimization library and machine learning acceleration framework designed to increase training speed and reduce memory footprint for large-scale neural network models. It functions as a collection of low-level CUDA kernels that optimize memory-bound operations to improve hardware utilization on graphics processing units.

The library distinguishes itself through an input-output-aware algorithm design that minimizes data movement between different levels of memory. By employing kernel fusion and tiled matrix multiplication, it combines sequential operations and processes data in blocks that fit within high-speed on-chip memory. These techniques, paired with recomputation-based gradient calculation, allow for the training of transformer models with larger batch sizes and longer sequence lengths.

This framework provides a comprehensive set of computational primitives for high-performance deep learning. It covers the acceleration of transformer architecture components and attention layers, specifically targeting the memory and throughput constraints inherent in training massive language models.

Features

  • Attention Backends - Provides optimized computational backends specifically designed to accelerate attention mechanisms in transformer models.
  • GPU Training Accelerators - Acts as a machine learning acceleration framework providing computational primitives to increase training speed.
  • Language Model Training - Accelerates the training process for massive transformer models by optimizing memory access and computation speed.
  • Memory Optimization Techniques - Reduces the memory footprint of deep learning models to enable larger batch sizes and longer sequence lengths.
  • Transformer Training Accelerators - Improves the performance of attention mechanisms to enable faster training and inference for transformer architectures.
  • Deep Learning Compute Kernels - Optimizes low-level kernel operations on graphics hardware to maximize throughput for deep learning.
  • Kernel Optimization Libraries - Provides a collection of low-level CUDA kernels that optimize memory-bound operations for deep learning.
  • Kernel Fusion Operations - Combines multiple sequential operations into single GPU kernels to reduce intermediate memory overhead.
  • Attention Optimization - Fast and memory-efficient attention using low-precision asynchrony.
  • Gradient Checkpointing - Reduces memory usage by discarding intermediate attention scores and recomputing them during the backward pass.
  • Batch Matrix Multiplication Utilities - Divides large attention matrices into smaller blocks that fit into fast on-chip memory to minimize global memory access.
  • SRAM-Aware - Explicitly manages data movement between high-speed on-chip memory and main GPU memory to maximize throughput.
  • Memory-Efficient Algorithms - Implements IO-aware algorithms that minimize memory reads and writes between different levels of memory.

Historique des stars

Graphique de l'historique des stars pour dao-ailab/flash-attentionGraphique de l'historique des stars pour dao-ailab/flash-attention

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Flash Attention

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Flash Attention.
  • microsoft/unilmAvatar de microsoft

    microsoft/unilm

    22,030Voir sur GitHub↗

    This project is a comprehensive framework and toolkit for developing, optimizing, and deploying transformer-based models across multimodal, document intelligence, and natural language processing tasks. It provides a unified neural architecture that processes text, vision, audio, and document layout data through a shared set of weights, enabling researchers and developers to build foundational models that align cross-modal representations. The platform distinguishes itself through advanced training and inference strategies designed for large-scale deep learning. It incorporates specialized mec

    Pythonbeitbeit-3bitnet
    Voir sur GitHub↗22,030
  • deepseek-ai/deepgemmAvatar de deepseek-ai

    deepseek-ai/DeepGEMM

    7,385Voir sur GitHub↗

    DeepGEMM is a suite of specialized GPU kernels and a just-in-time compiler designed for low-precision matrix operations, Mixture-of-Experts models, and attention processing. It provides a library of high-performance matrix multiplication kernels using FP8 precision to increase compute throughput and reduce memory usage. The project features a JIT CUDA kernel compiler that generates and loads optimized compute kernels at runtime to eliminate the need for manual compilation during installation. It includes specialized implementations for grouped matrix multiplication that process multiple group

    Cuda
    Voir sur GitHub↗7,385
  • zhaochenyang20/awesome-ml-sys-tutorialAvatar de zhaochenyang20

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371Voir sur GitHub↗

    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
    Voir sur GitHub↗5,371
  • d2l-ai/d2l-enAvatar de d2l-ai

    d2l-ai/d2l-en

    29,001Voir sur GitHub↗

    This project is an educational platform and research toolkit designed to teach deep learning through a combination of mathematical theory, visual diagrams, and executable code. It provides a comprehensive environment for building, training, and evaluating neural networks, grounding complex concepts in interactive computational notebooks that allow for hands-on experimentation. The framework distinguishes itself by interleaving theoretical foundations—including linear algebra, calculus, and probability—with practical implementations across multiple industry-standard libraries. It supports flex

    Pythonbookcomputer-visiondata-science
    Voir sur GitHub↗29,001
Voir les 30 alternatives à Flash Attention→

Questions fréquentes

Que fait dao-ailab/flash-attention ?

FlashAttention is an attention mechanism optimization library and machine learning acceleration framework designed to increase training speed and reduce memory footprint for large-scale neural network models. It functions as a collection of low-level CUDA kernels that optimize memory-bound operations to improve hardware utilization on graphics processing units.

Quelles sont les fonctionnalités principales de dao-ailab/flash-attention ?

Les fonctionnalités principales de dao-ailab/flash-attention sont : Attention Backends, GPU Training Accelerators, Language Model Training, Memory Optimization Techniques, Transformer Training Accelerators, Deep Learning Compute Kernels, Kernel Optimization Libraries, Kernel Fusion Operations.

Quelles sont les alternatives open-source à dao-ailab/flash-attention ?

Les alternatives open-source à dao-ailab/flash-attention incluent : microsoft/unilm — This project is a comprehensive framework and toolkit for developing, optimizing, and deploying transformer-based… deepseek-ai/deepgemm — DeepGEMM is a suite of specialized GPU kernels and a just-in-time compiler designed for low-precision matrix… zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… d2l-ai/d2l-en — This project is an educational platform and research toolkit designed to teach deep learning through a combination of… deepspeedai/deepspeed — DeepSpeed is a high-performance library designed to scale deep learning model training and inference across massive… unslothai/unsloth — Unsloth is a high-performance training and inference platform designed to optimize the lifecycle of large language and…