Skip to content

fix(deps): update dependency ultralytics ( 8.3.197 → 8.3.198 ) - #116

Merged
jazzlyn-bot[bot] merged 1 commit into
mainfrom
renovate/ultralytics-8.x
Sep 12, 2025
Merged

fix(deps): update dependency ultralytics ( 8.3.197 → 8.3.198 )#116
jazzlyn-bot[bot] merged 1 commit into
mainfrom
renovate/ultralytics-8.x

Conversation

@jazzlyn-bot

@jazzlyn-bot jazzlyn-bot Bot commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
ultralytics (changelog) project.dependencies patch ==8.3.197 -> ==8.3.198 OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ultralytics/ultralytics (ultralytics)

v8.3.198: - ultralytics 8.3.198 Improve Tuner with BLX-α gene crossover (#​22038)

Compare Source

🌟 Summary

Smarter hyperparameter tuning and sturdier training/inference across the board. v8.3.198 introduces a much stronger Tuner with BLX-α crossover, unified metric plotting, safer defaults, and multiple robustness fixes (NMS, DDP loss, Intel GPU checks), plus simpler export APIs and flexible torch.compile modes. 🚀

📊 Key Changes

  • Hyperparameter Tuner (priority)
    • BLX-α gene crossover for smarter exploration across top parents, not just single-parent mutation. See PR #​22038 🔬
    • Adaptive mutation sigma (decays early for stable convergence), safer mutation bounds, and added close_mosaic to the search space.
    • Search space tweaks (e.g., lower bound for cls gain → 0.1) and consistent type casting.
    • Fitness now uses only mAP@​0.5:0.95 for selection, aligning with common benchmarks. 🎯
    • Runtime hygiene: GPU memory cleanup between iterations to reduce OOM/fragmentation.
    • More robust resume logic and CSV/MongoDB handling; cleaner best-iteration management.
  • Exporter API cleanup
    • Export functions now return just the output path string (except TF SavedModel which also returns the Keras model). Simpler and lighter. See PR #​22009 📦
  • torch.compile flexibility
    • compile accepts True/False or a mode string "default" | "reduce-overhead" | "max-autotune" across train/val/predict. See PR #​21999 ⚙️
  • Training robustness
    • Unwrap DDP/compiled models before loss calculation to avoid wrapper-related issues. See PR #​22016 🧩
  • NMS correctness
    • Fixed early-exit and sorting in TorchNMS to reduce false positives and improve stability. See PR #​22014
  • Unified results plotting
    • plot_results auto-detects metrics/losses and works for all tasks; logic centralized in BaseTrainer. See PR #​22026 📈
  • Segmentation fixes
    • Correct mask resizing/shape handling in validation (e.g., mask_ratio=1) and faster, correct mask plotting with overlap_mask. See PR #​22037, PR #​22031 🖼️
  • Stability & docs
    • Dataset cache auto-recovers on ModuleNotFoundError. See PR #​22025
    • Intel GPU discovery now catches all exceptions to prevent environment crashes. See PR #​22034
    • Clearer configs and tracker YAMLs; improved docs for compile args; corrected detection boxes column order (track_id position); quickstart removes Seaborn from manual install. PRs #​22011, #​22028, #​22035
    • Construction-PPE dataset docs add a “Business Value” section for real-world ROI. See PR #​22029 👷📈

🎯 Purpose & Impact

  • Better models, faster: BLX-α crossover + adaptive mutation helps find stronger hyperparameters in fewer iterations, especially for YOLO11 training. 🚀
  • More reliable training: Unwrapping before loss and flexible compile modes reduce edge-case failures with DDP and torch.compile.
  • Fewer false positives: NMS logic fixes stabilize detections across datasets.
  • Cleaner APIs: Exporters returning a path simplifies pipelines, reduces memory, and avoids unexpected large return objects.
  • Easier metrics analysis: Unified plotting works consistently across detect/segment/pose/classify; less duplication, clearer visuals.
  • Smoother ops: GPU memory cleanup between tuning iterations, robust dataset cache handling, and environment-safe Intel GPU checks reduce friction in diverse setups.
  • Clarity for everyone: Improved YAML/docs, corrected detection box order, and streamlined Quickstart make onboarding and maintenance simpler.

Quick examples

  • Tuning with the improved Tuner:
from ultralytics import YOLO

model = YOLO("yolo11s.yaml")
model.tune(
    device=0,
    data="coco128.yaml",
    optimizer="AdamW",
    epochs=100,
    batch=8,
    compile=False,
    plots=False,
    val=False,
    save=False,
    workers=16,
    project="tune-yolo11s-scratch-coco128-100e",
    iterations=1000,
)
  • Using compile modes:
from ultralytics import YOLO

model = YOLO("yolo11n.pt")
model.train(data="coco8.yaml", epochs=3, compile="reduce-overhead")  # or "default", "max-autotune", True/False
  • Export now returns a file path:
from ultralytics import YOLO

model = YOLO("yolo11n.pt")
onnx_path = model.export(format="onnx")  # 'onnx_path' is a string

What's Changed

New Contributors

Full Changelog: ultralytics/ultralytics@v8.3.197...v8.3.198


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

| datasource | package     | from    | to      |
| ---------- | ----------- | ------- | ------- |
| pypi       | ultralytics | 8.3.197 | 8.3.198 |
@jazzlyn-bot
jazzlyn-bot Bot force-pushed the renovate/ultralytics-8.x branch from 771cb2d to aa861a2 Compare September 11, 2025 12:15
@jazzlyn-bot
jazzlyn-bot Bot merged commit 0bd7484 into main Sep 12, 2025
1 check passed
@jazzlyn-bot
jazzlyn-bot Bot deleted the renovate/ultralytics-8.x branch September 12, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants