MaxText 是 AI Skill Hub 本期精选AI工具之一。已获得 2.3k 颗 GitHub Star,综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
MaxText 是一款基于 Python 开发的开源工具,专注于 LLM、Jax、Python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
MaxText 是一款基于 Python 开发的开源工具,专注于 LLM、Jax、Python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install maxtext
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install maxtext
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/AI-Hypercomputer/maxtext
cd maxtext
pip install -e .
# 验证安装
python -c "import maxtext; print('安装成功')"
# 命令行使用
maxtext --help
# 基本用法
maxtext input_file -o output_file
# Python 代码中调用
import maxtext
# 示例
result = maxtext.process("input")
print(result)
# maxtext 配置文件示例(config.yml) app: name: "maxtext" debug: false log_level: "INFO" # 运行时指定配置文件 maxtext --config config.yml # 或通过环境变量配置 export MAXTEXT_API_KEY="your-key" export MAXTEXT_OUTPUT_DIR="./output"
NOTE: We recommend running MaxText with Python 3.12, as it is our primary supported version. Other Python versions may encounter compatibility issues.
MaxText is a high performance, highly scalable, open-source LLM library and reference implementation written in pure Python/JAX and targeting Google Cloud TPUs and GPUs for training.
MaxText provides a library of high performance models to choose from, including Gemma, Llama, DeepSeek, Qwen, and Mistral. For each of these models, MaxText supports pre-training (up to tens of thousands of chips) and scalable post-training, with popular techniques like Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO, a type of Reinforcement Learning) and Group Sequence Policy Optimization (GSPO, a type of Reinforcement Learning).
MaxText achieves high Model FLOPs Utilization (MFU) and tokens/second from single host to very large clusters while staying simple and largely "optimization-free" thanks to the power of JAX and the XLA compiler.
MaxText is the launching point for ambitious LLM projects both in research and production. We encourage you to start by experimenting with MaxText out of the box and then fork and modify MaxText to meet your needs.
Check out our Read The Docs site or directly Get Started with your first MaxText run. If you’re interested in Diffusion models (Wan 2.1, Flux, etc), see the MaxDiffusion repository in our AI Hypercomputer GitHub organization.
See our installation guide to install MaxText with pip from PyPI.
MaxText provides a library of models and demonstrates how to perform pre-training or post-training with high performance and scale.
MaxText leverages JAX AI libraries and presents a cohesive and comprehensive demonstration of training at scale by using Flax (neural networks), Tunix (post-training), Orbax (checkpointing), Optax (optimization), and Grain (dataloading).
In addition to pure text-based LLMs, we also support multi-modal training with Gemma 3, Gemma 4, and Llama 4 VLMs.
高性能、可扩展的LLM工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,MaxText 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | maxtext |
| Topics | LLMJaxPythonAI |
| GitHub | https://github.com/AI-Hypercomputer/maxtext |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-05 · 更新时间:2026-06-05 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。