Parameter Description
Select corresponding parameters to install the software.
Command format: ./install.sh [options]
Table 1 describes the parameters. You can run the ./install.sh --help command to view the options of the following parameters.
Parameter |
Description |
|---|---|
--help, -h |
Query help information. |
--check |
Check the environment to ensure that components such as Python 3.7.5 and Ansible have been installed on the controller, and check the connectivity between the controller and the device to be installed. |
--clean |
Delete the resources directory from the home directory of the installation user. |
--nocopy |
Resources are not copied during batch installation. This parameter must be used together with --install=<package_name> or --install-scene=<scene_name>. |
--force_upgrade_npu |
Forcibly upgrade the NPUs when not all cards are abnormal. |
--tensorflow_version |
Specify the TensorFlow version to be installed to 1.15.0 or 2.6.5. If no version is specified, TensorFlow 1.15.0 is installed by default. This parameter must be used together with --install=<package_name> or --install-scene=<scene_name>. |
--kernels_type |
Specify the operator package type, which can be nnae or toolkit. If the value is not specified, nnae is used by default. This parameter must be used together with --install=<package_name>. |
--verbose |
Print detailed information. |
--output-file=<output_file> |
File of the outputs from the redirection command. |
--stdout_callback=<callback_name> |
Set the output format of the command. You can run the ansible-doc -t callback -l command to view the available parameters. |
--install=<package_name> |
Software-specific installation |
--install-scene=<scene_name> |
Scenario-specific installation. For details about the installation scenarios, see Optional Installation Scenarios. |
--patch=<package_name> |
Patch specified software. |
--patch-rollback=<package_name> |
Roll back the patch of the specified software. |
--test=<target> |
Check whether a specified component can work properly. |