awesome-repositories.com
Blog
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
·

6 Repos

Awesome GitHub RepositoriesPrefill Phase Optimizations

Reducing memory consumption during the initial prefill stage of token generation.

Distinct from Memory Optimization: Focuses specifically on the prefill phase rather than general training or overall inference memory.

Explore 6 awesome GitHub repositories matching artificial intelligence & ml · Prefill Phase Optimizations. Refine with filters or upvote what's useful.

Awesome Prefill Phase Optimizations GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • intel/ipex-llmAvatar von intel

    intel/ipex-llm

    8,836Auf GitHub ansehen↗

    Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning on Intel CPUs, GPUs, and NPUs. It provides a distributed inference engine for scaling models across multiple accelerators, a multimodal model runtime for vision and speech tasks, and a low-bit model quantization tool for converting weights into INT4, FP8, and GGUF formats. The project features a parameter-efficient finetuning framework that enables model adaptation using QLoRA and DPO on Intel hardware. It distinguishes itself by providing specialized optimizations for Intel XP

    Reduces memory usage during first token generation to support longer context windows.

    Python
    Auf GitHub ansehen↗8,836
  • meta-pytorch/gpt-fastAvatar von meta-pytorch

    meta-pytorch/gpt-fast

    6,223Auf GitHub ansehen↗

    gpt-fast is a PyTorch transformer inference engine designed for text generation using a native tensor library implementation. It provides a runtime for executing large language models without the need for external C++ extensions. The project implements speculative decoding to accelerate generation by using a small draft model for token prediction and a larger model for verification. It further optimizes performance through a compiled prefill stage and a multi-GPU tensor parallelism library that shards linear layers across multiple graphics processing units. Memory efficiency is managed throu

    Offers a high-performance implementation that optimizes the prefill stage through model compilation.

    Python
    Auf GitHub ansehen↗6,223
  • deepseek-ai/deepseek-vl2Avatar von deepseek-ai

    deepseek-ai/DeepSeek-VL2

    5,302Auf GitHub ansehen↗

    DeepSeek-VL2 ist ein multimodales Large Language Model und Vision-Language-System, das darauf ausgelegt ist, visuelle Szenen zu analysieren und beschreibenden Text zu generieren. Es fungiert als Modell für visuelle Fragenbeantwortung (VQA) und visuelle Verankerung (Visual Grounding), das in der Lage ist, Informationen aus Dokumenten zu extrahieren und spezifische Objekte oder Regionen innerhalb von Bildern basierend auf textuellen Beschreibungen zu lokalisieren. Das Projekt nutzt eine Mixture-of-Experts-Architektur, um kombinierte Bild- und Texteingaben zu verarbeiten. Es ist für die Inferenz durch inkrementelles Prefilling optimiert, was den GPU-Speicherbedarf auf Hardware reduziert. Das Modell deckt multimodale Datenanalyse und visuelles Dokumentenverständnis ab, einschließlich der Interpretation von Diagrammen und Layouts. Es führt visuelle Inferenz und Verankerung durch, um textuelle Anfragen mit entsprechenden visuellen Inhalten abzugleichen.

    Reduces GPU memory consumption during the initial prompt prefill stage via incremental processing.

    Python
    Auf GitHub ansehen↗5,302
  • flashinfer-ai/flashinferAvatar von flashinfer-ai

    flashinfer-ai/flashinfer

    4,996Auf GitHub ansehen↗

    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 fused batch prefill kernels for variable-length sequences with ragged page tables.

    Pythonattentioncudadistributed-inference
    Auf GitHub ansehen↗4,996
  • paddlepaddle/fastdeployAvatar von PaddlePaddle

    PaddlePaddle/FastDeploy

    3,700Auf GitHub ansehen↗

    FastDeploy is a high-performance deployment framework for large language models, vision models, and multimodal models. It provides the infrastructure to launch model services that process combined image, video, and text inputs, exposing these capabilities through a standardized, OpenAI-compatible API for chat and text completions. The project distinguishes itself through advanced inference pipeline engineering and GPU optimization. It employs speculative decoding, tensor parallelism, and a disaggregated execution model that separates prefill and decode phases across different hardware resourc

    Splits large input sequences into smaller subtasks to prevent memory errors during the initial prefill stage.

    Pythonernieernie-45ernie-45-vl
    Auf GitHub ansehen↗3,700
  • sgl-project/mini-sglangAvatar von sgl-project

    sgl-project/mini-sglang

    3,514Auf GitHub ansehen↗

    mini-sglang is a collection of tools for large language model inference, serving as an OpenAI-compatible inference server, a memory-efficient prefill engine, and a tensor parallelism runtime. It also functions as a local batch processing engine for offline benchmarking and ablation studies. The project focuses on acceleration and memory management through a KV cache manager that reuses precomputed caches for shared request prefixes. It handles large model workloads by distributing tasks across multiple GPUs and manages peak memory consumption by splitting long input sequences into smaller chu

    Implements chunked prefill execution to maintain a constant memory ceiling during initial sequence processing.

    Python
    Auf GitHub ansehen↗3,514
  1. Home
  2. Artificial Intelligence & ML
  3. Memory Optimization
  4. Prefill Phase Optimizations

Unter-Tags erkunden

  • Compiled Prefill ImplementationsHigh-performance implementations that use model compilation to optimize the token prefill stage. **Distinct from Prefill Phase Optimizations:** Focuses on the compiled implementation identity rather than just memory optimization techniques.
  • Compiled Prefill StagesOptimizes the initial prompt processing phase using just-in-time compilation for faster token generation. **Distinct from Prefill Phase Optimizations:** Focuses on the compilation method to accelerate prefill, rather than just reducing memory consumption.
  • Compiled PrefillsUse of just-in-time compilation to optimize the initial prompt processing phase. **Distinct from Prefill Phase Optimizations:** Focuses on compilation for speed, whereas Prefill Phase Optimizations is a broader category for memory and general latency reduction.
  • Ragged Batch Prefill Kernels1 Sub-TagGPU kernels for fused batch prefill handling variable-length sequences and ragged page tables via a plan-and-run API. **Distinct from Prefill Phase Optimizations:** Distinct from Prefill Phase Optimizations: focuses on ragged tensor batching and fused kernel execution, not general memory reduction.