pypi ultralytics 8.4.54
v8.4.54 - `ultralytics 8.4.54` Qualcomm QNN export (#24591)

5 hours ago

🌟 Summary

Ultralytics v8.4.54 is led by a big new deployment feature: local Qualcomm QNN export for Snapdragon devices πŸ“±βš‘, plus several quality-of-life improvements for Solutions, export docs, tuning compatibility, and data-loading reliability.

πŸ“Š Key Changes

  • πŸš€ New qnn export format for Qualcomm Snapdragon devices

    • You can now export YOLO models to Qualcomm QNN with format="qnn".
    • This compiles a model locally into a QNN-ready package using ONNX Runtime’s QNN Execution Provider.
    • No Qualcomm account, no cloud upload, and no separate Qualcomm SDK download are required.
    • Works with Snapdragon targets including CPU, GPU, and Hexagon NPU paths.
    • Example:
      from ultralytics import YOLO
      
      model = YOLO("yolo26n.pt")
      model.export(format="qnn")
  • πŸ“¦ New QNN backend support for inference/validation workflows

    • Exported QNN models can now fit into the normal Ultralytics workflow more cleanly.
    • QNN is registered as a supported export target, with dedicated backend and docs support.
    • End-to-end export is automatically disabled for QNN where unsupported, helping avoid invalid configurations.
  • πŸ“˜ Major export documentation cleanup and standardization

    • Integration docs across many formats were reorganized into a clearer Export / Predict / Validate structure.
    • A full new guide for Qualcomm QNN was added.
    • This makes deployment paths easier to understand across formats like ONNX, TensorRT, OpenVINO, NCNN, TFLite, CoreML, and more.
  • πŸ–ΌοΈ imgsz added to all Ultralytics Solutions

    • All Solutions now support the imgsz argument, giving users direct control over inference input size.
    • This also improves logging so reported input shapes better reflect the real model input.
  • πŸ› οΈ Better robustness for segmentation and image caching

    • Fixed semantic segmentation mask loading when masks appear as (H, W, 1) instead of plain single-channel arrays.
    • Fixed stale .npy image cache issues that could cause grayscale models to accidentally load RGB data.
  • 🧠 Tracking utility optimization

    • Reduced some SciPy dependency usage in tracking internals by replacing parts with NumPy equivalents.
    • This helps simplify dependencies and improve maintainability.
  • 🎯 Ray Tune compatibility improvement

    • Updated tuner trial ID handling to work correctly with Ray 2.7+ while keeping support for older versions.
  • 🧾 Small but useful documentation updates

    • Validation docs now include show_labels and show_conf.
    • Prediction docs now explicitly list .jpeg2000 as a supported image format.
  • πŸ”¬ Semantic segmentation loss dtype fix

    • Improved dtype consistency in segmentation loss computation, especially helpful for mixed-precision training paths.

🎯 Purpose & Impact

  • πŸ“± Big win for edge/mobile deployment

    • The new QNN export makes it much easier to deploy YOLO on Qualcomm Snapdragon hardware.
    • This is especially valuable for mobile, embedded, automotive, and low-power AI use cases.
  • ⚑ Faster path to production on Snapdragon

    • Users can now go from a standard YOLO model to a Snapdragon-ready export without extra accounts or vendor tooling setup.
    • That lowers friction for developers evaluating on-device AI.
  • 🧩 More consistent deployment experience

    • Standardized export docs make it easier for both beginners and experienced users to compare formats and follow the right steps.
  • πŸŽ›οΈ More control in packaged Solutions

    • Adding imgsz to Solutions gives users a simple way to trade off speed vs. accuracy, just like in normal YOLO inference.
  • πŸ›‘οΈ More reliable training and inference

    • The mask-loading and grayscale cache fixes reduce confusing failures caused by edge-case dataset formats or stale cache files.
  • πŸ”„ Better compatibility with modern tooling

    • Ray Tune improvements help users keep hyperparameter tuning workflows working across newer environments.
  • πŸ‘€ Cleaner debugging and validation visuals

    • The documented show_labels and show_conf options make validation outputs easier to customize for analysis.

Overall, v8.4.54 is a strong release for anyone interested in device deployment, especially on Qualcomm Snapdragon, while also tightening up reliability and usability across the broader Ultralytics ecosystem πŸš€

What's Changed

Full Changelog: v8.4.53...v8.4.54

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.