๐ Summary
Ultralytics 8.4.120 improves CUDA training determinism and TensorFlow export reliability, while expanding documentation for LLM workflows and AI coding-agent integrations. ๐
๐ Key Changes
-
Deterministic CUDA anchor generation by @glenn-jocher
- Replaced CUDA cumulative-sum operations with deterministic
arange-based generation when creating detection anchors. - Removes recurring
cumsum_cuda_kernelwarnings during deterministic training. - Preserves runtime device handling for traced and TorchScript GPU models, avoiding device information being incorrectly fixed during tracing.
- Replaced CUDA cumulative-sum operations with deterministic
-
More reliable TensorFlow exports ๐ ๏ธ
- Removed the obsolete NVIDIA package index from TensorFlow and non-YOLO export dependency installation.
onnx-graphsurgeoncan now be installed directly from PyPI, reducing DNS and connectivity issuesโespecially in CPU-based CI environments and isolated export setups.
-
New Ultralytics LLM documentation ๐ค
- Documents the OpenAI-compatible
LLMinterface for text, image, streaming, asynchronous, provider-specific, and YOLO-combined workflows. - Provides examples for OpenAI-compatible services such as DeepSeek, Kimi, Z.AI GLM, OpenRouter, and local servers.
- Updates the default documented and runtime model to
gpt-5.6-luna.
- Documents the OpenAI-compatible
-
New Agent Skills integration guide ๐งฉ
- Documents the official
ultralytics/skillsrepository. - Covers AI-agent skills for model selection, datasets, training, tuning, inference, and export.
- Includes installation guidance for Claude Code, Codex, and other compatible agents.
- Documents the official
-
Version update
- Bumped the Ultralytics package version from
8.4.119to8.4.120.
- Bumped the Ultralytics package version from
๐ฏ Purpose & Impact
- โ Cleaner deterministic training logs: Users no longer see repeated CUDA cumsum warnings that can obscure important training messages.
- โ More predictable model tracing: TorchScript and traced GPU models retain runtime device behavior without sacrificing the deterministic anchor-generation fix.
- โ Smoother TensorFlow export setup: Fewer external package-index dependencies should improve export reliability in restricted networks, CI pipelines, and CPU-only environments.
- โ Better LLM discoverability: Developers can more easily connect YOLO detection results with language and vision models through a consistent interface.
- โ Improved AI-assisted development: Agent Skills provide structured, workflow-specific guidance for using Ultralytics tools with supported coding agents.
- โน๏ธ No major model architecture changes were introduced in this release; the primary technical improvement is improved determinism and export robustness.
What's Changed
- Document the OpenAI-compatible LLM interface by @onuralpszr in #25789
- Document Ultralytics Agent Skills by @JaviChulvi in #25787
- Avoid nondeterministic CUDA anchor cumsum by @glenn-jocher in #25806
New Contributors
- @JaviChulvi made their first contribution in #25787
Full Changelog: v8.4.119...v8.4.120