Published February 8, 2026
| Version v8.4.13
Software
Open
Ultralytics YOLO
Description
π Summary (single-line synopsis)
Ultralytics v8.4.13 makes training more resilient by automatically recovering from CUDA out-of-memory (OOM) errors during the first epoch by retrying with a smaller batch size ππ§ π₯
π Key Changes
- Auto-retry on CUDA OOM during training (major change) π₯π οΈ
- If a CUDA OOM happens in the first epoch on single-GPU, Ultralytics will retry up to 3 times, halving the batch size each time (down to 1).
- Training pipeline is rebuilt after batch reduction (dataloaders + optimizer + scheduler) to continue cleanly.
- New internal training helper π§©
- Adds a
_build_train_pipeline()method to rebuild loaders/optimizer/scheduler when batch size changes (used by the new OOM recovery flow).
- Adds a
- More reliable ONNX export for OBB + NMS π¦β
- When exporting OBB (oriented bounding boxes) to ONNX with NMS enabled,
simplify=Trueis now forced to avoid a known runtime issue (TopK-related error in some ONNX Runtime versions).
- When exporting OBB (oriented bounding boxes) to ONNX with NMS enabled,
- DGX system detection + TensorRT handling π₯οΈβοΈ
- Adds
is_dgx()detection and uses it (along with Jetson JetPack 7) to trigger a TensorRT version check/reinstall path for better export reliability on those systems.
- Adds
- Packaging stability fix: pin setuptools π§°π
- Pins build requirements to
setuptools<=81.0.0to avoid breakages introduced by newer setuptools versions (notably affectingtensorflow.jsexport tooling).
- Pins build requirements to
- Docs & examples refresh (YOLO26 messaging + tracking content) ππ₯
- Tracking docs now embed a newer multi-object tracking video featuring YOLO26 + BoT-SORT/ByteTrack.
- Exporter docs/examples updated to show YOLO26 (
yolo26n.pt) and mention ExecuTorch/Axelera export options (documentation signposting).
- Example dependency update π
- Updates
protobufin the RT-DETR ONNX Runtime Python example.
- Updates
π― Purpose & Impact
- Fewer training crashes for everyday users ππ₯
- If you start training with a batch size that's slightly too large for your GPU, Ultralytics can now self-correct and continue instead of failing immediatelyβespecially helpful for beginners and for "first-epoch spikes" in memory use.
- Less manual trial-and-error π―
- Reduces the common loop of "OOM β lower batch β restart training," saving time and frustration.
- More dependable deployment exports π
- ONNX exports for OBB models with embedded NMS should work more reliably out of the box, with fewer runtime surprises.
- More predictable builds/CI π§±
- Pinning setuptools helps prevent sudden packaging/tooling failures across environments.
- Clearer guidance aligned with YOLO26 π§
- Docs and examples increasingly steer users toward YOLO26 as the recommended model for training, tracking, and export workflows.
What's Changed
- feat: π NVIDIA DGX device variants check by @onuralpszr in https://github.com/ultralytics/ultralytics/pull/23573
- Add https://youtu.be/qQkzKISt5GE to docs by @RizwanMunawar in https://github.com/ultralytics/ultralytics/pull/23582
- Bump protobuf from 6.31.1 to 6.33.5 in /examples/RTDETR-ONNXRuntime-Python in the pip group across 1 directory by @dependabot[bot] in https://github.com/ultralytics/ultralytics/pull/23572
- docs: π exporter documentation for new model formats and examples updated by @onuralpszr in https://github.com/ultralytics/ultralytics/pull/23585
- Force
simplify=Truefor OBB export with NMS by @Y-T-G in https://github.com/ultralytics/ultralytics/pull/23580 - Pin
setuptoolsversion by @Burhan-Q in https://github.com/ultralytics/ultralytics/pull/23589 ultralytics 8.4.13Retry smaller batch on training CUDA OOM by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/23590
Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.4.12...v8.4.13
Notes
Files
ultralytics/ultralytics-v8.4.13.zip
Files
(2.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:715dd64ab17e055ee7f50ce07a060e7e
|
2.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/ultralytics/ultralytics/tree/v8.4.13 (URL)
Software
- Repository URL
- https://github.com/ultralytics/ultralytics