After the driver has been installed, you need to run related processes as a non-root user. Therefore, create a running user before the installation.
You can obtain the NPU version from the driver package name. For example, if the driver package name is A300-3000-NPU_Driver-20.0.0-ARM64-Ubuntu18.04.run, the NPU version is 20.0.0.
Table 9-2 Software packagesSoftware Package Version
|
Running User
|
Procedure
|
NPU 21.0.X
|
|
- If the created user is HwHiAiUser, you can directly install the software packages as the HwHiAiUser user. The default installation user is HwHiAiUser. If the HwHiAiUser user does not exist during RPM package installation, the system automatically creates the user.
- If the created user is not HwHiAiUser, you need to specify the running user (by using the --install-username=username --install-usergroup=user group parameter) when installing the driver software package. Perform the following operations to create a running user:
- Log in to the server where the Atlas 300I inference card (model 3000) is installed.
- Create a running user as the root user.
# groupadd usergroup
# useradd -g usergroup -d /home/username -m username -s /bin/bash
|
NPU 20.2.X
|
NPU 20.1.X
|
NPU 20.0.X
|
HwHiAiUser
|
- Log in to the server where the Atlas 300I inference card (model 3000) is installed.
- Create a running user as the root user.
# groupadd HwHiAiUser
# useradd -g HwHiAiUser -d /home/HwHiAiUser -m HwHiAiUser -s /bin/bash
|
NPU 1.X.X
|