chitu is a free, open source machine learning infrastructure project written in Python and released under Apache-2.0. It has 3,001 GitHub stars, 259 forks and 57 open issues, and was last pushed 15 hours ago. On this registry it ranks #39 of 57 tracked projects in Machine Learning Infrastructure, with 5 head-to-head comparisons available. It gained 3 stars over the last 3 tracked days.

What is chitu?

What it is

Chitu is an open-source Python inference framework for large language models. It lives in the PyTorch GPU model-serving ecosystem, with topics including deepseek, llm-serving, model-serving, and pytorch, and it is Apache-2.0 licensed. The project describes itself as a high-performance engine focused on efficiency, flexibility, and availability for production deployment.

The concrete problem is running large language models on diverse compute resources without a fixed hardware stack. Its milestones describe support for NVIDIA, Huawei Ascend, Moore Threads, Muxi, and Hygon devices, plus pure CPU, single GPU, all-in-one machine, and cluster scenarios. It also targets models such as DeepSeek-R1 671B, Qwen, GLM, and Kimi, with milestones describing quantization, single-card inference, and cluster deployment.

Key capabilities

  • It provides accelerator support across NVIDIA, Huawei Ascend, Moore Threads, Muxi, and Hygon hardware, as indicated by milestones and the multi-compute adaptation section.
  • It supports DeepSeek, Qwen, GLM, and Kimi model families, including DeepSeek-R1 671B and GLM-4.5 MoE on Ascend 910B.
  • It includes quantization and dtype conversion operators, including FP4 online to FP8 and BF16, FP8 online to BF16, and DeepSeek-R1 671B FP4 quantized model support.
  • It supports CPU+GPU heterogeneous mixed inference, which v0.2.2 says enables single-card inference of DeepSeek-R1 671B.
  • It scales from pure CPU and single GPU to large clusters, and v0.6.0 adds chitu.run for launching multi-node, multi-instance, and PD-separated tasks.

Who uses it and how

  • Teams deploying DeepSeek-R1 671B on a single card can use the CPU+GPU path and quantization operators described in milestones.
  • Organizations with mixed NVIDIA and domestic accelerator fleets can use Chitu as a common serving layer for supported models.
  • Engineers preparing all-in-one machine inference can follow v0.4.0 emphasis on stability and performance for such deployments.
  • Operators building multi-node or PD-separated serving topologies can use chitu.run to start tasks from a single executable.

Getting started

The README recommends deploying with the chitu.run executable from GitHub Releases and consulting the development manual for installation and usage. It also points to supported-model documentation.

When to use it — and when not to

Chitu is useful when a self-hosted team needs an Apache-2.0 Python inference framework targeting multiple GPU vendors, CPU+GPU mixed inference, and cluster-scale LLM serving. It is less suitable when an organization needs guaranteed support, because the README says the team cannot ensure timely resolution of all user issues. It also requires operators to manage hardware, deployment topology, performance validation, and model selection, since performance data depends on hardware, software version, and test load.

project readme (upstream, from github) — read inline

Chitu「赤兔」

Ask DeepWiki

中文 | English

Chitu「赤兔」是一个专注于效率、灵活性和可用性的高性能大模型推理框架。

里程碑

  • [2026/07/02] 发布 v0.6.0,新增 chitu.run 可执行文件:单文件即可启动多结点、多实例、PD 分离等复杂任务。
  • [2026/02/06] 发布 v0.5.1,适配摩尔线程 GPU。
  • [2025/12/12] 发布 v0.5.0,重点提升集群部署场景的性能。
  • [2025/08/01] 发布 v0.4.0,大幅提升了一体机推理部署场景的性能和稳定性,适配昇腾、英伟达、沐曦、海光,支持 DeepSeek、Qwen、GLM、Kimi 等模型。
  • [2025/07/28] 发布 v0.3.9,首发支持华为昇腾 910B 推理部署智谱 GLM-4.5 MoE 模型。
  • [2025/06/12] 发布 v0.3.5,提供昇腾 910B 完整原生支持,提供 Qwen3 系列模型高性能推理方案。
  • [2025/04/29] 发布 v0.3.0,新增 FP4 在线转 FP8、BF16 的高效算子实现,支持 DeepSeek-R1 671B 的 FP4 量化版
  • [2025/04/18] 发布 v0.2.2,新增 CPU+GPU 异构混合推理支持,实现单卡推理 DeepSeek-R1 671B。
  • [2025/03/14] 发布 v0.1.0,支持 DeepSeek-R1 671B,提供 FP8 在线转 BF16 的高效算子实现。

简介

赤兔定位于「生产级大模型推理引擎」,充分考虑企业 AI 落地从小规模试验到大规模部署的渐进式需求,专注于提供以下重要特性:

  • 多元算力适配:不仅支持 NVIDIA 最新旗舰到旧款的多系列产品,也为国产芯片提供优化支持。
  • 全场景可伸缩:从纯 CPU 部署、单 GPU 部署到大规模集群部署,赤兔引擎提供可扩展的解决方案。
  • 长期稳定运行:可应用于实际生产环境,稳定性足以承载并发业务流量。

项目团队感谢广大用户及开源社区提出的宝贵意见和建议,并将持续改进赤兔推理引擎。 然而,受制于团队成员的精力,无法保证及时解决所有用户在使用中遇到问题。 如需专业技术服务,欢迎致信 [email protected]

测试数据

请参阅赤兔开发团队测试的性能数据,也欢迎分享您的自测数据

性能数据与您的硬件配置、软件版本、测试负载相关,多次测试结果可能存在波动。

安装使用

建议使用 chitu.run 进行部署,请从 Releases 中的 Assets 页面下载。

请参阅开发手册获取完整的安装使用说明。

查看支持的模型

更多模型请参见 支持的模型

参与开发

赤兔项目欢迎开源社区的朋友们参与项目共建,请参阅贡献指南

交流讨论

如果您有任何问题或疑虑,欢迎提交issue。

您也可以扫码加入赤兔交流微信群:

许可证

本项目采用 Apache License v2.0 许可证 - 详见 LICENSE 文件。

本代码仓库还引用了一些来自其他开源项目的代码片段,相关版权信息已在代码中以 SPDX 格式标注。这些代码片段的许可证信息可以在 LICENSES/ 目录下找到。

本代码仓库还包含遵循其他开源许可证的第三方子模块。您可以在 third_party/ 目录下找到这些子模块,该目录中包含了它们各自的许可证文件。

常见问题

中文 | English

致谢

非常感谢来自华为、沐曦、海光、燧原、智谱、中国电信、并行科技等各方的帮助。

在构建 Chitu 的过程中,我们从以下项目(按字母排序)中学到了很多,并复用了一些函数:

我们将持续为开源社区贡献更高效、更灵活、更兼容、更稳定的大模型推理部署解决方案。

Frequently asked questions

Is chitu free to use?

chitu is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does chitu do?

High-performance inference framework for large language models, focusing on efficiency, flexibility, and availability.

What is chitu written in?

chitu is primarily written in Python. Its source is publicly available at https://github.com/thu-pacman/chitu, and it has 3,001 GitHub stars.