# What changed in kornia

> 72 changes in kornia 0.8 to 0.9 from its official release notes, upgrade guides and advisories: 9 breaking, 1 deprecations, 19 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/pypi/kornia/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## kornia 0.9

### Breaking changes

- Recheck outputs for warps, resize, RANSAC, and integer-image processing because corrected behavior can change results without raising. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Several feature constructors now download pretrained weights by default; select the documented offline or random option when needed. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The documented runtime requirement is Python ≥3.11. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- A positive angle turns clockwise, unlike rotate and RandomRotation; account for the different direction when applying transforms. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The Ivy-powered entry point no longer performs conversion; use documented imports such as kornia.image for image helpers. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The Ivy-powered entry point no longer performs conversion; use documented imports such as kornia.image for image helpers. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The Ivy-powered entry point no longer performs conversion; use documented imports such as kornia.image for image helpers. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The documented runtime requirement is torch ≥2.5.1. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)

### New APIs and options

- An API for repeated feature extraction is available. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- A batched matching API is available to use instead of implementing batched matching yourself. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- RANSAC(compile=True) is available, but additionally requires torch ≥2.14 and has supported option combinations to check. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)

### Performance

- Augmentations are reported to perform 10x fewer host synchronizations. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- CLAHE is reported as 2000x faster on MPS. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Gaussian blur is reported as 16x faster on Apple CPU. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Morphology operations are reported as 4x faster. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Unsharp mask is reported as 3x faster on Apple CPU. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)

### Fixes and other changes

- Set KORNIA_RANSAC_AOT=0 as an alternative workaround for the compiled-RANSAC cache crash, at a performance cost. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- The documented runtime requirement is kornia_rs ≥0.2.0. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Use documented imports such as kornia.image for image helpers. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Keep learnable bilateral-filter sigmas in float32. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)
- Half-precision warps and geometry are highlighted as working, but support is operation-specific and should be checked before relying on blanket half-precision support. (0.9.0) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.9.0)

## kornia 0.8

### Breaking changes

- Support for PyTorch versions below 2.0.0 was dropped. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)

### Deprecations

- Deprecated utilities in kornia.utils begin emitting DeprecationWarning, targeting future removal. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)

### New APIs and options

- Adds AdaptiveQuadInterp3d and scale-space detector speedups. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds the ALIKED local feature detector and descriptor. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds half-precision support for float16 and bfloat16. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds iterative_quad_interp3d using Cramer's rule. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds KORNIA_CHECK_IMAGE_LAYOUT for image layout validation. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds mutual information losses and normalized mutual information losses. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds Open-CV style thresholding operations to the enhance/threshold module. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds fill_value support for RandomAffine. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds support for padding_mode="fill". (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds rectangular and gaussian kernels for mutual information loss. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds a closed-form quartic solver. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds XFeat and new weights. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds an Adaptive Discriminator Augmentation preset. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Adds color space conversion support to Image. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Adds Otsu thresholding for automatic image segmentation. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Implements quaternion averaging. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)

### Performance

- denormalize_points_with_intrinsics is approximately 2× faster. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- depth_to_normals is approximately 3× faster. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Vectorizes a loop to optimize bbox_to_mask3d. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Speeds up compose_transformations by 24%. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Speeds up euclidean_distance by 150% with more efficient tensor operations. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Avoids allocating a 2N x 2N weight matrix. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Speeds up normalize_min_max by 64%. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Speeds up point_line_distance by 28%. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Speeds up relative_transformation by 33%. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)

### Behavior and default changes

- distance_transform now supports 3D volumes. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- mean_iou_bbox now supports xywh and cxcywh bounding box formats. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- VisualPrompter now supports batched inference. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- The deprecation decorator was removed from depth_to_3d. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Batch functionality was updated. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- The resize utility now supports MPS. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)

### Fixes and other changes

- Fixes BgrToRgba calling the wrong conversion function. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Validates that sigma values are positive. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes device and dtype propagation. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes device and dtype propagation. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes the ONNX io_name_conversion bug and updates variadic type hints. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes MPS-specific runtime errors and skips tests unsupported on MPS. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Adds support for 3D tensors with shape (C, H, W). (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes same_on_batch behavior. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes Resize ONNX export compatibility. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Harmonizes dtypes in transform_points batch matrix multiplication. (0.8.3) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.3)
- Fixes handling of a single-pixel instance in the upper-left corner. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Fixes the gradient check for convert_points_from_homogeneous. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Fixes an IndexError in the draw_line method. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Ensures saved grayscale images include a channel dimension (HxWx1). (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Fixes a blocking operation in hsv_to_rgb. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Fixes gradient issues in quaternion scalar arithmetic. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Fixes the transformation matrix so it reflects actual image scaling. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
- Corrects same_on_frame and same_on_batch logic. (0.8.2) — [release notes](https://github.com/kornia/kornia/releases/tag/v0.8.2)
