Ultralytics v8.4.192: More Reliable Multi-GPU Training and ONNX GPU Inference
With Ultralytics YOLO v8.4.192, training and inference get compatibility improvements for PyTorch 2.15 and CUDA 13, alongside clearer Ultralytics Platform API documentation.
Training and Inference Improvements
Contributed in PR #26928 by @raimbekovm, these updates improve reliability across training, inference, and development environments:
- More reliable multi-GPU training: On PyTorch 2.8 and newer, each NCCL process group is explicitly bound to the GPU selected for its training rank. This helps prevent device-mismatch errors, especially when GPUs are selected in a non-default order.
- More dependable ONNX GPU inference: Linux CUDA setups now install ONNX Runtime’s CUDA dependencies and preload their libraries, helping prevent missing cuRAND libraries from triggering unintended CPU fallback.
- Updated CUDA tooling: The Docker training image now uses PyTorch 2.15. The export image and GPU CI setup also include the required ONNX Runtime CUDA package, keeping environments better aligned.
Clearer Platform API Documentation
Updated in PR #26919 by @glenn-jocher, Platform prediction response examples no longer list metadata.classNames.
Class names remain available on individual detections, and dataset and model class names are unchanged. This documentation update makes the examples better match the Platform prediction response.
Try the Release
Upgrade to this version with:
pip install --upgrade ultralytics==8.4.192
No model architecture or prediction behavior changes are indicated in this release. Explore the full changelog for the complete comparison.
Running multi-GPU training or ONNX Runtime GPU inference? Give v8.4.192 a try and share your results below. If you encounter an issue, include your GPU setup, PyTorch and CUDA versions, and a minimal reproduction to help troubleshoot.