ztxz16/fastllm

fastllm是后端无依赖的高性能大模型推理库。同时支持张量并行推理稠密模型和混合模式推理MOE模型,任意10G以上显卡即可推理满血DeepSeek。双路9004/9005服务器+单显卡部署DeepSeek满血满精度原版模型,单并发20tps;INT4量化模型单并发30tps,多并发可达60+。

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 36 minutes ago
Added to GitGenius on September 13th, 2026
Created on May 13th, 2023
Open Issues & Pull Requests: 329 (+0)
GitHub issues: Enabled
Number of forks: 494
Total Stargazers: 5,041 (+3)
Total Subscribers: 63 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.1 hours
Mean response time: 50.0 days
90th percentile: 47.3 days
Tracked items: 185

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 69% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 6% of issues opened in the past year have been closed. Three people close 66% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 147
New in 7 days: 9
Closed in 7 days: 1
Avg open age: 336 days
Stale 30+ days: 134
Stale 90+ days: 119

Recent activity

Opened in 7 days: 9
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 5

Top labels

No label distribution available yet.

Detailed Description

FastLLM is a high-performance inference engine for large language models designed for local execution and service deployment. The core runtime is implemented in C++ without PyTorch dependencies, supporting both dense models and mixture-of-experts architectures across CUDA, ROCm, CPU, NUMA, and disk-based inference with multi-card tensor parallelism capabilities.

The tool addresses the challenge of efficiently running large models on resource-constrained hardware by enabling flexible device placement and mixed-mode inference. Its approach distributes model layers across different compute resources—GPUs, CPUs, NUMA nodes, and storage—allowing users to run full-precision models on systems with limited VRAM but sufficient system memory or SSD capacity. The engine includes speculative decoding paths, multiple quantization formats, paged KV caching, and prefix caching to optimize throughput and latency.

Developers should choose this tool if they need to deploy large models locally with hardware constraints or require high-throughput inference services. It suits scenarios where a single GPU lacks sufficient memory for a model but the host system has ample CPU memory or storage. The project provides command-line interfaces, a web UI, performance benchmarking tools, and API services compatible with OpenAI Chat Completions and Anthropic Messages standards. The README emphasizes that operator support varies across different model architectures, quantization formats, and hardware backends, so validation with target hardware and models is necessary before production deployment.

Development activity shows consistent focus on expanding model coverage and optimization techniques. The project maintains active support for recent model families including Qwen, DeepSeek, Kimi, and GLM variants with specialized handling for their architectural features. Work spans multiple inference optimization strategies including speculative decoding variants, mixed-precision quantization paths, and attention mechanism optimizations. The codebase includes extensible backend infrastructure with built-in operators for multiple platforms and provisions for custom Python model graphs and third-party accelerator integration.