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
Review 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.
Use the ExecuTorch 1.5.1 release for both the Python package and the native source. This release uses stable PyTorch and TorchAO.
No. The listed packages provide Vulkan libraries and tools but don’t install a vendor-specific driver. Ensure that your GPU’s Vulkan driver is installed and working before building and running the VGF runner.
The Learning Path helper handles checkpoint compatibility, image preparation, and breed decoding.
Check that the exporter reports the output path in
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.You’ll see the input image path, the tensor shape
[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.