AIGPU

vLLM

用于大语言模型的高吞吐量和内存高效的推理和服务引擎

应用资料已收录 仅供查阅,暂不支持 Cockpit 直接安装

应用介绍

OVERVIEW

使用说明

NVIDIA 版本

  1. 在 https://huggingface.co/ 注册账号并获取模型权限创建 token。
  2. 机器上有 NVIDIA GPU。
  3. 修改 /etc/docker/daemon.json 并增加:
   "runtimes": {
      "nvidia": {
      "path": "nvidia-container-runtime",
      "runtimeArgs": []
      }
   }
  1. 安装 nvidia-container-runtime 和 nvidia-docker2 组件。

NVIDIA GB10 DSpark 版本

  1. 仅适用于两台固定配置的 NVIDIA GB10 服务器,主节点为 10.0.1.1,工作节点为 10.0.1.2。
  2. 主节点必须能够免密 SSH 到 10.0.1.2,两台机器都需要安装 Docker、NVIDIA Container Toolkit,并提供可用的 RoCE/InfiniBand 设备。
  3. 启动参数、网卡和节点地址保存在应用版本目录的 .env,双机启动和停止分别使用 scripts/start.sh 与 scripts/stop.sh。

Ascend 310P 版本

  1. 宿主机需要已安装 Ascend 驱动/CANN,执行 npu-smi info 能正常看到 NPU。
  2. 确认宿主机存在 /dev/davinci*、/dev/davinci_manager、/dev/devmm_svm、/dev/hisi_hdc 等设备文件。
  3. Ascend 版本的 Compose 已经显式挂载 NPU 设备和驱动目录,不需要开启通用 GPU 配置。
  4. Atlas 300I DUO / Ascend 310P 不建议使用 triton 或 triton-ascend。如果遇到 module 'triton' has no attribute 'language',请检查容器内是否残留相关包并卸载。
  5. 推荐优先使用 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敏感信息