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
·
fla-org avatar

fla-org/flash-linear-attention

0
View on GitHub↗
5,248 stars·564 forks·Python·MIT·33 vuesgithub.com/fla-org/flash-linear-attention↗

Flash Linear Attention

Flash Linear Attention is a training framework and inference engine for sequence models that use linear attention and state space mechanisms, designed to process long contexts with reduced memory and compute overhead. It provides hardware-optimized token mixing layers and fused CUDA kernels that minimize memory bandwidth and launch overhead across different GPU architectures, and includes a causal inference engine that generates text token-by-token using cached hidden states for efficient autoregressive decoding.

The project supports building hybrid sequence models that interleave standard attention with linear attention and state space layers, balancing efficiency with global context. It includes a distributed checkpoint manager that splits model weights across multiple files for parallel loading and saving in multi-node training, and a weight format transpilation utility for converting between Hugging Face and distributed checkpoint formats. The framework also provides hardware-aware kernel dispatch that selects optimized CUDA kernels at runtime based on GPU architecture and tensor shapes.

The training surface covers training models from scratch, continuing pretraining from checkpoints, launching multi-node training, and automatically resuming interrupted training from the last saved checkpoint. The project includes a streaming dataset pipeline that feeds training data from disk or network in real-time without loading the entire dataset into memory.

Features

  • Linear Attention Training Frameworks - Provides a complete training framework for sequence models using linear attention and state space mechanisms with hardware-optimized GPU kernels.
  • Autoregressive Inference Engines - Ships a causal inference engine that generates text token-by-token using cached hidden states for efficient autoregressive decoding.
  • Distributed Model Checkpointing - Ships a distributed checkpoint manager that splits model weights across multiple files for parallel loading and saving in multi-node training.
  • Fused GPU Kernel Composition - Provides fused CUDA kernels that combine multiple neural operations into single GPU kernels to reduce memory bandwidth and launch overhead.
  • Selective State Space Models - Processes sequences using recurrent state updates that capture long-range dependencies with linear complexity.
  • Hybrid Model Architectures - Builds large language models that interleave standard attention with linear attention and state space layers to balance efficiency and global context.
  • Hybrid Layer Compositions - Supports building hybrid sequence models that interleave standard attention with linear attention and state space layers.
  • Hybrid Architecture Builders - Provides a system for building hybrid sequence models that interleave standard attention with linear attention and state space layers within a single model architecture.
  • Long-Context Sequence Processors - Trains and deploys sequence models that process long contexts with reduced memory and compute overhead using linear attention and state space mechanisms.
  • Token Mixing Accelerators - Provides hardware-optimized token mixing layers and fused CUDA kernels that minimize memory bandwidth and launch overhead across different GPU architectures.
  • Fused Token Mixing Kernels - Runs fused GPU kernels for token mixing operations that minimize memory bandwidth and launch overhead across different GPU architectures.
  • Streaming Dataset Loaders - Includes a streaming dataset pipeline that feeds training data from disk or network in real-time without loading the entire dataset into memory.
  • Kernel Dispatchers - Implements hardware-aware kernel dispatch that selects optimized CUDA kernels at runtime based on GPU architecture and tensor shapes.
  • Multi-Node Training Scaling - Distributes training across multiple GPU nodes by setting environment variables for inter-node communication.
  • Hybrid State Space Toolkits - Provides a toolkit for constructing hybrid sequence models that combine standard attention with linear and state space layers.
  • Model Checkpoint Converters - Transforms Hugging Face format checkpoints into the distributed format needed for training.
  • Domain-Adaptive Continued Pretraining - Supports continuing training from a pretrained checkpoint using fresh data.
  • Checkpoint Format Transpilations - Provides a weight format transpilation utility for converting between Hugging Face and distributed checkpoint formats.
  • Training Checkpointers - Automatically continues training from the last saved checkpoint after an interruption.
  • From-Scratch Training - Trains a new sequence model from scratch using a configurable script with optimizers and schedulers.
  • Model Weight Conversions - Transforms model checkpoints between Hugging Face format and distributed training formats by remapping tensor layouts and metadata.

Historique des stars

