Inference Container Upgrade Constraints
- The version of the driver software package in the container must be the same as that on the host. For details, see "Installation in a Container > Before You Start" in the Ascend 310P NPU Driver and Firmware Installation Guide (AI Accelerator Card).
- If the NPU driver is created in the image according to Creating an Inference Image, you do not need to mount the driver directory to a container when deploying the container using FusionDirector. This solution features high security and does not incur container escape.
- If the host driver is upgraded but the version is inconsistent with the driver version of the container, the inference container may fail to be used. In this case, when you need to upgrade the host driver, create a new image by referring to Creating an Inference Image and redeploy the inference container by referring to Deploying an Inference Container.
Export and back up user data in advance.
- If a container is deployed by mounting the driver to the container, the deployed service container can still work properly after the host driver version is upgraded. However, this method needs to enable the Kubeedge native mounting capabilities (such as volume mounting and capability set. For details, see "Tool Usage" in the container_capability_tool document.), which poses container security risks.
Parent topic: Creating and Deploying an Inference Container