Download Latest Version v8.4.104 - New YOLO26-Depth monocular depth estimation task (#25065) source code.zip (3.4 MB)
Email in envelope

Get an email when there's a new version of Ultralytics

Home / v8.4.102
Name Modified Size InfoDownloads / Week
Parent folder
sbom.spdx.json 2026-07-19 704.1 kB
README.md 2026-07-19 5.2 kB
v8.4.102 - 8x faster MuSGD optimizer step with batched Newton-Schulz (#25288) source code.tar.gz 2026-07-19 2.5 MB
v8.4.102 - 8x faster MuSGD optimizer step with batched Newton-Schulz (#25288) source code.zip 2026-07-19 3.3 MB
Totals: 4 Items   6.5 MB 0

🌟 Summary

🚀 Ultralytics 8.4.102 makes MuSGD training up to 8× faster while expanding YOLO26 edge deployment, improving export reliability, and strengthening dataset and GPU error handling.

📊 Key Changes

  • ⚡ Faster MuSGD optimizer
  • Batches Newton–Schulz orthogonalization across compatible parameter matrices instead of processing each parameter separately.
  • Uses fused PyTorch foreach operations for momentum and SGD updates.
  • Reduces thousands of small CUDA kernel launches, making MuSGD much less launch-bound.
  • Preserves the existing single-tensor muon_update API while adding an optimized internal batched path.
  • Reported impact: up to 8Ă— faster optimizer steps, particularly for models such as YOLO26n.

  • 📱 YOLO26 semantic segmentation on Hailo

  • Adds direct Hailo HEF export and inference for YOLO26 semantic segmentation.
  • Hailo-8/8L devices return logits for host-side upsampling and class reduction.
  • Hailo-10/15 devices can compile multi-class upsampling and ArgMax directly into the accelerator graph, returning compact class maps.
  • Uses task-specific lightweight calibration datasets when no dataset is provided.

  • 🛡️ More reliable GPU training recovery

  • Treats CUBLAS_STATUS_ALLOC_FAILED as a recoverable first-epoch memory error, allowing automatic batch-size reduction and retry behavior similar to out-of-memory errors.

  • 📦 Improved classification dataset handling

  • Preserves global class IDs for sparse NDJSON train and validation splits.
  • Correctly maps all samples to class 0 when single_cls=True.
  • Uses the actual labels exposed by the dataset for class-count validation.

  • đź”§ Safer model export and inference

  • RT-DETR ONNX export now validates that the resolved opset is compatible before export.
  • INT8 classification calibration respects the requested dataset split and falls back cleanly when a test split is unavailable.
  • Augmented inference now checks the model’s final detection head directly, improving compatibility with legacy RT-DETR checkpoints.

  • âś… Clearer validation errors

  • Segmentation now raises an actionable ValueError when mask_ratio is too large for the selected image size, instead of failing later inside OpenCV.

  • 📚 Platform and deployment documentation updates

  • Documents optional immutable dataset versions for cloud training, linking trained models to the exact dataset snapshot used.
  • Updates Hailo accuracy-retention guidance for segmentation, pose, OBB, and classification.
  • Reflects the current Ultralytics Platform deployment coverage of 42 regions.

🎯 Purpose & Impact

  • Faster training: MuSGD users should see substantially shorter optimizer steps and improved GPU utilization, especially on CUDA workloads with many parameters.
  • Broader edge deployment: YOLO26 semantic segmentation can now be deployed directly to supported Hailo accelerators, including Raspberry Pi-oriented hardware.
  • More dependable production workflows: Automatic recovery from additional CUDA allocation failures reduces avoidable training interruptions.
  • Fewer dataset-related crashes: Correct handling of sparse class metadata and single-class training prevents invalid labels and CUDA assertion failures.
  • More predictable exports: Earlier RT-DETR opset validation and improved calibration split handling provide clearer errors and more reliable INT8 export behavior.
  • Better experiment reproducibility: Immutable dataset versions in Ultralytics Platform help ensure that models can be traced back to the precise data used for training.

What's Changed

New Contributors

Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.4.101...v8.4.102

Source: README.md, updated 2026-07-19