unstale

pypi / ultralytics

ultralytics

What changed in ultralytics 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

36 breaking3 security18 new APIs and options31 performance75 behavior and defaults2 tooling286 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

ultralytics 8451 changes

Breaking changes 36

  • The dataloader worker cap is divided by the number of GPUs in the run.

    8.4.212release notes

  • Mask conversion rejects colliding label filenames instead of overwriting them.

    8.4.212release notes

  • OCR uses PP-OCRv6 through ONNX Runtime with YOLO26x-Text as its default detector, supports rotated text and reading-order output, and the optimized recognizer requires Python 3.11+ and ONNX Runtime 1.26+.

    8.4.210release notes

  • NCNN exports with batch greater than one are rejected before conversion because NCNN does not support a batch axis.

    8.4.209release notes

  • YOLOE calls using visual prompts now default to a confidence threshold of 0.05; other prediction calls are unchanged.

    8.4.208release notes

  • Prediction and tracking now default to an NMS IoU of 0.5 instead of 0.7; validation remains at 0.7, and explicitly provided values take precedence.

    8.4.208release notes

  • The AMD GPU image moves to Ubuntu 26.04 and Python 3.14; the NVIDIA ARM64 image updates its NVIDIA PyTorch, CUDA, and TensorRT releases, and other images use refreshed floating Debian tags.

    8.4.207release notes

  • Boolean values are rejected as split fractions instead of being treated as numbers.

    8.4.205release notes

  • DEEPX support is updated for DX-COM 2.5.0; use DX-RT 3.5.0 or newer with those models.

    8.4.205release notes

  • Checkpoints no longer trigger automatic package installation; missing dependencies now raise an error rather than being installed automatically.

    8.4.203release notes

  • Dataset configuration and download paths now use the canonical construction-ppe archive and directory; existing caches using the old directory name are outside the supported scope.

    8.4.201release notes

  • The dataset is updated to 1,000 images, 12 classes, and 14,863 reviewed annotations, with an 800/200 split; added classes and changed class IDs may require project updates.

    8.4.200release notes

  • Training reports an error before distributed training starts when the batch is smaller than the number of GPUs; non-evenly divisible batches still work with the remainder dropped.

    8.4.200release notes

  • Removes UTF-8 BOM handling.

    8.4.198release notes

  • PyYAML is no longer a required base dependency, reducing a dependency for standard installs.

    8.4.197release notes

  • Model YAML parsing requires activations to resolve to supported torch.nn modules and model entries to be PyTorch module classes.

    8.4.194release notes

  • Images without detections now receive empty label files, replacing any previous auto-annotation labels.

    8.4.193release notes

  • Visual prompts on fused YOLOE models are rejected directly instead of failing later or reporting misleading results.

    8.4.193release notes

  • Images and videos listed in TXT or CSV sources are processed in the listed order instead of being reordered alphabetically.

    8.4.191release notes

  • Unlabeled classification images are skipped instead of being assigned class 0.

    8.4.190release notes

  • Updated converter requirements and aligned dependency versions; IMX500 export is explicitly supported on Linux with Python 3.10–3.12.

    8.4.189release notes

  • The minimum required version for LiteRT exports is raised to 2.3.0.

    8.4.188release notes

  • The minimum required version for LiteRT exports is raised to 0.10.0.

    8.4.188release notes

  • The minimum required version for LiteRT exports is raised to 0.10.0.

    8.4.188release notes

  • YOLO26-pose training assigns ground truths with visible keypoints using keypoint similarity (OKS) instead of blending it with box overlap.

    8.4.187release notes

  • An empty streams manifest now raises a clear error.

    8.4.184release notes

  • Grayscale TIFF scans load as their first page by default; cv2.IMREAD_UNCHANGED still stacks same-size pages for workflows that need pages as bands.

    8.4.184release notes

  • Changing class names on a text-fused YOLOE model now raises a clear error instead of silently relabeling predictions or failing later.

    8.4.184release notes

  • Positive matching, conflict resolution, and confidence targets now consider keypoint OKS alongside box overlap; ground truths with no visible keypoints still use box overlap alone. Enabled by default and limited to YOLO26-pose.

    8.4.180release notes

  • Versions are capped below 2.5 because version 2.5.0 can fail to build YOLOv8 and YOLO11 models across Rockchip targets, and YOLO26 on RK3588.

    8.4.179release notes

  • Several images no longer include unnecessary OpenCV GUI and other system packages, reducing root-filesystem size; GUI display remains possible by installing the GUI OpenCV build.

    8.4.173release notes

  • With save_crop=True, crops are now upright and aligned to each oriented bounding box; areas beyond the image are filled with black.

    8.4.172release notes

  • Export checks whether the requested opset meets the model's minimum and reports a clear error when it does not.

    8.4.165release notes

  • Dataset scans reject fractional class IDs instead of allowing invalid labels to fail later.

    8.4.164release notes

  • The unused labels autolabel path has been removed.

    8.4.164release notes

  • Box-only labels are rejected when loading OBB datasets, providing earlier feedback for invalid labels.

    8.4.164release notes

Security 3

  • Dataset cache files are loaded with a restricted unpickler to reduce risks from untrusted cache files.

    8.4.203release notes

  • Text embedding caches are loaded with weights_only.

    8.4.203release notes

  • All settings.update() forms are validated, and the config directory fallback remains private per user.

    8.4.184release notes

