User Preparation
PyTorch/ONNX/TensorFlow/Caffe scenario
Any user (root or non-root) is allowed to perform the AMCT installation procedure. This section uses a non-root user as an example.
- To install MindCmd as the root user, skip this section.
- To install MindCmd as an existing non-root user, ensure that the user has the read, write, and execute permissions on the $HOME directory.
- To install MindCmd as a new non-root user, perform the following steps as the root user. The following uses a new non-root user as an example.
- Create a Mind Studio installation user and set the user's $HOME directory:
useradd -d /home/username -m username
- Set the user password:
passwd username
username is the name of the AMCT installation user. The umask value of the user must be at least 0027.- You can check the umask value by running the umask command.
- You can change the umask value by running the umask NewValue command.
- Create a Mind Studio installation user and set the user's $HOME directory:
TensorFlow and Ascend
Perform AMCT installation as the user who has installed CANN in the online inference environment. This section uses a non-root user as an example.
For details about non-root user rights, see section "Preparing for the InstallationPreparing for Installation and Running Users" in.
Parent topic: Preparing for Installation