Required Component
The required components vary depending on the vNPU creation or mounting method.
Components Required for Creating vNPUs
You can create vNPUs in either of the following ways:
- Static virtualization: Use the npu-smi tool to manually create vNPUs.
- Dynamic virtualization: Use the following MindCluster components to create vNPUs.
- Method 1: Manually create vNPUs using Ascend Docker Runtime. When the container process ends, vNPUs are automatically destroyed.
- Method 2: Use Volcano and Ascend Device Plugin to dynamically and automatically create vNPUs. When the container process ends, vNPUs are automatically destroyed.
Components Required for Mounting vNPUs
You can use either of following methods to mount vNPU to a container.
- Native Docker (only for static virtualization)
- MindCluster components (for static and dynamic virtualization)
- Method 1: Use Ascend Docker Runtime and Docker to mount vNPUs. (This method is more convenient than using only the native Docker.)
- Method 2: Use Kubernetes to mount vNPUs.
Installation Description
- After the driver is installed, the npu-smi tool is installed by default. (For details, see "Installing the NPU Driver and Firmware" in CANN Software Installation Guide (Commercial Edition) or "Installing the NPU Driver and Firmware" in CANN Software Installation Guide (Community Edition).) After the installation is successful, the npu-smi tool is stored in /usr/local/sbin/ and /usr/local/bin/.
- Install Ascend Docker Runtime, Ascend Device Plugin, and Volcano by referring to Installation and Deployment.
- Install Docker by referring to Installing Docker.
- Install Kubernetes by referring to Installing Kubernetes.
Parent topic: Virtual Instance