Help Center/ Cloud Container Engine/ Drawer/ Nodes and Node Pools/ Using a Codec-accelerated Node
Updated on 2025-06-13 GMT+08:00

Using a Codec-accelerated Node

CCE allows you to create codec-accelerated nodes. To ensure these nodes function properly, you must install the necessary drivers and software packages using either a pre- or post-installation command.

Preparations

Submit a service ticket and consult the ECS service to obtain the driver and software packages of the codec-accelerated node.

Software Package

Installation Package Name Format

Example

PCIe driver package

vastai-pci-xxx.rpm

vastai-pci-d3-2-v2-6-a1-6-sp5-xhs-hwtype-video_00.24.06.04_x86_64.rpm

Driver installation dependency package

dkms-xxx.rpm

dkms-2.6.1-6.hce2.noarch.rpm

GCC installation package

gcc_make.tar.gz

gcc_make.tar.gz

container-runtime package

vastai-docker-xxx.rpm

vastai-docker-0.3.8.0-1.el7.x86_64.rpm

VastStream SDK installation package

vaststream-xxx.tar.gz

vaststream-2.1.1_sp3-20230717-d00e24d-x86-av.tar.gz

Tools package

tools-xxx.tar.gz

tools-2.2.1-davp1-202307251819-08bf515-x86-tools.tar.gz

You are advised to pack these installation packages, upload them to an OBS bucket, and make sure that the bucket address is accessible during node creation. The install_pkg.tar.gz package is used as an example.

Installing Drivers and Software Packages Using the Pre- or Post-installation Commands

  • If the version of a cluster is earlier than v1.23.17-r0, v1.25.12-r0, v1.27.9-r0, v1.28.7-r0, or v1.29.3-r0, you can use post-installation command to deliver the driver and software installation commands.

    After clusters are upgraded to v1.23.17-r0, v1.25.12-r0, v1.27.9-r0, v1.28.7-r0, v1.29.3-r0, or later, if a node pool contains a codec-accelerated node, you need to install drivers and software packages using pre-installation command.

  • If the version of a cluster is 1.23.17-r0, 1.25.12-r0, 1.27.9-r0, 1.28.7-r0, 1.29.3-r0, or later, CCE detects the vc1-200t model and automatically modifies the containerd configurations. You can use pre-installation command to deliver the driver and software package installation commands.

Verifying the Installation

  1. After the node is installed, log in to it.
  2. Check whether the driver is installed:

    lsmod |grep vastai_pci

    If information similar to the following is displayed, the installation is successful.

  3. Check the driver version:

    cat /dev/vastai0_version |grep Driver

    Information similar to the following is displayed.

  4. Run the following command to check whether tools are installed:

    vasmi list

    If information similar to the following is displayed, the installation is successful.