New APIs and options 18

  • PP-OCRv5 recognizer models can recognize Korean, Cyrillic, Arabic, Devanagari, Thai, Greek, Tamil, and Telugu through ONNX Runtime without PaddlePaddle or PaddleOCR. Choose a model for the expected text; language detection and switching are not automatic.

    8.4.212release notes

  • ExecuTorch exports can use a smaller INT8 format with calibration data; detection, segmentation, pose, and oriented-box heads remain in FP32.

    8.4.211release notes

  • OpenVINO and LiteRT accept cpu, xpu, and npu device names; intel:cpu, intel:gpu, and intel:npu remain deprecated aliases that emit a warning.

    8.4.210release notes

  • Class colors can be supplied with dataset metadata and carried through trained or exported models into prediction visualizations.

    8.4.208release notes

  • Adds an OBB training dataset combining COCO-Text and HierText, with 65,325 images and about 1.29 million word polygons.

    8.4.205release notes

  • Adds a workflow that detects text with detection, OBB, or segmentation models and recognizes it with optional PaddleOCR or a custom callable, returning text and associated detection results.

    8.4.205release notes

  • Use tile=True or a positive integer tile size to process large images in overlapping windows across training, validation, and prediction.

    8.4.204release notes

  • Export YOLO models with format=nxp to create INT8 LiteRT models compiled for NXP i.MX95 Neutron; unsupported operations may run on the CPU.

    8.4.203release notes

  • A built-in minimal YAML reader and writer supports structures commonly used in Ultralytics configs, datasets, and export metadata.

    8.4.197release notes

  • TensorFlow GraphDef benchmarks now include OBB and pose.

    8.4.194release notes

  • RKNN INT8 exports use this file for CPU-side floating-point box decoding; custom runtimes must run it or implement the same decoding.

    8.4.191release notes

  • Depth models can now be exported in INT8, using hybrid precision to keep error-prone layers in FP16. Calibration should use paired depth maps covering the deployment scene’s depth range.

    8.4.190release notes

  • On supported Windows 11 systems, users can opt in to Windows ML’s ONNX Runtime and let it select hardware execution providers; existing session options are preserved.

    8.4.185release notes

  • LiteRT exports can run inference on Intel CPUs and NPUs, including YOLO26 detection, segmentation, depth, pose, OBB, and classification models.

    8.4.183release notes

  • GPU inference supports custom input names and strided tensors.

    8.4.176release notes

  • Adds a Xilinx export format, with vitis, vitisai, and versal aliases, for exporting through AMD Quark to a quantized ONNX model and Vitis AI configuration targeting Versal AI Edge Gen 2 NPUs.

    8.4.173release notes

  • A ROCm-based AMD Docker image is available for AMD deployment workflows.

    8.4.171release notes

  • Native PyTorch models can now be trained and run on supported AMD GPUs with ROCm.

    8.4.171release notes

Performance 31

  • CPU ONNX predictions are faster on hyperthreaded machines and CPU-limited containers.

    8.4.212release notes

  • Saving detection crops avoids unnecessary full-frame copies.

    8.4.212release notes

  • TensorRT installation checks recognize JetPack 7, DGX, and NVIDIA containers, avoiding a redundant 3 GB download.

    8.4.212release notes

  • SAM 3 and SAM 3.1 image encoders run 7–9% faster in the tested torch.compile setup; eager-mode results are unchanged.

    8.4.211release notes

  • Semantic segmentation and depth workloads use a faster resizing path when deterministic mode is enabled.

    8.4.211release notes

  • On NVIDIA GPUs, OCR can use a cached FP16 TensorRT engine, reported to be about 2.5× faster than ONNX Runtime on dense pages after the initial engine build.

    8.4.211release notes

  • CPU pooling uses an equivalent approach that reduces measured block latency by 22–45%; GPU and exported-model behavior are unchanged.

    8.4.211release notes

  • Intel NPU INT8 exports use symmetric quantization, intended to improve performance on supported models.

    8.4.209release notes

  • Assigner and semantic metric writes are sped up on MPS.

    8.4.209release notes

  • Avoids unnecessary gradient synchronization on batches that do not update the optimizer, improving multi-GPU training performance.

    8.4.208release notes

  • NMS-free TensorRT 11 FP16 exports can be up to 3% faster.

    8.4.208release notes

  • Calibration uses a C++ profiling mode; the reported export time dropped from about 36 seconds to 11 seconds with no measured validation accuracy regression.

    8.4.204release notes

  • Semantic segmentation training is faster under deterministic mode.

    8.4.203release notes

  • PIL plotting is up to 15× faster across tasks, with plotting appearance kept consistent.

    8.4.201release notes

  • PyTorch uses at most two threads for preprocessing and postprocessing with CPU ONNX Runtime and OpenVINO models, reducing competition with the inference runtime.

    8.4.193release notes

  • Computes each tracked car’s center once per frame rather than once for every parking-space comparison.

    8.4.191release notes

  • Foreground anchors are found across the batch in one pass instead of repeating the work per image, with losses and gradients unchanged.

    8.4.191release notes

  • Vectorized RLE string encoding reduces segmentation validation encoding time in tested workloads.

    8.4.190release notes

  • Images are prefetched during inference so upcoming batches can load while the current batch runs.

    8.4.190release notes

  • HSV augmentation uses a single multi-channel lookup table operation.

    8.4.185release notes

  • Target padding is bucketed to prevent per-shape driver memory growth during training.

    8.4.183release notes

  • Results are written into a preallocated output stack, avoiding extra full-size copies and repeated GPU-to-CPU synchronization.

    8.4.181release notes

  • EXIF-rotated image shapes are cached as images are decoded.

    8.4.174release notes

  • Prediction summaries avoid unnecessary tensor conversions, making their logs faster.

    8.4.174release notes

  • Archive timestamps are preserved to avoid unnecessary label rescans.

    8.4.171release notes

  • Removes an extra temporary weights copy, reducing temporary storage used by Core ML NMS exports.

    8.4.171release notes

  • Compiled models are cached to avoid recompilation on later loads; the first run still incurs compilation time.

    8.4.171release notes

  • Eligible Ultralytics Platform manifests can reuse unchanged images and depth files from a shared cache, reducing duplicate downloads and storage across dataset versions.

    8.4.167release notes

  • SAM batched_mask_to_box runs 86% faster on CPU.

    8.4.164release notes

  • CoreML export skips redundant trace checking and removes a duplicate setup forward pass, reducing export overhead.

    8.4.164release notes

  • Video frames can be prefetched while the GPU processes the current batch, overlapping loading with inference.

    8.4.164release notes

