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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Tiiny-AI avatar

Tiiny-AI/PowerInfer

0
View on GitHub↗
8,714 Stars·487 Forks·C++·mit·22 Aufrufe

PowerInfer

PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It provides a runtime for executing models on consumer-grade hardware, utilizing a GPU acceleration backend to optimize tensor operations for graphics processors.

The system distinguishes itself through a sparse inference framework that increases generation speed by skipping computations based on activation sparsity in model weights. It includes a GGUF model converter for transforming weights and metadata into a unified binary format, as well as an OpenAI API compatible server for integrating local models with existing chat clients.

The project covers broad capability areas including distributed model inference across multiple nodes, GPU hardware acceleration for Apple Metal and other processors, and structured text generation using formal grammars to constrain outputs. It also implements memory management techniques such as hybrid memory offloading, weight quantization, and CPU core affinity binding.

Features

  • Local Inference Engines - Implements a high-performance local inference engine designed for executing LLMs on consumer-grade hardware.
  • Sparse Model Architectures - Increases generation speed by identifying and ignoring inactive neurons based on activation sparsity.
  • Apple Hardware Acceleration - Executes computation graphs on Apple hardware by mapping host memory buffers to GPU kernels.
  • GPU-Accelerated Inference - Provides a GPU acceleration backend optimized for high-throughput inference of large language models.
  • Hardware Acceleration Backends - Maps tensor operations to specialized GPU compute kernels and shaders to maximize hardware acceleration.
  • Local Language Model Execution - Provides a runtime for executing large language model prompts locally with configurable sampling parameters.
  • Metal API Optimizations - Executes tensor operations and activation functions using Metal shaders on compatible hardware.
  • GGUF Format Conversions - Converts model weights and metadata into the GGUF binary format for efficient local loading.
  • Weight Offloading - Partitions network weights between video memory and system RAM based on activation patterns to fit large models.
  • Weight Quantization - Reduces the precision of model weights using various bit-widths to lower memory requirements and accelerate inference.
  • Sparse Inference Frameworks - Implements a sparse inference framework that increases generation speed by exploiting activation sparsity.
  • Text Completion Engines - Implements an engine for predicting the next sequence of tokens from a prompt using configurable sampling parameters.
  • Memory Offloading Frameworks - Offloads model tensors and dense layers to video memory to increase computation speed.
  • Hardware Acceleration - Offloads model tensors and computations to graphics hardware and Apple Metal for improved performance.
  • OpenAI-Compatible APIs - Exposes standard HTTP endpoints matching the OpenAI specification for compatibility with external AI clients.
  • Asynchronous Tensor Loading - Implements asynchronous loading of model weights to overlap data transfer with active GPU computation.
  • Batch Inference Engines - Provides a deployment server capable of processing multiple inference requests simultaneously to increase throughput.
  • Batched Response Generation - Produces multiple independent text completions from a single prompt to increase inference throughput.
  • Distributed Inference Engines - Splits compute graphs into slices and distributes them across multiple nodes for parallel execution.
  • Distributed Model Execution - Executes large model workloads spread across multiple compute devices to increase processing speed.
  • Output Constraint Engines - Uses formal grammars to enforce structured output formats like JSON during text generation.
  • OpenAI-Compatible Inference Servers - Hosts a local model server that mimics OpenAI API endpoints for ecosystem interoperability.
  • Tensor Memory Management - Allocates and manages memory buffers for tensors and computation graphs across diverse hardware backends.
  • Memory-Constrained Inference - Limits the total memory used during inference to enable the execution of large models on low-RAM devices.
  • Multi-GPU Distribution - Splits tensors across multiple available graphics devices to balance the computational load.
  • Structured Output Generators - Forces language models to produce strictly typed, machine-readable data formats using formal grammars.
  • Grammar-Constrained Samplers - Uses formal grammars to restrict token generation and enforce structured output formats like JSON.
  • Model Weight Conversions - Transforms model weights into specialized formats required for optimized sparse inference.
  • Inference Batching - Groups multiple independent requests into a single compute pass to maximize hardware utilization.
  • Compute Graph Slicing - Splits the compute graph into segments and distributes them across multiple nodes to parallelize model execution.
  • CPU Affinity Binding - Binds execution threads to high-performance CPU cores to minimize scheduling latency and maximize generation speed.
  • GPU Memory Allocators - Manages direct allocation and transfer of tensor data buffers within GPU hardware memory.

Star-Verlauf

Star-Verlauf für tiiny-ai/powerinferStar-Verlauf für tiiny-ai/powerinfer

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu PowerInfer

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit PowerInfer.
  • openvinotoolkit/openvinoAvatar von openvinotoolkit

    openvinotoolkit/openvino

    10,414Auf GitHub ansehen↗

    OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models across CPUs, GPUs, and NPUs through a unified API. It includes a model optimization toolkit for converting, quantizing, and compressing models from various frameworks, alongside a specialized generative AI runtime for large language models. The project distinguishes itself through a plugin-based hardware acceleration layer that maps neural network operations to vendor-specific drivers. It features advanced execution mechanisms such as continuous batching, speculative decoding, and

    C++aicomputer-visiondeep-learning
    Auf GitHub ansehen↗10,414
  • ggerganov/llama.cppAvatar von ggerganov

    ggerganov/llama.cpp

    116,912Auf GitHub ansehen↗

    llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across various hardware architectures. It provides the core components for local model execution, including a dedicated model quantizer for compressing weights into the GGUF format and a system for generating text embeddings for semantic search. The project distinguishes itself through specialized memory and execution optimizations, such as block-wise weight quantization to reduce memory footprints and memory-mapped model loading. It supports structured text generation by using formal

    C++
    Auf GitHub ansehen↗116,912
  • predibase/loraxAvatar von predibase

    predibase/lorax

    3,724Auf GitHub ansehen↗

    Lorax is a GPU-accelerated inference server and multi-adapter engine designed for serving large language models. It functions as a high-throughput system capable of deploying models via Kubernetes and managing the dynamic swapping of Low-Rank Adaptation adapters per request. The server distinguishes itself through multi-adapter dynamic batching, which allows requests using different adapter weights to be processed in a single GPU forward pass. It employs just-in-time adapter loading and weighted adapter merging to maximize throughput and enable multi-tasking without sacrificing performance.

    Pythonfine-tuninggptllama
    Auf GitHub ansehen↗3,724
  • opennmt/ctranslate2Avatar von OpenNMT

    OpenNMT/CTranslate2

    4,319Auf GitHub ansehen↗

    CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di

    C++avxavx2cpp
    Auf GitHub ansehen↗4,319
Alle 30 Alternativen zu PowerInfer anzeigen→

Häufig gestellte Fragen

Was macht tiiny-ai/powerinfer?

PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It provides a runtime for executing models on consumer-grade hardware, utilizing a GPU acceleration backend to optimize tensor operations for graphics processors.

Was sind die Hauptfunktionen von tiiny-ai/powerinfer?

Die Hauptfunktionen von tiiny-ai/powerinfer sind: Local Inference Engines, Sparse Model Architectures, Apple Hardware Acceleration, GPU-Accelerated Inference, Hardware Acceleration Backends, Local Language Model Execution, Metal API Optimizations, GGUF Format Conversions.

Welche Open-Source-Alternativen gibt es zu tiiny-ai/powerinfer?

Open-Source-Alternativen zu tiiny-ai/powerinfer sind unter anderem: openvinotoolkit/openvino — OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models… ggerganov/llama.cpp — llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across… predibase/lorax — Lorax is a GPU-accelerated inference server and multi-adapter engine designed for serving large language models. It… opennmt/ctranslate2 — CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and… pytorch/executorch — ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It… zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning…