Installing or Rolling Back the CANN Patch Package

Restrictions

  • The patch can be used to upgrade only the corresponding baseline version or patch version.
  • For patches based on the same baseline version, ensure that the patch version to be installed is later than the previous patch version.
  • Only one patch version can be rolled back.

Impact of Installation and Rollback

  • Other maintenance operations are not allowed during installation and rollback.
  • Services will be interrupted during patch package installation and rollback.
  • After the patch package is installed or rolled back, services are not affected.

Operations

The installation process is similar to Installation Process. The differences are as follows:

  • The CANN patch package cannot be downloaded online using ascend-deployer. You need to obtain the CANN patch package and place it in the ascend-deployer/resources/patch directory. If the patch directory does not exist, create it. Delete the CANN software package from the ascend-deployer/resources directory before the installation.
  • Run the following commands to install or roll back the CANN cold patches:
    • Run the following command to install the CANN cold patches (NNAE and TFPlugin are used as examples):
      ./install.sh --patch=nnae,tfplugin
    • Run the following command to roll back the CANN cold patches (NNAE and TFPlugin are used as examples):
      ./install.sh --patch-rollback=nnae,tfplugin