Verifying ACL
If ACL acceleration is enabled, verify basic functions and then the ACL function. The test cases are all from the examples code repository.
- Go to the /path/to/pytorch/examples/mnist directory.
cd /path/to/pytorch/examples/mnist
- Download the Python dependency package.
pip install torchvision==0.16.2 --no-deps
- Run the test case.
python3 main.py
The execution result is as follows:

The mnist test case contains multiple epochs and the training takes a long time. You only need to complete the training of one epoch for function verification.
Parent topic: Running and Verification