Beta feature/resource | Product involved | Description |
hpcpni3ln instance optimized for High-Performance Computing based on GPU | The HPC instance, providing computing power. The model has a large number of parameters and therefore requires a GPU instance with large memory, e.g., ecs.hpcpni3ln.45xlarge. | |
Capability of mounting nodes to local disks | You can configure the local disk mounting in the VKE cluster. |
Parameter | Description |
Cluster configuration | |
Kubernetes version | Select version 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 the ecs.hpcpni3ln.45xlarge instance family of the High Performance Computing Optimized type that you applied for the beta trial. |
High Performance Computing Cluster | Select the HPC cluster you created. |
Number of nodes | 1 |
Operating system | Click Public images > Ubuntu > Ubuntu 20.04 with GPU Driver 535.161.08 and doca. |
Data volume | Configure the following two data volumes:
Warning
|
Node labels | When you deploy the 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 the model in the VKE. Select topology-manager-policy and set the value to best-effort. |
Addon configuration | |
nvidia-device-plugin | (Required) NVIDIA device driver, which is a management add-on that allows use of GPU devices in containers. |
rdma-device-plugin | (Required) Management add-on for RDMA NICs, which enables pod containers to use RDMA devices. |
apig-controller | (Required) APIG controller, which works as a cloud-native AI gateway providing intelligent load balancing for inference traffic based on policies. |
csi-ebs | (Required) To ensure successful deployment, which involves multiple interdependent add-ons and various configurations, you need to precisely follow the instructions in this document. |
prometheus-agent | (Recommended) Monitoring add-on for Volcengine Managed Service for Prometheus (VMP), which collects and sends metrics of Kubernetes clusters to VMP. |
keda | (Recommended) Event-driven autoscaler based on Kubernetes. It 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. |
Parameter | Description |
Orchestration template | |
Application template | Select a Chart version for seed-oss-36b-instruct-vllm. We recommend that you select the latest version. |
Parameter configuration | Configure parameters for the application deployment. Click the Edit icon to view the configuration description of various parameters in the values.yaml file or edit the YAML file. |
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 | Select a namespace under the target cluster. |
Protocol | Read and understand the agreement before selecting it. |
Parameter | Description |
Basic configuration | |
Namespace | Select the namespace where the seed-oss-36b-instruct-vllm 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. tip When you use the API Gateway to expose the model service in the clusters, we recommend that you 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 Round Robin. 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 the service that was named in the pattern <application name>-api-svc and associated with the application created based on the seed-oss-36b-instruct-vllm application template, and then set the port number to 8080. |