AI Skill Hub 强烈推荐:LM部署工具 是一款优质的AI工具。已获得 7.9k 颗 GitHub Star,AI 综合评分 8.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
LM部署工具 是一款基于 Python 开发的开源工具,专注于 AI、LLM、部署 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
LM部署工具 是一款基于 Python 开发的开源工具,专注于 AI、LLM、部署 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install lmdeploy
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install lmdeploy
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/InternLM/lmdeploy
cd lmdeploy
pip install -e .
# 验证安装
python -c "import lmdeploy; print('安装成功')"
# 命令行使用
lmdeploy --help
# 基本用法
lmdeploy input_file -o output_file
# Python 代码中调用
import lmdeploy
# 示例
result = lmdeploy.process("input")
print(result)
# lmdeploy 配置文件示例(config.yml) app: name: "lmdeploy" debug: false log_level: "INFO" # 运行时指定配置文件 lmdeploy --config config.yml # 或通过环境变量配置 export LMDEPLOY_API_KEY="your-key" export LMDEPLOY_OUTPUT_DIR="./output"
📘Documentation | 🛠️Quick Start | 🤔Reporting Issues
</div>
______________________________________________________________________
LMDeploy is a toolkit for compressing, deploying, and serving LLM, developed by the MMRazor and MMDeploy teams. It has the following core features:
It is recommended installing lmdeploy using pip in a conda environment (python 3.10 - 3.13):
conda create -n lmdeploy python=3.12 -y
conda activate lmdeploy
pip install lmdeploy
Starting from v0.13.0, the default prebuilt wheels published on PyPI are built against CUDA 12.8, so pip install lmdeploy is sufficient for typical setups including GeForce RTX 50 series.
Please review getting_started section for the basic usage of LMDeploy.
For detailed user guides and advanced guides, please refer to our tutorials:
| LLMs | VLMs |
|
|
LMDeploy has developed two inference engines - TurboMind and PyTorch, each with a different focus. The former strives for ultimate optimization of inference performance, while the latter, developed purely in Python, aims to decrease the barriers for developers.
They differ in the types of supported models and the inference data type. Please refer to this table for each engine's capability and choose the proper one that best fits your actual needs.
高质量的AI模型部署工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,LM部署工具 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | lmdeploy |
| Topics | AILLM部署压缩 |
| GitHub | https://github.com/InternLM/lmdeploy |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-11 · 更新时间:2026-06-11 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。