What Do I Do If Model Conversion Takes Too Long When the Development Environment Architecture Is Arm (AArch64)?
Symptom
Model conversion takes a long time when the OS and architecture configuration of the development environment is Arm (AArch64).
Solutions
Use the numactl tool to specify the CPU cores for model conversion as follows:
- Log in to the development environment as the ATC installation user and run the su root command to switch to the root user.
- Ensure that the development environment has Internet access, and run the following command to install the numactl tool:
yum -y install numactl
- Switch to the ATC installation user and run the numactl -C command to specify CPU cores 16–31 to process model conversion:
CPU cores 16–31 are recommended for better processing performance. You can also change the CPU cores as required.
numactl -C 16-31 --localalloc <args>
Replace <args> with the actual ATC model conversion command.
Parent topic: FAQs