pypi ultralytics 8.4.173
v8.4.173 - `ultralytics 8.4.173` Add AMD Xilinx Vitis AI export for Versal AI Edge Gen 2 NPUs (#26519)

2 hours ago

🌟 Summary

Version 8.4.173 adds native AMD Xilinx export for Versal AI Edge Series Gen 2 NPUs, opening a new path to deploy Ultralytics models on AMD edge hardware.

πŸ“Š Key Changes

  • πŸš€ New xilinx export format β€” Export models through AMD Quark to a quantized ONNX model and Vitis AI configuration. The format also accepts vitis, vitisai, and versal as aliases.
  • 🧠 Mixed-precision deployment β€” Most of the model is quantized to INT8, while the head is kept in floating point for the Vitis AI compiler to run in BF16. The export can be validated on a CPU before deployment; AMD’s Vitis AI tools compile it into a .rai model for the NPU.
  • 🎯 Specific hardware support β€” The native export targets Versal AI Edge Gen 2 devices, including the VEK385. Older Zynq, Kria, and first-generation Versal devices still require their separate AMD workflows.
  • πŸ“š Expanded AMD guidance β€” New documentation explains export and deployment, hardware compatibility, and which model operations may run on the NPU versus the CPU.
  • 🐳 Smaller Docker images β€” Removed unnecessary OpenCV GUI and other system packages from several images. Reported root-filesystem savings range from about 184 MB to 305 MB, depending on the image. GUI display remains possible by installing the GUI OpenCV build when needed.
  • πŸ”§ Additional maintenance β€” PyTorch dependency support was broadened, and several documentation links and Markdown rendering issues were corrected.

🎯 Purpose & Impact

  • βœ… Makes it easier to take Ultralytics models from export through validation to deployment on supported AMD Versal Gen 2 hardware.
  • βš™οΈ INT8 quantization can reduce the model’s deployment footprint, while keeping the head in BF16 helps preserve accuracy. Actual accuracy and speed depend on calibration data, compilation, and the target device.
  • πŸ“Œ The new export is not a universal Xilinx export: deploying on older AMD Xilinx hardware requires the device-specific flows described in the guide.
  • πŸ’Ύ Leaner Docker images reduce storage and download costs; users who need graphical OpenCV features must install them explicitly.

What's Changed

Full Changelog: v8.4.172...v8.4.173

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.