Behavior and default changes 75

  • Validation CSV and JSON exports include per-class mask mAP, pose mAP, and semantic pixel accuracy.

    8.4.212release notes

  • The training option now accounts for class imbalance in classification datasets as well as detection.

    8.4.211release notes

  • LiteRT INT8 exports keep detection, segmentation, pose, and OBB head outputs in FP32 while quantizing much of the rest of the model, helping preserve confidence scores and box precision.

    8.4.210release notes

  • NXP INT8 exports keep detection, segmentation, pose, and OBB head outputs in FP32 while quantizing much of the rest of the model, helping preserve confidence scores and box precision.

    8.4.210release notes

  • Default ONNX Runtime thread pools are bounded.

    8.4.209release notes

  • Class filtering now applies to predictions as well as ground-truth labels, reducing the effect of excluded classes on metrics and saved results.

    8.4.209release notes

  • OCR and oriented bounding-box labels now appear above the top-left of the polygon's enclosing box, reducing overlap with rotated text.

    8.4.206release notes

  • OCR labels now use black text on green for contrast.

    8.4.206release notes

  • PaddleOCR OCR now checks upside-down text crops in both orientations and keeps the higher-confidence reading, also helping with bottom-to-top text.

    8.4.206release notes

  • FastSAM uses a DataComp-XL CLIP model that selects the correct mask more often, with similar speed and download size.

    8.4.204release notes

  • Calibration now supports NDJSON and Platform datasets.

    8.4.204release notes

  • Resumed epochs use new augmentation randomness instead of replaying earlier augmentations.

    8.4.204release notes

  • Argoverse downloads and converts through Ultralytics Platform instead of Google Drive.

    8.4.203release notes

  • SAM and NAS checkpoints use weights-only loading where supported.

    8.4.203release notes

  • Platform training arguments are sent as JSON values instead of being converted to strings.

    8.4.202release notes

  • Arabic class names now join and read right-to-left in prediction, training, and validation images while numbers and Latin text remain readable, with no new dependency or argument.

    8.4.200release notes

  • Sends a descriptive User-Agent on downloads, helping avoid requests being rejected by some servers.

    8.4.198release notes

  • AMP checks build an untrained YOLO26n from YAML and compare FP32 and AMP results across convolution and attention layers, without downloading weights or relying on training setup.

    8.4.197release notes

  • Re-exporting to RKNN, Ascend, ExecuTorch, or IMX replaces old files in the output directory, reducing the risk of loading a stale model.

    8.4.196release notes

  • ONNX opset 13 and newer use per-channel weight quantization to improve INT8 accuracy; older opsets retain per-tensor quantization.

    8.4.196release notes

  • Speed estimation uses the source video’s frame rate by default, while an explicitly set FPS still takes precedence.

    8.4.196release notes

  • Automatic batch sizing uses the training dataset across tasks and treats out-of-memory errors during backward profiling as a limit.

    8.4.194release notes

  • The index is built from the selected image directory on each startup, avoiding stale indexes at the cost of rebuilding embeddings.

    8.4.194release notes

  • Dataset loading now accepts individual image paths.

    8.4.193release notes

  • When a dynamic export is loaded without an explicit imgsz, prediction and validation default to the size recorded in the export metadata; an explicit size still takes precedence.

    8.4.193release notes

  • Automatic dependency installation prefers uv when available, including on ARM64.

    8.4.193release notes

  • Detection direction is measured over the track’s recent delta_t-frame window, making associations less sensitive to box jitter.

    8.4.191release notes

  • INT8 export now supports detection, segmentation, pose, and OBB models by running output convolutions on the NPU and box decoding on the CPU in floating point.

    8.4.191release notes

  • FP16-capable targets use RKNN’s auto_hybrid option to retain high-error layers in floating point.

    8.4.191release notes

  • Positive training matches now account for both box and mask overlap; mask decoding is limited and uses safer precision to control memory use and avoid numerical overflow.

    8.4.190release notes

  • TensorFlow-family exports recognize existing ONNX Runtime variants, including Windows ML and Vitis AI builds, to avoid unnecessary runtime replacement.

    8.4.189release notes

  • The export Docker image now installs the full export dependency set, including LiteRT support.

    8.4.188release notes

  • An FCOS-style gate limits candidate anchors to pyramid levels suited to object size; ungated candidates are retained if the gate would leave a ground truth with none.

    8.4.187release notes

  • Confusion-matrix detections are matched in confidence order for more consistent results.

    8.4.184release notes

  • Model file extensions are now supported case-insensitively.

    8.4.184release notes

  • Training logs into an existing user-started run, adds training arguments to its config, and leaves the run open afterward.

    8.4.184release notes

  • With Voyager SDK 1.9.0, the yolo workflow supports export, prediction, and validation for every YOLO26 task; NMS-free detection is the default. SDK 1.8 exports remain compatible.

    8.4.183release notes

  • Existing dataset caches are rescanned using the updated label checks.

    8.4.182release notes

  • Dataset hashing now supports filenames with non-UTF-8 characters.

    8.4.181release notes

  • JetPack detection now includes JetPack 7.2.

    8.4.181release notes

  • Compatibility checks cover newer PyTorch and Torchvision releases.

    8.4.181release notes

  • URLs without extensions that return images are treated as single images.

    8.4.180release notes

  • Stream manifests are recognized regardless of extension capitalization, making stream data-source handling more robust.

    8.4.180release notes

  • Dataset lookup accepts .yml files as well as .yaml files.

    8.4.180release notes

  • Mask resizing is handled centrally in the prompt encoder.

    8.4.179release notes

  • CPU warmup now happens before timed inference, improving the reliability of inference timing.

    8.4.179release notes

  • Benchmarks use the dataset’s class vocabulary for a fairer comparison between PyTorch and exported models.

    8.4.179release notes

  • Skips overwriting tags with images built from newer commits.

    8.4.178release notes

  • Prompts persist across later images and video frames.

    8.4.178release notes

  • Uses MLflow's default tracking store when no tracking URI is set.

    8.4.178release notes

  • Training prints the model URL returned by the server, using its final owner, project, and model name; no link is printed if the server provides none.

    8.4.178release notes

  • Integration settings are now read for each training run.

    8.4.177release notes

  • Dynamic exports on Intel NPUs are pinned to the requested image size because these devices require fixed input dimensions.

    8.4.177release notes

  • Setting custom classes no longer caches the CLIP text encoder by default, producing much smaller YOLO-World checkpoints; caching can still be explicitly requested.

    8.4.176release notes

  • Fine-tuning and resuming preserve trained classification heads instead of reinitializing them.

    8.4.176release notes

  • 16-bit TIFF and PIL images are converted to 8-bit before inference.

    8.4.175release notes

  • Fine-tuning for fewer classes can retain more learned features by transferring the class branch.

    8.4.175release notes

  • Loading pretrained weights transfers class names when appropriate and makes better use of RGB weights for grayscale models.

    8.4.175release notes

  • Each tracker now has its own track ID counter, isolating IDs between trackers.

    8.4.175release notes

  • Dynamic CoreML models process batches larger than their exported batch size in chunks.

    8.4.174release notes

  • Predictors and persisted trackers are rebuilt when their setup arguments change.

    8.4.174release notes

  • Saved crop filenames retain dotted source image and video names, making crops easier to match to their sources.

    8.4.174release notes

  • YouTube streams below 1080p are accepted.

    8.4.174release notes

  • Classification datasets now recognize more supported image formats.

    8.4.172release notes

  • ObjectCropper now saves upright crops aligned to each oriented bounding box, filling areas beyond the image with black.

    8.4.172release notes

  • Outputs from previous predict and val runs are replaced, and each video gets its own output name.

    8.4.172release notes

  • Exported ONNX models can run with the MIGraphX execution provider, selected automatically on supported systems with CPU fallback if unavailable.

    8.4.171release notes

  • When the compiler is missing, it is downloaded from an Ultralytics asset instead of Google's retired apt repository, avoiding apt and sudo requirements; an installed compiler on PATH is still used when available.

    8.4.169release notes

  • CutMix can paste semantic-mask regions even when there are no object instances.

    8.4.168release notes

  • Downloads are written to temporary files before being moved into place, and image repair and compression replace files safely to protect shared assets.

    8.4.167release notes

  • LVIS images are included even when they have no annotations.

    8.4.166release notes

  • Older semantic-mask caches are rebuilt to support the updated mask handling.

    8.4.166release notes

  • Tracked pose keypoints are colored by track ID in instance mode.

    8.4.165release notes

  • Dataset scanning flags semantic masks with invalid or unmapped class IDs.

    8.4.165release notes

  • Detection training can use a pose dataset by dropping keypoints during label verification.

    8.4.164release notes

