应用介绍
OVERVIEW使用说明
NVIDIA 版本
- 在
https://huggingface.co/注册账号并获取模型权限创建 token。 - 机器上有 NVIDIA GPU。
- 修改
/etc/docker/daemon.json并增加:
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
- 安装 nvidia-container-runtime 和 nvidia-docker2 组件。
NVIDIA GB10 DSpark 版本
- 仅适用于两台固定配置的 NVIDIA GB10 服务器,主节点为
10.0.1.1,工作节点为10.0.1.2。 - 主节点必须能够免密 SSH 到
10.0.1.2,两台机器都需要安装 Docker、NVIDIA Container Toolkit,并提供可用的 RoCE/InfiniBand 设备。 - 启动参数、网卡和节点地址保存在应用版本目录的
.env,双机启动和停止分别使用scripts/start.sh与scripts/stop.sh。
Ascend 310P 版本
- 宿主机需要已安装 Ascend 驱动/CANN,执行
npu-smi info能正常看到 NPU。 - 确认宿主机存在
/dev/davinci*、/dev/davinci_manager、/dev/devmm_svm、/dev/hisi_hdc等设备文件。 - Ascend 版本的 Compose 已经显式挂载 NPU 设备和驱动目录,不需要开启通用 GPU 配置。
- Atlas 300I DUO / Ascend 310P 不建议使用
triton或triton-ascend。如果遇到module 'triton' has no attribute 'language',请检查容器内是否残留相关包并卸载。 - 推荐优先使用 Qwen3 W8A8SC-310 适配模型;Qwen3.5/Qwen3.6 属于预览支持,需要按模型说明调整启动参数。
产品介绍
vLLM is a fast and easy-to-use library for LLM inference and serving.
vLLM is fast with:
- State-of-the-art serving throughput
- Efficient management of attention key and value memory with PagedAttention
- Continuous batching of incoming requests
- Fast model execution with CUDA/HIP graph
- Quantizations: GPTQ, AWQ, INT4, INT8, and FP8.
- Optimized CUDA kernels, including integration with FlashAttention and FlashInfer.
- Speculative decoding
- Chunked prefill
Performance benchmark: We include a performance benchmark that compares the performance of vLLM against other LLM serving engines (TensorRT-LLM, text-generation-inference and lmdeploy).
vLLM is flexible and easy to use with:
- Seamless integration with popular Hugging Face models
- High-throughput serving with various decoding algorithms, including parallel sampling, beam search, and more
- Tensor parallelism and pipeline parallelism support for distributed inference
- Streaming outputs
- OpenAI-compatible API server
- Support NVIDIA GPUs, AMD CPUs and GPUs, Intel CPUs and GPUs, PowerPC CPUs, TPU, and AWS Neuron.
- Prefix caching support
- Multi-lora support
vLLM seamlessly supports most popular open-source models on HuggingFace, including:
- Transformer-like LLMs (e.g., Llama)
- Mixture-of-Expert LLMs (e.g., Mixtral)
- Embedding Models (e.g. E5-Mistral)
- Multi-modal LLMs (e.g., LLaVA)
Find the full list of supported models here.
版本与部署参数
VERSIONS以下信息来自开源应用包模板,仅用于技术参考;尚未转换成可直接使用的 Cockpit 安装配置。
版本 nvidia-gb10-dspark-0.1.1↓ 下载 docker-compose.yaml
配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填VLLM_API_KEYAPI Key敏感信息配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填HUGGING_FACE_HUB_TOKENHugging Face Token敏感信息MODELModel必填原始模板存在特定平台的网络或环境变量依赖,不能直接作为 Cockpit 安装文件使用。
配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填HUGGING_FACE_HUB_TOKENHugging Face Token敏感信息MODELModel必填原始模板存在特定平台的网络或环境变量依赖,不能直接作为 Cockpit 安装文件使用。
版本 intel-0.14.0-b8.3.1↓ 下载 docker-compose.yaml
配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填MODEL_DIR模型目录必填MODEL_NAME模型名称必填START_COMMAND启动命令必填原始模板存在特定平台的网络或环境变量依赖,不能直接作为 Cockpit 安装文件使用。
版本 ascend-0.23.0-openeuler↓ 下载 docker-compose.yaml
配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填MODEL_DIR模型目录必填MODEL_NAME模型名称必填ASCEND_RT_VISIBLE_DEVICESAscend 可见设备必填START_COMMAND启动命令必填原始模板存在特定平台的网络或环境变量依赖,不能直接作为 Cockpit 安装文件使用。
版本 ascend-0.23.0-310p↓ 下载 docker-compose.yaml
配置字段
参数说明属性
PANEL_APP_PORT_HTTP端口必填MODEL_DIR模型目录必填MODEL_NAME模型名称必填ASCEND_RT_VISIBLE_DEVICESAscend 可见设备必填START_COMMAND启动命令必填原始模板存在特定平台的网络或环境变量依赖,不能直接作为 Cockpit 安装文件使用。