pypi ultralytics 8.4.227
v8.4.227 - `ultralytics 8.4.227` More accurate QNN W8A16 exports with per-channel weight scales (#27540)

one hour ago

🌟 Summary

Ultralytics 8.4.227 improves Qualcomm QNN export accuracy and makes model training, validation, and deployment more reliable and efficient.

📊 Key Changes

  • More accurate QNN W8A16 exports: The main change uses a separate weight scale for each output channel, helping preserve smaller-weight channels that could otherwise be lost during quantization. On Snapdragon X Elite, YOLO26s at 640 gained 0.038 mAP50-95 compared with the previous W8A16 export, bringing it closer to FP32 accuracy.
  • More reliable model exports and loading: QNN models can now be loaded multiple times in one process and exported again into a folder containing an earlier export. Reduced-precision exports with embedded NMS also better preserve duplicate-box suppression.
  • More faithful evaluation for rotated boxes: OBB validation now uses polygon IoU rather than ProbIoU, aligning scores more closely with the actual overlap of rotated boxes and DOTA-style evaluation.
  • Improved depth and segmentation workflows: OpenVINO INT8 depth exports keep depth-decoding operations in floating point to avoid restricting predicted depth. Segmentation training and JSON validation also receive fixes and performance improvements.
  • Faster operations and better resilience: Updates speed up several validation, training, and CPU prediction tasks. GPU monitoring now continues reporting healthy GPUs if one GPU’s metrics fail, and YOLO-World/YOLOE training can proceed with read-only datasets.
  • Clearer guidance and Platform documentation: The release adds practical fine-tuning advice for preserving existing classes and updates Platform documentation for API limits, billing, and other behaviors.

🎯 Purpose & Impact

  • Better edge-device accuracy: Per-channel QNN quantization can reduce the accuracy gap between compact INT8-weight exports and FP32 models, especially for wider models such as YOLO26s.
  • Fewer deployment interruptions: Re-exporting or using multiple QNN models in one process is less likely to require manual cleanup or separate processes.
  • More meaningful OBB scores: Rotated-box metrics now reflect geometric overlap more directly, making validation results easier to interpret.
  • Smoother everyday workflows: Faster validation and training, safer dataset handling, and more complete GPU monitoring help reduce friction for developers and users.

What's Changed

  • Docs: fine-tune one class without forgetting the others, and Platform predict API limits by @pderrenger in #27515
  • Auditor 2026-12-03: Predict limit is 60/min, P2/P6 freeze values, a data.yaml path that resolves by @UltralyticsAssistant in #27518
  • Platform docs: predict rate limit is 100 requests/min per account by @glenn-jocher in #27523
  • Report every working GPU when one GPU's metrics fail by @glenn-jocher in #27524
  • Apply cls_pw class weights and the label plot to polygon semantic training with rect=True by @Vaishnavi220506 in #27527
  • Apply datasets_dir settings updates without restarting the process by @raimbekovm in #27517
  • Refuse to auto-split a classification root that holds only split folders by @raimbekovm in #27513
  • Stop YOLOE visual prompts on a stream from leaving a second camera connection open by @AhmetMert01 in #27530
  • Faster segmentation val with save_json=True by encoding each image's masks in one pass by @raimbekovm in #27525
  • Fix loading multiple QNN models in one process by @vnk8071 in #27528
  • Faster rotated NMS and OBB validation matching by computing ProbIoU's shared terms once by @Keval-P in #27512
  • Keep the full depth range in OpenVINO INT8 depth exports by @cainiao33 in #27526
  • Score OBB validation with polygon IoU instead of ProbIoU by @MohammadHijjawi97 in #27423
  • Docs: billed image predict API, API key error messages, Trash limit=0, Ultralytics VLM1 FAQs by @pderrenger in #27533
  • Auditor 2026-12-04: On Premise previews need a browser on the connected computer by @UltralyticsAssistant in #27535
  • Remove duplicate boxes from reduced-precision exports with nms=True by @raimbekovm in #27520
  • Explain how to load early YOLOv8 checkpoints that need omegaconf by @mohammedmanalodi in #27531
  • Faster segmentation training by computing the mask loss once per group of images by @raimbekovm in #27537
  • Faster CPU semantic segmentation predict by upsampling contiguous logits by @Keval-P in #27541
  • Faster segmentation val with save_json=True by scoring COCO masks on their exported RLE by @raimbekovm in #27534
  • Train YOLO-World and YOLOE on read-only dataset directories by @raimbekovm in #27538
  • Faster val with save_json=True by encoding predictions.json in one call and scoring the records in memory by @raimbekovm in #27532
  • Faster rotated NMS, segmentation augmentation, batch normalization and Results.summary(), with identical outputs by @Keval-P in #27543
  • Allow re-exporting QNN models into a folder that already has one by @glenn-jocher in #27548
  • Respect verbose=False for the Solutions config log by @mohammedmanalodi in #27546
  • ultralytics 8.4.227 More accurate QNN W8A16 exports with per-channel weight scales by @vnk8071 in #27540

New Contributors

Full Changelog: v8.4.226...v8.4.227

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.