...
The VivanteIDE is installed correctly if you want to generate NBG cases from the ACUITY Toolkit. Please refer to this document: VivanteIDE Install
2.
...
Version Information
The VIP9000 NPU driver Acuity Toolkit and ViviantelIDE need to match the version
VIP9000 NPU Kernel Driver | Acuity Toolkit | ViviantelIDE |
v6.4.13.8 | 6.18.1 | 5.7.2 |
v6.4.15.9 | 6.21.1 | 5.8.2 |
3. Binary Toolkit
3.1. Install Procedure
Extract the ACUITY package, Verisilicon_Tool_Acuity_Toolkit_<version>.tgz, to a destination directory. There are two versions of the toolkit, Please confirm the version that needs to be installed:
acuity-toolkit-binary-6.18.1, matches the VIP9000-NPU kernel driver v6.4.13.8
acuity-toolkit-binary-6.21.1, matches the VIP9000-NPU kernel driver v6.4.15.9
From this directory, locate and unpack the binary package acuity-toolkit-binary-<version>.tgz. When the unpacking is completed, the installation finishes.
...
3.2. Toolkit Verification
Switch to the ./acuity-toolkit-binary-<version>/bin directory.
Set the environment variable ACUITY_PATH as follows, which will used to execute the ACUITY binary tools
Execute binary file
Code Block |
---|
user@linux:~/c3v/acuity-toolkit-binary-6.21.1/bin$ ./pegasus -h yang.luo@ti-d630:~/c3v/acuity-toolkit-binary-6.21.1/bin$ ./pegasus usage: pegasus [-h] {import,export,generate,prune,inference,quantize,train,dump,measure,help} ... Pegasus commands. positional arguments: {import,export,generate,prune,inference,quantize,train,dump,measure,help} import Import models. export Export models. generate Generate metas. prune prune models. inference Inference model and get result. quantize Quantize model. train Train model. dump Dump model activations. measure Get amount of calculation, parameter and activation. help Print a synopsis and a list of commands. optional arguments: -h, --help show this help message and exit |
...
4. Wheel
...
Toolkit
...
4.1. Install Procedure
Install requirement packages
acuity-toolkit-6.18.1. Matches the VIP9000-NPU kernel driver v6.4.13.8
...
Code Block |
---|
pip3 install ./acuity-*.whl |
...
4.2. Toolkit Verification
Switch to the ./acuity-toolkit-whl-<version>/bin directory.
Execute python file
...