Tooling 2

  • Python 3.14 is added to package support and several Docker and export environments; the Python export image remains on Python 3.13.

    8.4.172release notes

  • The wheel no longer installs the top-level tests package, avoiding conflicts with other projects; tests remain in the source distribution.

    8.4.165release notes

Fixes and other changes 286

  • Deterministic semantic, depth, and segment training is restored on MPS with torch versions below 2.3.

    8.4.212release notes

  • Distributed training no longer hangs when Platform cancels training mid-epoch.

    8.4.212release notes

  • Pose keypoints are no longer misplaced for models whose keypoints contain only x and y values.

    8.4.212release notes

  • MNN models return correct detections with device=mps and permuted tensor inputs.

    8.4.212release notes

  • ONNX models keep running on the GPU with CUDA 12 PyTorch installations.

    8.4.212release notes

  • Source manifests are read as UTF-8.

    8.4.212release notes

  • YOLOE tracking works with native ReID features.

    8.4.212release notes

  • Fixes classification prediction on float NumPy arrays.

    8.4.211release notes

  • Fixes weight quantization for legacy CoreML INT8 exports.

    8.4.211release notes

  • Fixes broken INT8 engines and keeps all head output layers in floating point, matching QAT behavior.

    8.4.211release notes

  • Fixes Tiger-Pose keypoint flips.

    8.4.211release notes

  • Float64 NumPy and tensor inputs are converted safely for Apple MPS, which does not support float64.

    8.4.210release notes

  • Profiling preserves fixed input dimensions when other dimensions are dynamic.

    8.4.210release notes

  • RT-DETR transformer components are kept out of INT8 to avoid severe accuracy drops on TensorRT 11.3 and 11.4.

    8.4.210release notes

  • Core AI exports are captured on CPU to fix failures when using device=mps.

    8.4.209release notes

  • LiteRT installation is fixed on Python 3.14.

    8.4.209release notes

  • Mask-IoU accumulation is kept outside caller autocast to address accuracy under mixed precision.

    8.4.209release notes

  • ONNX models run on MPS as CoreML ML Programs to address semantic crashes and CPU drift.

    8.4.209release notes

  • OpenVINO export and benchmarking are fixed for Intel devices.

    8.4.209release notes

  • Large training-completion requests are kept under the request size limit to prevent rejection.

    8.4.209release notes

  • Each concurrent prediction applies its own settings while holding the inference lock, preventing requests from using another request’s confidence threshold, IoU threshold, or image size.

    8.4.209release notes

  • Class IDs are preserved in certain palette-based semantic masks.

    8.4.209release notes

  • Builds using YOLO("rtdetr-l.yaml") are fixed.

    8.4.209release notes

  • Recognizes installed GPU builds and avoids replacing them with CPU builds during export, inference, and PaddleOCR setup.

    8.4.207release notes

  • Adds the missing dependency required by x2paddle, helping Paddle exports work in fresh environments.

    8.4.207release notes

  • LiteRT exports now run on CPU to avoid failures on MPS and incorrect results on CUDA.

    8.4.205release notes

  • NXP exports now run on CPU to avoid failures on MPS and incorrect results on CUDA.

    8.4.205release notes

  • Tiled merges remove covered seam fragments and handle empty predictions on Apple MPS; related fixes address tiled segmentation, validation memory, and class counts.

    8.4.205release notes

  • Skips requirements whose environment markers do not apply to the current environment.

    8.4.205release notes

  • Saving multispectral detection crops is fixed.

    8.4.204release notes

  • Dependency setup issues affecting these export targets are fixed.

    8.4.204release notes

  • The parser accepts spaces before the colon after quoted keys.

    8.4.204release notes

  • Exports are captured on CPU to fix wrong MPS output and CUDA crashes.

    8.4.203release notes

  • Box prompts that overlap no masks select none.

    8.4.203release notes

  • Flipped hands preserve landmark assignments by mapping flip_idx to identity.

    8.4.203release notes

  • Non-float masks are promoted to float32.

    8.4.203release notes

  • Prompts remain usable after an interrupted segment-everything call.

    8.4.203release notes

  • The SciPy fallback finds better matches and skips unused lap cost.

    8.4.203release notes

  • Prompt losses now handle smaller class counts correctly.

    8.4.203release notes

  • Class-name weight remapping now works when loading CPU checkpoints into GPU models.

    8.4.202release notes

  • Classification validation reports a helpful error when neither a val nor test split exists.

    8.4.202release notes

  • Stream prediction videos now use each stream’s actual frame rate, including in multi-stream setups, instead of assuming 30 FPS. Video-file and screen capture rates remain unchanged.

    8.4.202release notes

  • Dynamic INT8 builds on older GPUs such as the T4 use a safer minimum input size to avoid build failures for small inputs.

    8.4.202release notes

  • When calibration images are fewer than the requested batch size, images are repeated to fill the batch, helping avoid export failures with some runtimes.

    8.4.200release notes

  • YAML files with standard %YAML or %TAG headers can now be parsed instead of rejected.

    8.4.200release notes

  • On a first-epoch OOM retry, the batch size actually used by the data loader is reduced, which can help training succeed when the requested batch is larger than the dataset.

    8.4.199release notes

  • Pixel counts in single-class semantic dataset plots now show the foreground class rather than the background.

    8.4.199release notes

  • Profiling rebuilds the TensorRT engine for each run and rounds image size to the model’s stride, helping benchmark results reflect the requested settings.

    8.4.199release notes

  • Local training now sends the original run name, including underscores and non-English characters, for display on Ultralytics Platform.

    8.4.199release notes

  • Missing classification datasets now produce a clear file-not-found error instead of a confusing failed-download message.

    8.4.198release notes

  • Silences the Triton 3.9 FP fusion default warning that could appear during eager bmm profiling.

    8.4.198release notes

  • Saves NumPy float64 values as ordinary numbers so training settings such as sweep-generated learning rates can be reused from args.yaml.

    8.4.198release notes

  • Fixes block-scalar indentation, whitespace-only lines, and nodes on their own lines to make parsing more consistent with YAML conventions.

    8.4.198release notes

  • Analytics output uses the chart’s actual dimensions, avoiding empty output videos in some configurations.

    8.4.196release notes

  • DOTA readers and annotation visualization accept label files with a UTF-8 BOM.

    8.4.196release notes

  • Resuming selects the most recently modified checkpoint, including on Windows.

    8.4.196release notes

  • Semantic training preserves small positive class-weight totals when normalizing cross-entropy loss.

    8.4.196release notes

  • Counts FLOPs after the timed profiling pass to avoid gradient-related failures on older PyTorch versions, including on NVIDIA Jetson.

    8.4.195release notes

  • Saving plots now generates sensible .jpg filenames for webcam, video, or missing-path sources and creates parent directories when needed.

    8.4.194release notes

  • Saving results now generates sensible .jpg filenames for webcam, video, or missing-path sources and creates parent directories when needed.

    8.4.194release notes

  • Non-PNG semantic mask paths are resolved before label-cache hashing.

    8.4.194release notes

  • URL scheme handling is case-insensitive, including schemes such as HTTPS://, GS://, and UL://.

    8.4.194release notes

  • AutoBatch profiling better reflects the actual training loss for RT-DETR and semantic segmentation.

    8.4.193release notes

  • Annotated-only label lookup now works with relative image paths.

    8.4.193release notes

  • Class names are returned in class-ID order, keeping names aligned with class IDs.

    8.4.193release notes

  • Suffix checking now handles extensionless paths and dotted parent directories.

    8.4.193release notes

  • Student models can be loaded from checkpoints saved mid-run, and resumed distillation training retains wrapper state.

    8.4.193release notes

  • Labels are clipped to the tile window instead of dropping the affected tile.

    8.4.193release notes

  • ONNX Runtime variant reinstalls are handled correctly.

    8.4.193release notes

  • Objects that cross the projection plane are dropped to prevent perspective augmentation from creating huge ghost boxes.

    8.4.193release notes

  • The line_width type now matches the configuration and Annotator.

    8.4.193release notes

  • Semantic metrics correctly handle compact uint8 labels in the confusion index.

    8.4.193release notes

  • Strided video reads now start at frame 0.

    8.4.193release notes

  • Plotting uses a scaled copy instead of rescaling the shared batch, avoiding changes to shared image batches.

    8.4.193release notes

  • Class curves skip validation splits without labels and name rows by class index.

    8.4.193release notes

  • On PyTorch 2.8 and newer, each NCCL process group is explicitly bound to the GPU selected for its training rank, helping prevent device-mismatch errors with non-default GPU ordering.

    8.4.192release notes

  • Linux CUDA setups now install ONNX Runtime’s CUDA dependencies and preload their libraries, helping prevent missing cuRAND from causing inference to fall back to the CPU.

    8.4.192release notes

  • Batch-size selection better accounts for GPU memory available to the process.

    8.4.190release notes

  • Avoids an unnecessary NumPy downgrade during inference.

    8.4.190release notes

  • Prevents float64 CoreML outputs from crashing inference on MPS.

    8.4.190release notes

  • Fixes duplicate detections in segmentation exports.

    8.4.190release notes

  • Handles text prompts when no eligible masks qualify.

    8.4.190release notes

  • Fixes precision in oriented-box embedded NMS.

    8.4.190release notes

  • Prevents crashes when region coordinates are floating-point values.

    8.4.190release notes

  • Handles 2D grayscale NumPy images without an IndexError.

    8.4.189release notes

  • Fixed URL scheme handling for classification datasets.

    8.4.189release notes

  • Classification probabilities are preserved between inference calls, avoiding changes when a backend reuses its output buffer.

    8.4.189release notes

  • The segmentation prototype output node is detected from the exported model, accommodating different model activations.

    8.4.189release notes

  • Equivalent matrix multiplications replace several einsum operations, enabling affected YOLOE and YOLO-World models to export at lower opsets.

    8.4.189release notes

  • Handles results without boxes more safely.

    8.4.189release notes

  • Unreadable datasets are less likely to be misleadingly reported as datasets with no labels.

    8.4.189release notes

  • The export-only ReLU is applied only for LiteRT, avoiding the operation in QNN and other formats where the Intel NPU compiler workaround is not needed.

    8.4.188release notes

  • QNN exports keep input and output quantization inside the QNN context, avoiding an io_name_overrides attribute that Android’s built-in QNN Execution Provider cannot read.

    8.4.188release notes

  • Fixes imports for PyTorch 1.10–1.12 and MNN on affected x86_64 Linux systems with glibc 2.41 or later; other import errors are still raised normally.

    8.4.186release notes

  • Resuming classification training now retains the checkpoint’s image size.

    8.4.185release notes

  • Downsampled large confusion-matrix plots now retain the background row and column.

    8.4.185release notes

  • Downloads better support direct links and share URLs with uppercase characters.

    8.4.185release notes

  • 16-bit PIL and NumPy images are scaled consistently with image paths when passed as LLM image input.

    8.4.185release notes

  • Clears an unused executable-stack flag in affected MNN x86_64 modules before import, allowing MNN export and inference to work on glibc 2.41+ systems.

    8.4.185release notes

  • TensorFlow export now uses a compatible 1.x version across Python versions, improving Edge TPU operation mapping.

    8.4.185release notes

  • Platform console capture now stops after training errors.

    8.4.185release notes

  • Failed training runs now close experiment-tracking runs.

    8.4.185release notes

  • Rectangular image sizes are handled correctly during classification prediction.

    8.4.184release notes

  • Dataset downloads now recognize archive URLs that include query strings.

    8.4.184release notes

  • Validation on a split without labels skips class-averaged PR curves and avoids unnecessary warnings.

    8.4.184release notes

  • LetterBox no longer crashes on 2D inputs that do not need resizing.

    8.4.184release notes

  • Reversed multipart segments are bridged at their closest points.

    8.4.184release notes

  • The bare intel device string no longer crashes these backends.

    8.4.184release notes

  • Resume no longer forks a duplicate model after a transient send failure.

    8.4.184release notes

  • Class filtering now preserves the polygon semantic background class.

    8.4.184release notes

  • Floating-point prompt masks retain negative and fractional values, avoiding unintended changes to mask-refinement inputs.

    8.4.184release notes

  • Checkpoint type determines the model wrapper, so specialized models load correctly even when saved under generic filenames such as best.pt.

    8.4.184release notes

  • A depth model's existing calibration is kept when it scores best, rather than being replaced with a worse calibration.

    8.4.183release notes

  • Rectangular calibration shapes are preserved for classification INT8 export.

    8.4.183release notes

  • COCO RLE masks are decoded during conversion for segmentation.

    8.4.183release notes

  • Distillation runs can resume when checkpoint loading is restricted.

    8.4.183release notes

  • Negative points reliably exclude masks regardless of prompt order.

    8.4.183release notes

  • JSON annotations are read as UTF-8, preserving non-ASCII grounding annotations.

    8.4.183release notes

  • Subset folder handling now aligns classifier validation labels with class IDs, improving reported validation accuracy.

    8.4.183release notes

  • Resize dimensions remain positive for very thin images.

    8.4.183release notes

  • Layout detection now works for grayscale exports.

    8.4.183release notes

  • NDJSON validation data is converted before YOLOE prompt setup.

    8.4.183release notes

  • 16-bit NumPy prediction inputs are scaled to 8 bits to match image-file prediction behavior.

    8.4.183release notes

  • Resuming local training continues under the same Ultralytics Platform model.

    8.4.183release notes

  • INT8 calibration no longer crashes when exporting with rectangular input shapes.

    8.4.183release notes

  • One-row, one-column, and 1x1 depth maps remain 2D when saved.

    8.4.183release notes

  • URL schemes and archive extensions are compared case-insensitively.

    8.4.183release notes

  • Dataset scanning accepts labels with a UTF-8 byte-order mark.

    8.4.183release notes

  • W&B runs resume on Windows without requiring the latest-run symlink.

    8.4.183release notes

  • The warmup accumulation ramp is clamped to the capped nominal accumulate, addressing a training edge case.

    8.4.183release notes

  • Label verification now rejects boxes with negative dimensions while preserving coordinate tolerance and allowing zero-size boxes, catching invalid labels before validation plotting.

    8.4.182release notes

  • Linux drive discovery reports each block device once, avoiding duplicate entries caused by bind mounts.

    8.4.182release notes

  • Label files are named using the detector’s prediction output path, keeping labels matched to images with the same filename stem.

    8.4.181release notes

  • Depth maps for one-row, one-column, and 1×1 images retain their expected two-dimensional shape.

    8.4.181release notes

  • GPU metrics report the GPUs used by the training run rather than unrelated GPUs on the same machine.

    8.4.181release notes

  • .txt and .csv prediction-source lists work regardless of filename capitalization.

    8.4.181release notes

  • Tracked object angles stay consistent between frames instead of unexpectedly flipping.

    8.4.181release notes

  • Guidance clarifies TensorRT 11 DLA limitations.

    8.4.181release notes

  • Dataset discovery now prioritizes .yaml files before .yml files, preventing unrelated YAML files from breaking dataset loading.

    8.4.181release notes

  • Multiline text rendering is less likely to crash with Pillow 13.

    8.4.180release notes

  • Tracking camera-motion compensation updates box sizes and oriented-box angles appropriately, reducing geometry errors that could accumulate in tracks.

    8.4.180release notes

  • Unlabeled DOTA background images are skipped during data handling.

    8.4.180release notes

  • Conversion handles non-ASCII cache paths more reliably.

    8.4.180release notes

  • Returns an empty list instead of failing when there are no boxes or oriented boxes.

    8.4.180release notes

  • Validation text labels use split-relative image paths so images with the same filename in different folders are not merged into one label file.

    8.4.180release notes

  • Transient GitLab mirror failures get one retry before failing.

    8.4.179release notes

  • Validation filters out unrequested classes before applying the detection limit.

    8.4.179release notes

  • Prompts target the image area rather than letterbox padding, avoiding empty masks and improving results on narrow images.

    8.4.179release notes

  • JetPack 6 with TensorRT 10.3 now returns an actionable error for unsupported INT8 exports with embedded NMS.

    8.4.179release notes

  • Compilation falls back gracefully on CUDA systems without working Triton.

    8.4.179release notes

  • An unsafe graph rewrite was removed to preserve correct model outputs.

    8.4.179release notes

  • The pose loss is more numerically stable; sigma underflow no longer disables the RLE loss.

    8.4.179release notes

  • ZIP archives with a root ./ entry no longer crash extraction.

    8.4.179release notes

  • Optimizer FP16 conversion retains momentum in FP32 in checkpoints.

    8.4.178release notes

  • Avoids an unsupported reduction by casting the int8 mask to int64 for max reduction.

    8.4.178release notes

  • Displays plain argument errors and skips callables in suggestions.

    8.4.178release notes

  • Corrects confusion-matrix orientation and labels in Comet logging.

    8.4.178release notes

  • Corrects confusion-matrix logging, including cases where no matrix is available.

    8.4.178release notes

  • Dynamic-shape ONNX nodes no longer use the CoreML execution provider on MPS.

    8.4.178release notes

  • Preserves distinct polygons for same-box grounding segmentation results.

    8.4.178release notes

  • Clamps full-integer inputs before casting.

    8.4.178release notes

  • Full-integer LiteRT inputs are clamped before casting.

    8.4.178release notes

  • NDJSON datasets are read with UTF-8 encoding.

    8.4.178release notes

  • Tracking handles equivalent box representations more consistently.

    8.4.178release notes

  • Class labels remain aligned when validation data omits classes.

    8.4.178release notes

  • Validation sends task-specific curves for segmentation and pose, improving alignment with results.

    8.4.178release notes

  • Downsamples mask prompts to the encoder's low-resolution size to prevent crashes.

    8.4.178release notes

  • Tracking preserves object IDs when masks are blank.

    8.4.178release notes

  • Fixes screenshot prediction when monitor and region parameters are used.

    8.4.178release notes

  • Handles UTF-8 BOM source manifests correctly.

    8.4.178release notes

  • Validation uses the non-square input shape recorded in a static export.

    8.4.178release notes

  • Validates exports at their recorded input shape.

    8.4.178release notes

  • Writers close cleanly during trainer teardown.

    8.4.178release notes

  • TorchScript exports load on Apple MPS by casting traced float64 scalars to float32.

    8.4.178release notes

  • Load on MPS by casting traced float64 scalars to float32.

    8.4.178release notes

  • Creates a missing configuration directory instead of falling back to /tmp.

    8.4.178release notes

  • Fixes loading by model name, prediction, validation, export, and ReID tracking for YOLO-NAS.

    8.4.178release notes

  • Preserves full directory names when creating ZIP archives.

    8.4.178release notes

  • Inference falls back to a compatible execution path when output shapes contain symbolic dimensions.

    8.4.177release notes

  • PIL prediction inputs now respect EXIF orientation.

    8.4.177release notes

  • Only actual HTTP(S) URLs are downloaded, so local paths beginning with http are not mistaken for links.

    8.4.177release notes

  • Checkpoints preserve small RMSprop gradient-history values so resumed training avoids unexpectedly large updates.

    8.4.177release notes

  • Prompts supplied for a directory or video now apply to every image or frame, and coordinate scaling no longer mutates caller-owned NumPy arrays or tensors.

    8.4.177release notes

  • Runs shorter than the gradient accumulation interval now take at least one optimizer step, avoiding runs that end without updating the model.

    8.4.177release notes

  • Fixes improve final plot logging, offline resume IDs, project and run naming, and cleanup after interrupted or failed runs.

    8.4.177release notes

  • Albumentations is reseeded in each DataLoader worker.

    8.4.176release notes

  • Floating-point NumPy images are accepted with grayscale models.

    8.4.176release notes

  • FP16 inference no longer produces empty masks.

    8.4.176release notes

  • NPU inference handles batches and depth outputs more reliably.

    8.4.176release notes

  • The channel swap in crops passed to embedding models is fixed.

    8.4.176release notes

  • Reused SAM predictors reset state for new images and videos.

    8.4.176release notes

  • Stream loaders preserve fractional and high frame rates.

    8.4.176release notes

  • Per-tracker track ID counters can be pickled on Python 3.14.

    8.4.176release notes

  • Detection validation matches predictions to eligible targets in confidence order, reducing missed matches.

    8.4.176release notes

  • Logs preserve non-ASCII class names and paths on Windows.

    8.4.176release notes

  • The mask-thresholding change was reverted after it reduced segmentation mAP.

    8.4.176release notes

  • When a changed train/validation ratio reassigns an image, its old split copy is removed; nested class paths are preserved.

    8.4.175release notes

  • Text-prompt World and YOLOE trainers skip cls_pw, and classes without training labels remain neutral in its weights.

    8.4.175release notes

  • Validation no longer skips the final partial batch.

    8.4.175release notes

  • COCO annotations without labeled keypoints are skipped during conversion.

    8.4.175release notes

  • CoreML inference handles empty frames.

    8.4.175release notes

  • Depth prediction stretches input images to match validation and calibration.

    8.4.175release notes

  • Exports with embedded NMS support larger inference batches.

    8.4.175release notes

  • Prediction routes extensionless image URLs and RTSP, RTMP, or TCP streams with video-like suffixes correctly.

    8.4.175release notes

  • Fixes address stale image caches and multi-stream tracking behavior.

    8.4.175release notes

  • The backend now returns every model output.

    8.4.175release notes

  • Pose models built from YAML now receive keypoint metadata needed for prediction.

    8.4.175release notes

  • Letterbox padding is cropped on whole pixels.

    8.4.175release notes

  • RGBA TIFFs are read as three channels when used with three-channel models.

    8.4.175release notes

  • Semantic validation uses 64-bit pixel counts to handle large counts accurately.

    8.4.175release notes

  • Static TorchScript exports are validated at the image size used for export.

    8.4.175release notes

  • YOLOE CoreML export works with dynamic shapes enabled.

    8.4.175release notes

  • Backward-pass profiling now finds tensors in nested model outputs, enabling more accurate YOLO26 memory measurements and potentially different automatic batch-size selections.

    8.4.174release notes

  • Dataset splitting preserves the caller's random state.

    8.4.174release notes

  • Fast-NMS retains detections when the IoU threshold is zero.

    8.4.174release notes

  • Calibration images are materialized for reuse, allowing calibration methods that revisit their input data to work as intended.

    8.4.174release notes

  • Warnings about INT8 calibration are limited to export formats that support calibration data.

    8.4.174release notes

  • Model-format detection uses the terminal file suffix to handle compound filenames more reliably.

    8.4.174release notes

  • Tracking hides unconfirmed tracks when appropriate without dropping first-frame detections.

    8.4.174release notes

  • Per-axis gains use the rounded letterbox size.

    8.4.174release notes

  • Corrupted dataset caches trigger a rescan.

    8.4.172release notes

  • Recovery now correctly restarts the recovered epoch.

    8.4.172release notes

  • Static INT8 exports can calibrate when the dataset is smaller than the requested batch.

    8.4.172release notes

  • Matching costs are computed in float32 to avoid AMP precision errors affecting training assignments.

    8.4.172release notes

  • The RT-DETR save_txt behavior is fixed.

    8.4.172release notes

  • Crop coordinates are converted to integers, and JPEG output collisions are fixed.

    8.4.172release notes

  • Resumed runs now preserve the selected optimizer and early-stopping progress.

    8.4.172release notes

  • Background-first detection and rerun duplicates are fixed; jpeg and uppercase masks are accepted.

    8.4.172release notes

  • Fixes several analytics behaviors.

    8.4.171release notes

  • Existing image caches can be read across cache modes.

    8.4.171release notes

  • Fixes several mask behaviors.

    8.4.171release notes

  • Improves pose keypoint scaling in LiteRT and RKNN.

    8.4.171release notes

  • Corrects denoising query matching during RT-DETR training.

    8.4.171release notes

  • Detection and classification datasets again save disk-cache files as image.npy, allowing existing caches to be reused instead of rebuilt; same-stem images with different extensions can share a cache name.

    8.4.170release notes

  • Distinct segmentation polygons and pose keypoints sharing a class and bounding box are preserved; exact duplicate output annotations are still removed, and detection continues to deduplicate boxes.

    8.4.169release notes

  • Cache filenames retain the original image extension, preventing same-stem images with different extensions from sharing a cache file in detection-family and classification datasets.

    8.4.169release notes

  • 16-bit semantic masks preserve their IDs and flag invalid classes.

    8.4.168release notes

  • AVIF images with EXIF orientation are read upright.

    8.4.168release notes

  • CLI run name parsing is fixed.

    8.4.168release notes

  • Disk caches refresh when source images change, avoiding stale training images.

    8.4.168release notes

  • Short inputs are padded to the required batch size, and extra outputs are removed afterward.

    8.4.168release notes

  • Fractional frame rates are preserved when reading videos, helping avoid playback timing drift.

    8.4.168release notes

  • Palette PNG masks retain their class IDs during conversion, preventing incorrect labels.

    8.4.168release notes

  • Images with the same filename stem receive distinct output names, preventing prediction files from being overwritten.

    8.4.168release notes

  • Re-identification models initialize embeddings with an in-memory image, avoiding a missing-source warning and unnecessary asset-image inference.

    8.4.168release notes

  • Dataset handling retains pixel values from 16-bit masks.

    8.4.166release notes

  • Loading existing .npy images now respects the selected cache mode, avoiding stale disk-cached images.

    8.4.166release notes

  • Stale copies from classification re-splitting are fixed.

    8.4.166release notes

  • Image utilities apply EXIF orientation, including for annotation visualization and image compression.

    8.4.166release notes

  • Resized instance masks no longer shrink during validation, making segmentation results better match the original image dimensions.

    8.4.166release notes

  • The final batch=1 training check now includes the multi_scale minimum size.

    8.4.166release notes

  • Dataset handling preserves class IDs in Pascal VOC-style palette PNG masks, reducing the chance that masks are rejected or interpreted with incorrect class IDs.

    8.4.166release notes

  • Relative directories and globs in prediction source lists are resolved.

    8.4.166release notes

  • Saved videos preserve fractional frame rates and duration when using vid_stride.

    8.4.166release notesrelease notes

  • Saving semantic predictions preserves the correct letterbox crop.

    8.4.166release notes

  • yolo_bbox2segment is fixed for NumPy>=2.4.

    8.4.166release notes

  • Custom spatial lists work on detection labels with older Albumentations releases.

    8.4.165release notes

  • Fixes class histories being mixed up in analytics area charts.

    8.4.165release notes

  • Auto-splits are deterministic so reruns do not leak validation data into training.

    8.4.165release notes

  • Creates label subfolders when file_name contains a directory.

    8.4.165release notes

  • Writes LVIS image lists relative to the list file.

    8.4.165release notes

  • Depth resizing now follows the same alignment convention used during training and validation.

    8.4.165release notes

  • Selects one object per click.

    8.4.165release notes

  • Whitespace-only lines are skipped when parsing label files.

    8.4.165release notes

  • Corrects flips for instance boxes represented as left-top-width-height.

    8.4.165release notes

  • Source images are kept when outputs collide or fail to write, reducing the risk of data loss.

    8.4.165release notes

  • The crop ends at the letterbox content when padding is odd.

    8.4.165release notes

  • Duplicate segment labels are identified by comparing polygons rather than their bounding boxes.

    8.4.165release notes

  • Saved masks are restored to the original image size without letterbox padding.

    8.4.165release notes

  • Empty paths are ignored in TXT and CSV prediction sources.

    8.4.165release notes

  • Avoids a CPU instruction path that could crash on some Windows machines.

    8.4.165release notes

  • Fixes memory growth in PIL-based annotation caused by a font reference cycle.

    8.4.164release notes

  • The default activation is restored after parse_model overrides it.

    8.4.164release notes

  • Valid .jp2 images are no longer incorrectly dropped as corrupt during dataset scans.

    8.4.164release notes

  • Format-specific export options are applied correctly for mixed-case and alias formats.

    8.4.164release notes

  • FLOPs estimation uses THOP 2.2.0 stride profiling, avoiding full-size profiling for affected attention-based models and RT-DETR.

    8.4.164release notes

  • Bracketed CLI values are joined correctly after '=' merging.

    8.4.164release notes

  • ObjectCropper no longer crashes when used with OBB models.

    8.4.164release notes

  • Multi-row CSV prediction sources are parsed correctly.

    8.4.164release notes

  • Prediction writers and sources are released when a stream ends early.

    8.4.164release notes

  • Resuming keeps the checkpoint dataset.

    8.4.164release notes

  • Returns early for segments fully outside the image.

    8.4.164release notes

  • Prevents stale calibration cache reuse.

    8.4.164release notes

  • Tracker callbacks no longer run during plain prediction.

    8.4.164release notes

  • Batches now stay within one video, fixing FPS mix-ups when processing videos with different frame rates.

    8.4.164release notes

  • Distillation works across teacher and student models with different head layouts.

    8.4.164release notes