awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टMCP सर्वरहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेस
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

6 रिपॉजिटरी

Awesome GitHub RepositoriesSparse Attention Kernels

Specialized kernels for computing self-attention outputs using sparse data structures and masking.

Distinguishing note: Focuses on the kernel-level implementation of sparse attention, distinct from the high-level sparse attention modules.

Explore 6 awesome GitHub repositories matching artificial intelligence & ml · Sparse Attention Kernels. Refine with filters or upvote what's useful.

Awesome Sparse Attention Kernels GitHub Repositories

AI के साथ बेहतरीन रिपॉजिटरी खोजें।हम AI का उपयोग करके सबसे सटीक रिपॉजिटरी खोजेंगे।
  • deepspeedai/deepspeeddeepspeedai का अवतार

    deepspeedai/DeepSpeed

    42,528GitHub पर देखें↗

    DeepSpeed is a high-performance library designed to scale deep learning model training and inference across massive clusters of GPUs and compute nodes. It provides a comprehensive suite of tools for distributed training, enabling the execution of models that exceed the memory capacity of single devices through advanced parameter partitioning, pipeline-based model parallelism, and memory-efficient state offloading. The framework distinguishes itself through specialized communication-efficient optimizers and hardware-aware acceleration techniques. By utilizing gradient compression, quantization

    The framework processes sequences efficiently by computing self-attention outputs using sparse kernels that support relative position embeddings and attention masks.

    Pythonbillion-parameterscompressiondata-parallelism
    GitHub पर देखें↗42,528
  • sgl-project/sglangsgl-project का अवतार

    sgl-project/sglang

    29,079GitHub पर देखें↗

    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

    Improves inference efficiency by automatically activating native sparse attention mechanisms for supported model architectures.

    Pythonattentionblackwellcuda
    GitHub पर देखें↗29,079
  • deepseek-ai/flashmladeepseek-ai का अवतार

    deepseek-ai/FlashMLA

    12,706GitHub पर देखें↗

    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 cov

    Ships attention kernels that use quantized caches to improve efficiency for both sparse and dense token processing.

    C++
    GitHub पर देखें↗12,706
  • facebookresearch/xformersfacebookresearch का अवतार

    facebookresearch/xformers

    10,506GitHub पर देखें↗

    xformers is a collection of specialized toolsets for fused GPU operators, sparse attention mechanisms, modular transformer components, and performance benchmarking. It provides a library of optimized and interoperable building blocks used to construct and experiment with transformer architectures. The project features a fused CUDA operator library that combines common layers into single GPU operations to increase throughput. It includes a sparse attention framework and memory-efficient attention kernels that utilize tiling strategies and structured sparsity patterns to reduce computational ov

    Provides specialized kernels for sparse attention using structured sparsity patterns to handle long sequences.

    Python
    GitHub पर देखें↗10,506
  • tile-ai/tilelangtile-ai का अवतार

    tile-ai/tilelang

    5,226GitHub पर देखें↗

    TileLang is a Python-embedded domain-specific language compiler that JIT-compiles and autotunes GPU kernels. It uses a tile-based DSL, automatic software pipelining, and parallel autotuning to generate optimized GPU kernels at runtime. It supports tensor core operations with Pythonic syntax, automatic memory management, and thread mapping. The compiler searches over tile sizes, thread counts, and scheduling policies, compiling and benchmarking candidates in parallel to find the fastest kernel. It also caches compiled binaries and tuning results to disk for reuse across sessions. TileLang inc

    Sets up the compute graph for attention kernels including matrix multiplication, bias, and type casting.

    Python
    GitHub पर देखें↗5,226
  • flashinfer-ai/flashinferflashinfer-ai का अवतार

    flashinfer-ai/flashinfer

    4,996GitHub पर देखें↗

    FlashInfer is a library of high-performance GPU kernels purpose-built for accelerating large language model inference. It provides optimized implementations for attention operations (including flash attention, page attention, multi-head latent attention, and cascade attention) using paged key-value caches, fused kernel composition, and just-in-time compilation. The library also includes specialized kernels for mixture-of-experts layers, block-scaled low-precision quantization (FP8, FP4), and distributed collective communication. What distinguishes FlashInfer is its fused all-reduce communicat

    Implements block-sparse masked attention kernels that process only non-zero blocks for efficiency.

    Pythonattentioncudadistributed-inference
    GitHub पर देखें↗4,996
  1. Home
  2. Artificial Intelligence & ML
  3. Sparse Attention Kernels

सब-टैग एक्सप्लोर करें

  • Attention Compute Graph BuildersSets up the compute graph for an attention kernel including matrix multiplication, bias, and type casting. **Distinct from Sparse Attention Kernels:** Distinct from Sparse Attention Kernels: focuses on building the compute graph for attention, not sparse attention implementation.
  • Block-Sparse Attention KernelsGPU kernels that compute attention using block-sparse masks to skip zero blocks and save computation. **Distinct from Sparse Attention Kernels:** Distinct from general sparse attention kernels by operating on block-sparse patterns rather than arbitrary sparsity.
  • Quantized Cache KernelsLow-level GPU kernels that utilize quantized key-value caches to improve computation efficiency and reduce memory footprint. **Distinct from Sparse Attention Kernels:** Combines kernel-level attention computation with low-precision cache management, distinct from purely sparse indexing.