pypi ultralytics 8.4.105
v8.4.105 - Fuse distillation checkpoints to the student model (#25415)

5 hours ago

๐ŸŒŸ Summary

v8.4.105 improves reliability for distillation checkpoints, expands YOLO26 deployment options, and enhances CoreML, mobile, Hailo, QNN, Platform, and documentation workflows.

๐Ÿ“Š Key Changes

  • ๐Ÿ› ๏ธ Fixed distillation checkpoint crashes by adding fuse() delegation to DistillationModel. Checkpoints saved during or after interrupted training can now be used with yolo export, predict, and val without failing because the training-only wrapper lacks a fusion method. By @glenn-jocher.
  • ๐Ÿš€ Added YOLO26 depth deployment support for Hailo and Qualcomm QNN, enabling depth estimation on Hailo-8L and Snapdragon devices. Depth outputs are decoded into metric depth maps on the host.
  • ๐Ÿ“ฑ Standardized mobile model input sizes:
    • Classification: 224
    • Detection, segmentation, semantic segmentation, depth, pose, and OBB: 640
  • ๐ŸŽ Improved CoreML dynamic-shape exports for YOLO26 segmentation and depth models by replacing unsupported dynamic-size upsampling with fixed scale-based operations.
  • โš™๏ธ Improved AutoBatch with multi-scale training by aligning memory-profiling sizes to valid model strides, preventing silent fallback or shape errors.
  • ๐Ÿง  Added opt-in CUDA channels_last support for training and native PyTorch prediction, providing reported throughput improvements while preserving accuracy. Standard NCHW behavior remains unchanged by default.
  • ๐Ÿ”ง Improved model fusion and quantization reliability:
    • Fixed convolution fusion for channels_last weights.
    • Corrected ConvTranspose2d + BatchNorm fusion along the proper weight axis.
    • Preserved DFL operations in floating point during OpenVINO INT8 quantization.
    • Fixed CUDA calibration failures caused by inference tensors.
  • ๐Ÿ“ฆ Expanded export compatibility and documentation with more accurate opset and simplify options for ONNX-backed formats such as MNN, RKNN, QNN, DEEPX, Edge TPU, and TensorFlow exports.
  • ๐Ÿงช Improved testing and performance internals:
    • Added targeted depth-loss fuzz combinations.
    • Removed redundant WorldDetect feature-map cloning.
    • Vectorized tracker Kalman-filter operations.
    • Reduced heatmap memory usage and removed unnecessary validator device transfers.
  • ๐Ÿงฐ Improved training and dataset workflows:
    • Fixed RMSprop incorrectly selecting MuSGD.
    • Fixed single-class depth training.
    • Added class-name aliases for better fine-tuning weight transfer.
    • Consolidated dataset label-cache logic across detection, depth, and semantic datasets.
  • ๐ŸŒ Expanded Ultralytics Platform capabilities and documentation:
    • Added clearer YOLO26 depth API responses and configurable 8-, 12-, or 16-bit depth maps.
    • Improved annotation with automatic saving and YOLO-assisted predictions.
    • Added activity export, updated billing and team behavior, and clarified deployment and API limits.
    • Updated Platform documentation and examples to reflect current behavior.

๐ŸŽฏ Purpose & Impact

  • โœ… More checkpoints remain usable: Interrupted or mid-training distillation checkpoints can now flow through validation, prediction, and export normally.
  • ๐Ÿš€ Broader edge deployment: YOLO26 depth models can run on additional accelerators, including Hailo hardware and Snapdragon NPUs, making on-device depth estimation more practical.
  • ๐Ÿ“ˆ Better performance potential: CUDA channels_last, tracker vectorization, lighter heatmap storage, and optimized loss calculations can improve throughput or reduce memory and CPU overhead.
  • ๐Ÿงฉ More dependable exports: CoreML dynamic exports, model fusion, calibration, and quantization are less likely to crash or produce incorrect results.
  • ๐Ÿ“ฑ Simpler mobile integration: Consistent input-size guidance and refreshed CoreML, LiteRT, and QNN documentation reduce deployment ambiguity.
  • ๐Ÿงช Safer future changes: Expanded fuzz coverage and cleaner shared dataset infrastructure improve regression detection and maintainability.
  • โ„น๏ธ User action: Existing users should update with pip install -U ultralytics to receive the checkpoint, export, and deployment fixes.

What's Changed

New Contributors

Full Changelog: v8.4.104...v8.4.105

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.