thomaschlt / mla.c
Implementation from scratch in C of the Multi-head latent attention used in the Deepseek-v3 technical paper.
☆15Updated 2 months ago
Alternatives and similar repositories for mla.c:
Users that are interested in mla.c are comparing it to the libraries listed below
- 方便扩展的Cuda算子理解和优化框架,仅用在学习使用☆13Updated 9 months ago
- Transformers components but in Triton☆32Updated last week
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆111Updated 3 months ago
- Decoding Attention is specially optimized for MHA, MQA, GQA and MLA using CUDA core for the decoding stage of LLM inference.☆35Updated 3 weeks ago
- Efficient, Flexible, and Highly Fault-Tolerant Model Service Management Based on SGLang☆44Updated 4 months ago
- ☆52Updated this week
- TileFusion is an experimental C++ macro kernel template library that elevates the abstraction level in CUDA C for tile processing.☆74Updated this week
- Vocabulary Parallelism☆17Updated 3 weeks ago
- Quantized Attention on GPU☆45Updated 4 months ago
- A Suite for Parallel Inference of Diffusion Transformers (DiTs) on multi-GPU Clusters☆44Updated 8 months ago
- A simple calculation for LLM MFU.☆29Updated 3 weeks ago
- Benchmark tests supporting the TiledCUDA library.☆15Updated 4 months ago
- Sequence-level 1F1B schedule for LLMs.☆17Updated 9 months ago
- ☆75Updated this week
- A minimal implementation of vllm.☆37Updated 8 months ago
- Framework to reduce autotune overhead to zero for well known deployments.☆63Updated this week
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆66Updated this week
- Estimate MFU for DeepSeekV3☆21Updated 2 months ago
- ☆19Updated 6 months ago
- ☆45Updated 9 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆68Updated 9 months ago
- TensorRT LLM Benchmark Configuration☆13Updated 8 months ago
- GPTQ inference TVM kernel☆38Updated 11 months ago
- ☆65Updated 3 months ago
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆44Updated 5 months ago
- A practical way of learning Swizzle☆16Updated last month
- Beyond KV Caching: Shared Attention for Efficient LLMs☆16Updated 8 months ago
- Elixir: Train a Large Language Model on a Small GPU Cluster☆14Updated last year
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆39Updated last year
- Cascade Speculative Drafting☆29Updated 11 months ago