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.
1cd /path/to/pytorch/examples/mnist
- Download the Python dependency package.
1pip install torchvision==0.16.2 --no-deps
- Run the test case.
1python3 main.pyThe 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