Classify pet images with DeiT-Tiny and Arm VGF using ExecuTorch
Introduction
Understand the DeiT-Tiny deployment workflow
Prepare ExecuTorch and build the VGF runner
Fine-tune DeiT-Tiny on pet images
Quantize and export DeiT-Tiny to VGF
Classify a pet image and verify VGF execution
Next Steps
Classify pet images with DeiT-Tiny and Arm VGF using ExecuTorch
Who is this for?
This Learning Path is for machine learning (ML) developers who want to deploy an image classifier with ExecuTorch and Arm VGF using the ML SDK for Vulkan's host emulation layers.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Prepare ExecuTorch, the ML SDK for Vulkan, and a VGF runner on a Linux host.
- Fine-tune DeiT-Tiny on the Oxford-IIIT Pet dataset and export a quantized VGF-backed ExecuTorch program.
- Classify a pet image with the VGF-backed ExecuTorch program.
- Compare the predicted breed with the dataset label and confirm VGF execution on the host.
Prerequisites
Before starting, you will need the following:
- An Arm Linux development machine
- A working Vulkan 1.3 or later GPU driver with
shaderFloat64support for the packaged ML emulation layer - Internet access and sufficient disk space for the source code, SDK, Oxford-IIIT Pet dataset, and model checkpoints
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
arm_test/deit_vgf/export.log. Then, run test -s arm_test/deit_vgf/deit_quantized_vgf.pte to confirm that the exported program exists and isn’t empty. The log also reports the host accuracy check on 100 test images.[1, 3, 224, 224], and the dataset’s Expected breed. The helper also saves input.bin for the runner. The Expected breed at this stage is a reference label, not a model prediction.