Category | open source | Optimized |
Inference engine | SGLang (open source edition) | xLLM (self-developed by Volcano Engine) |
Input/Output | 3500/1500 | 3500/1500 |
TTFT (ms) | <=5000 | <=5000 |
TPOT (ms) | <=50 | <=50 |
Parallel strategy | TP | PD disaggregation, DP, TP, and EP. |
Single-GPU throughput (TPS) | 167.4 | 669 |
Configuration item | Description |
Cluster configuration | |
Kubernetes version | Select v1.28 or later. |
Network model | Select VPC-CNI. |
Node pool configuration | |
Managed node pool | Enable managed node pool. |
Availability zone | Same availability zone as the High-Performance Compute Cluster. |
Instance type | Select ecs.hpcpni3ln, the GPU Accelerated specification. Ensure you already obtained permission for trial of the beta version. |
High Performance Computing Cluster | Select the HPC cluster you created. |
Number of nodes | 2 nodes. |
Data volume | Configure the following two data volumes:
warning
|
Node labels | When you deploy the DeepSeek model by using VKE, you need to specify the RDMA usage mode by using node labels. Set the label key to vke.node.rdma.mode and the label value to shared. |
Kubelet configs | The non-uniform memory access (NUMA) affinity policy for RDMA devices needs to be configured by using custom parameters with the Kubelet when deploying DeepSeek model in the VKE. Select the parameter topology-manager-policy and parameter value best-effort. |
Addon configuration | |
nvidia-device-plugin | (Required) The NVIDIA device driver. It allows use of management add-ons for GPUs in containers. |
rdma-device-plugin | (Required) The add-on manages RDMA network interface cards (NICs) and enables pod containers to use RDMA devices. |
apig-controller | (Required) The API Gateway controller provides cloud-native AI gateway capabilities and enables intelligent load balancing for inference traffic based on different policies. |
csi-ebs | (Required) It enables VKE clusters to use the standard CSI implementation for Elastic Block Storage (EBS). |
prometheus-agent | (Required) Volcengine Managed Service for Prometheus (VMP) monitoring add-on collects the monitoring metrics data of the Kubernetes cluster to VMP. |
apmplus-opentelemetry-collector | (Not supported yet) Collect OpenTelemetry data and Prometheus metrics, and send them to APMPlus. |
apmplus-server-agent | (Not supported yet) It collects and sends monitoring data of services and hosts to APMPlus. |
cr-credential-controller | (Recommended) It can pull Container Registry (CR) images without passwords, which simplifies deployment operations. |
keda | (Recommended) The event-driven autoscaler based on Kubernetes completes the autoscaler tasks of the inference service based on complex metrics. |
vci-virtual-kubelet | (Recommended) It can deploy CPU-consuming workloads such as system add-ons by using Volcengine Container Instance (VCI), which eliminates the need for operation and maintenance (O&M) and does not occupy the computing resources of GPU nodes. |
Configuration item | Description |
Orchestration template | |
Application template | Select the Chart version of deepseek-v3-xllm-pd or deepseek-r1-xllm-pd. We recommend that you select the latest version. |
Parameter configuration | The configuration method of deepseek-v3-xllm-pd or deepseek-r1-xllm-pd. Click the edit icon to edit the values.yaml file, and update the YAML file based on the YAML file parameter description in the following table. |
Name | Customize the application name according to the naming requirements prompted by the interface. |
Deployment environment | |
Cluster | Select the VKE cluster created in Prerequisites. |
Namespace | Customize and select the namespace under the target cluster. |
Protocol | Read and understand the agreement, and then select the checkbox to accept it. |
Configuration item | Description |
Basic configuration | |
Namespace | Select the namespace where the deepseek-v3-xllm-pd or deepseek-r1-xllm-pd application template is deployed to associate the service exposed by the application. |
Ingress configuration | |
Ingress type | Select Cloud-native API gateway. |
APIG specification settings | |
Gateway specifications | You can select Automatically create, or select Use existing APIG instances. tip When you are using the API Gateway to expose the model service in the clusters, we recommend you to configure the following parameters or features (Some parameters can only be configured in the APIG console, and cannot be configured in the VKE console):
|
Backend upstream | We recommend that you set the Load balancing algorithm parameter to Poll. It is more applicable to the scenarios of upgrading back-ends if the back-end loads are approximately balanced. |
Listener configuration | |
Protocol | Select a protocol as needed. If HTTPS is selected, you need to configure the certificate as described in the document APIG Ingress. |
Forwarding configuration | |
Domain name | Fill in the Ingress domain name to be exposed. The A (Address) record of this domain name needs to be configured later with the public or private IP address generated when the Ingress is successfully created. |
Service | Select a service that is created when you deploy the deepseek-v3-xllm-pd or deepseek-r1-xllm-pd application template and set the port number to 80. The name of the service is in the format of <application name>-<template name>-httpsvc. |