๐ Summary
Ultralytics v8.4.20 is a stability-and-usability release focused on cleaner hyperparameter tuning, more reliable deployment/export workflows, and improved docs for both YOLO models and the Ultralytics Platform ๐
๐ Key Changes
-
(Most important) Ray Tune cleanup in current PR #23772 ๐งน
- Removed hardcoded
tuner_callbacksand dropped built-in W&B callback wiring fromRunConfigin tuning. - Version bumped from
8.4.19โ8.4.20.
- Removed hardcoded
-
RKNN export reliability improved (#23802) ๐ฆ
- Added ONNX version guard (
onnx<1.19.0) and enforced ONNX opset cap (<=19) for RKNN conversion. - Explicitly supports smoother export paths for YOLO26 models on Rockchip toolchains.
- Added ONNX version guard (
-
FastSAM prompt accuracy fix (#23766) ๐ฏ
- CLIP prompting now masks non-target neighboring segments before scoring.
- Reduces false positives in overlapping/contained regions (for example, object-inside-background cases).
-
ByteTracker consistency update (#23771) ๐ ๏ธ
- Optional score fusion now also applies in second-stage association (when
fuse_score=True), aligning behavior across tracking stages.
- Optional score fusion now also applies in second-stage association (when
-
Better YAML error messages (#23767) โ
- Failed YAML loads now return clearer syntax errors with file context and validation guidance, instead of ambiguous fallback failures.
-
Jetson/JetPack 6 stack refresh (#23788 + #23801) ๐ค
- Updated Jetson Docker/runtime stack to newer Torch/Torchvision/ONNX Runtime GPU versions.
- Compatibility checks now recognize
torch 2.10+torchvision 0.25.
-
Docs and platform improvements ๐
๐ฏ Purpose & Impact
-
More robust tuning workflows โ๏ธ
- By removing tightly coupled callback logic, Ray Tune runs are less fragile in mixed environments (especially distributed tuning setups).
-
Fewer deployment surprises ๐
- RKNN export safeguards reduce version mismatch errors and manual troubleshooting for edge deployment users.
-
Higher output quality in segmentation/tracking ๐
- FastSAM text prompts become more trustworthy in crowded scenes.
- ByteTracker behavior is more consistent when confidence fusion is enabled.
-
Smoother setup for modern environments ๐ง
- Jetson and PyTorch compatibility updates reduce install/runtime friction for developers upgrading dependencies.
-
Better onboarding and reproducibility ๐ง
- Clearer YAML errors help users fix configs faster.
- Platform dataset versioning and skeleton-template docs improve team workflows and repeatable training.
What's Changed
- Use github.Auth.Token in merge action by @glenn-jocher in #23763
- Better YAML error introspection by @glenn-jocher in #23767
- Fix for #23765 FastSAM CLIP prompting by @orcinus in #23766
- Apply to ByteTracker second association by @ahmet-f-gumustas in #23771
- Update
sam-3.mdspeed comparison by @Laughing-q in #23782 - Platform Skeleton templates docs by @glenn-jocher in #23787
- Update JetPack 6 Docker image with
torch 2.10by @lakshanthad in #23788 - Platform dataset versioning docs by @glenn-jocher in #23796
- Bump docker/login-action from 3 to 4 in /.github/workflows by @dependabot[bot] in #23799
- Add https://youtu.be/JcZsqUc8PMM to docs by @RizwanMunawar in #23798
- Update
torchandtorchvisioncompatibility table to latest by @lakshanthad in #23801 - Fix RKNN exports to support YOLO26 models by @lakshanthad in #23802
ultralytics 8.4.20Remove redundant hardcodedtuner_callbacksby @Laughing-q in #23772
New Contributors
Full Changelog: v8.4.19...v8.4.20