Graphique de l'historique des stars pour fla-org/flash-linear-attentionGraphique de l'historique des stars pour fla-org/flash-linear-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 Linear Attention

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Flash Linear Attention.
  • rlinf/rlinfAvatar de RLinf

    RLinf/RLinf

    2,502Voir sur GitHub↗

    RLinf is a distributed reinforcement learning orchestrator and embodied AI training framework. It provides the infrastructure to train vision-language-action models and robotic policies using a combination of reinforcement learning and supervised fine-tuning. The system is designed for scaling workloads across GPU clusters, managing the placement of actors, rollout workers, and environment components. It features a specialized robotics data collection pipeline for gathering teleoperated demonstrations and simulation trajectories into standardized replay buffers, alongside a hardware interface

    Pythonagentic-aiembodied-aireinforcement-learning
    Voir sur GitHub↗2,502
  • openvla/openvlaAvatar de openvla

    openvla/openvla

    5,305Voir sur GitHub↗

    OpenVLA is a vision-language-action model and framework designed for general-purpose robotic manipulation. It provides a robotic policy training framework and a control inference engine that map visual and textual inputs to robotic control actions, enabling zero-shot instruction following on hardware. The project includes a robotics dataset pipeline for standardizing diverse trajectory data and managing dataset mixtures. It supports large-scale model training through distributed GPU compute and sharded data parallelism, alongside parameter-efficient adaptation for fine-tuning models to new ta

    Python
    Voir sur GitHub↗5,305
  • datawhalechina/so-large-lmAvatar de datawhalechina

    datawhalechina/so-large-lm

    7,400Voir sur GitHub↗

    This project is a comprehensive educational curriculum and structured learning path covering the full lifecycle of large language models. It provides a guided progression through the theory, architecture, training, and deployment of these models. The curriculum includes specialized guides on transformer architecture, model training tutorials, and frameworks for designing autonomous agents. It also provides dedicated resources for studying model safety and ethics. The material covers a wide range of technical capabilities, including distributed training strategies, parameter-efficient fine-tu

    Voir sur GitHub↗7,400
  • open-mmlab/mmagicAvatar de open-mmlab

    open-mmlab/mmagic

    7,434Voir sur GitHub↗

    mmagic is a multimodal training pipeline and framework for generative AI, focusing on visual synthesis and restoration. It provides the infrastructure to build and train models for tasks such as text-to-image and text-to-video generation, 3D-aware content synthesis, and high-fidelity image translation using diffusion models and generative adversarial networks. The project distinguishes itself through specialized capabilities for generative model personalization, including techniques for fine-tuning subjects and styles. It also supports advanced visual manipulations such as latent space interp

    Jupyter Notebookaigccomputer-visiondeep-learning
    Voir sur GitHub↗7,434
Voir les 30 alternatives à Flash Linear Attention→

Questions fréquentes

Que fait fla-org/flash-linear-attention ?

Flash Linear Attention is a training framework and inference engine for sequence models that use linear attention and state space mechanisms, designed to process long contexts with reduced memory and compute overhead. It provides hardware-optimized token mixing layers and fused CUDA kernels that minimize memory bandwidth and launch overhead across different GPU architectures, and includes a causal inference engine that generates text token-by-token using cached hidden…

Quelles sont les fonctionnalités principales de fla-org/flash-linear-attention ?

Les fonctionnalités principales de fla-org/flash-linear-attention sont : Linear Attention Training Frameworks, Autoregressive Inference Engines, Distributed Model Checkpointing, Fused GPU Kernel Composition, Selective State Space Models, Hybrid Model Architectures, Hybrid Layer Compositions, Hybrid Architecture Builders.

Quelles sont les alternatives open-source à fla-org/flash-linear-attention ?

Les alternatives open-source à fla-org/flash-linear-attention incluent : rlinf/rlinf — RLinf is a distributed reinforcement learning orchestrator and embodied AI training framework. It provides the… openvla/openvla — OpenVLA is a vision-language-action model and framework designed for general-purpose robotic manipulation. It provides… datawhalechina/so-large-lm — This project is a comprehensive educational curriculum and structured learning path covering the full lifecycle of… open-mmlab/mmagic — mmagic is a multimodal training pipeline and framework for generative AI, focusing on visual synthesis and… facebookresearch/xformers — xformers is a collection of specialized toolsets for fused GPU operators, sparse attention mechanisms, modular… meta-llama/llama3 — Llama 3 is a collection of pretrained, autoregressive transformer-based models designed for natural language…