pypi ultralytics 8.3.199
v8.3.199 - `ultralytics 8.3.199` 3% Faster Ultralytics Imports with Lazy Model Loading (#21985)

11 hours ago

🌟 Summary

ultralytics 8.3.199 boosts startup speed with lazy model loading, refines export/runtime stability, and modernizes GPU Docker docsβ€”delivering faster imports, smoother deployments, and clearer tooling. ⚑🐳

πŸ“Š Key Changes

🎯 Purpose & Impact

  • Faster startup and the same API 🏎️
    • Importing Ultralytics is quicker with zero code changes. You can still do:
      • from ultralytics import YOLO
      • ultralytics.YOLO("yolo11n.pt")
  • More reliable deployment pipelines 🧰
    • Standardized NMS export outputs simplify integration with ONNX/TensorRT and downstream code.
    • Correct TensorRT package selection reduces install/export friction on Linux.
  • Safer compilation defaults πŸ›‘οΈ
    • torch.compile now prefers max-autotune-no-cudagraphs, avoiding CUDA Graphs issues while keeping performance benefits.
  • Cleaner experiment insights πŸ“ˆ
    • Tuning plots focus on meaningful runs by default, making it easier to spot what works.
  • Improved docs and GPU usability πŸ§ͺ
    • NVIDIA Container Toolkit guidance and consistent --runtime=nvidia examples make GPU containers more predictable across distros.
  • Better CI signal and stability πŸ””
    • Targeted Slack alerts and updated runners improve reliability without affecting user-facing features.

Helpful snippets:

  • Import remains the same:
    from ultralytics import YOLO
    model = YOLO("yolo11n.pt")
  • Tuner plots with zero-fitness points visible (previous behavior):
    from ultralytics.utils.plotting import plot_tune_results
    plot_tune_results("tune_results.csv", exclude_zero_fitness_points=False)
  • GPU Docker run examples:
    sudo docker run -it --ipc=host --runtime=nvidia --gpus all ultralytics/ultralytics:latest

What's Changed

Full Changelog: v8.3.198...v8.3.199

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.