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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
SJTU-IPADS avatar

SJTU-IPADS/PowerInfer

0
View on GitHub↗
9,568 stars·581 forks·C++·MIT·8 views

PowerInfer

PowerInfer is an inference engine and serving framework designed to run large language models on local hardware. It combines a hybrid CPU-GPU offloader, a quantization tool, and a sparse model optimizer to enable the execution of high-parameter models on consumer-grade devices.

The system distinguishes itself through neuron-activation-based offloading, using a predictor model to preload frequent neurons into VRAM while keeping rare neurons in system memory. This hybrid execution model balances workloads between the GPU and CPU based on input patterns to optimize memory access and increase token throughput.

The project includes tools for 4-bit weight quantization, sparse-weight format conversion, and budget-based VRAM allocation to prevent system crashes. It also provides a web service interface for hosting models and a performance measurement tool for calculating model perplexity.

The software supports cross-platform deployment across Windows, AMD devices, and mobile hardware.

Features

  • Hybrid Execution Engines - Provides a hybrid execution engine that splits model computation between CPU and GPU with automatic memory offloading.
  • Neuron Activation Offloading - Distributes computation between GPU and CPU by predicting which neurons will activate based on input patterns.
  • CPU-GPU Workload Balancing - Implements a scheduling system that distributes computation tasks between the CPU and GPU to maximize processing efficiency.
  • Inference Acceleration - Increases token throughput and processing speed by optimizing memory access and reducing active parameters.
  • Large Language Model Serving - Hosts and exposes large language models via an API, enabling high-parameter models to run on consumer hardware.
  • CPU-GPU Hybrid Runtimes - Balances workloads by executing active parameters on the GPU and fallback computations on the CPU.
  • Local Inference Engines - Implements a software framework for running large language models on local hardware using hybrid CPU and GPU execution.
  • Model Inference Optimizations - Accelerates inference by reducing active parameters and optimizing memory access patterns for constrained hardware.
  • Weight Offloading - Distributes network components between GPU and CPU memory to balance VRAM consumption and execution speed.
  • Weight Quantization - Implements 4-bit weight quantization to compress model parameters and reduce the memory footprint on consumer hardware.
  • Model Layer Offloading - Manages VRAM and offloads model layers between CPU and GPU to run oversized models on consumer hardware.
  • Neuron-Activation Preloading - Optimizes memory access by preloading frequent neurons onto the GPU and computing rare ones on the CPU.
  • Predictive Memory Preloading - Uses a small predictor model to preload frequent neurons into VRAM while keeping rare ones in system memory.
  • Cross-Hardware Model Inference - Enables model inference across diverse platforms including Windows, AMD devices, and mobile hardware.
  • Local Model Serving - Deploys large language models on personal hardware to provide a web API for external applications.
  • Model Sparsification - Reduces active parameters during execution to increase token throughput and improve processing speed.
  • Weight Conversion Utilities - Transforms standard model weights into specialized sparse structures optimized for fast local retrieval and inference.
  • Model Serving APIs - Provides a web service interface that allows external clients to send batched generation requests to hosted models.
  • Model Serving Frameworks - Ships a web service framework for hosting large language models with batch generation and API access.
  • Weight Quantization Tools - Provides a utility for compressing model weights into 4-bit integers to reduce memory requirements.
  • Cross-Platform Execution - Supports the execution of large language models across various operating systems and hardware architectures.
  • VRAM Budget Controllers - Controls GPU memory usage through configurable limits and index resets to prevent system crashes during execution.
  • VRAM Budget Management - Manages GPU memory usage via budget settings and index resets to prevent system crashes during execution.
  • Inference Frameworks - Fast serving optimized for consumer-grade hardware.
  • Local LLM Execution - High-speed inference engine for deploying models locally.
  • Model Pruning and Sparsity - Enables fast serving on consumer-grade hardware.
  • Model Serving & Deployment - Leverages activation locality for CPU/GPU LLM inference.

Star history

Star history chart for sjtu-ipads/powerinferStar history chart for sjtu-ipads/powerinfer

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does sjtu-ipads/powerinfer do?

PowerInfer is an inference engine and serving framework designed to run large language models on local hardware. It combines a hybrid CPU-GPU offloader, a quantization tool, and a sparse model optimizer to enable the execution of high-parameter models on consumer-grade devices.

What are the main features of sjtu-ipads/powerinfer?

The main features of sjtu-ipads/powerinfer are: Hybrid Execution Engines, Neuron Activation Offloading, CPU-GPU Workload Balancing, Inference Acceleration, Large Language Model Serving, CPU-GPU Hybrid Runtimes, Local Inference Engines, Model Inference Optimizations.

What are some open-source alternatives to sjtu-ipads/powerinfer?

Open-source alternatives to sjtu-ipads/powerinfer include: openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… ggerganov/llama.cpp — llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… fminference/flexgen — FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple… microsoft/deepspeed — DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of… internlm/lmdeploy — lmdeploy is a high-performance inference engine and deployment framework for large language models and vision models.…

Open-source alternatives to PowerInfer

Similar open-source projects, ranked by how many features they share with PowerInfer.
  • openbmb/minicpmOpenBMB avatar

    OpenBMB/MiniCPM

    9,464View on GitHub↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Jupyter Notebook
    View on GitHub↗9,464
  • ggerganov/llama.cppggerganov avatar

    ggerganov/llama.cpp

    116,912View on GitHub↗

    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++
    View on GitHub↗116,912
  • sgl-project/sglangsgl-project avatar

    sgl-project/sglang

    29,079View on GitHub↗

    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

    Pythonattentionblackwellcuda
    View on GitHub↗29,079
  • fminference/flexgenFMInference avatar

    FMInference/FlexGen

    9,366View on GitHub↗

    FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple GPUs. It functions as a framework for managing model execution through a combination of memory offloading, weight compression, and pipeline orchestration. The system enables the execution of models that exceed available GPU memory by moving tensors and caches between GPU memory, system RAM, and disk storage. It utilizes 4-bit weight quantization to reduce the memory footprint of model parameters, allowing for increased batch processing capacity. The project covers distributed

    Python
    View on GitHub↗9,366
  • See all 30 alternatives to PowerInfer→