Skip to content

v1.4.8

Latest

Choose a tag to compare

@rfonod rfonod released this 08 Nov 16:59
5ea5aa9

🩹 Bug-Fix Release: Dependency Floors That Actually Work

This release raises the minimum versions of OpenCV and PyTorch. The old minimums allowed combinations that install without complaint but do not run, mostly next to NumPy 2. Output is unchanged for every configuration (see Compatibility below).

📦 New Minimum Versions

  • opencv-python>=4.10.0.84 (was >=4.10.0). Build 4.10.0.82 cannot be imported next to NumPy 2 (numpy.core.multiarray failed to import). Build 4.10.0.84 is the same OpenCV rebuilt for NumPy 2, and works with NumPy 1 and 2.
  • torch>=2.3.0 (was >=2.0.0). Below it, the learned detectors break in two ways:
    • On torch 2.0 and 2.1, kornia's feature module fails to import, so every learned detector and LightGlue raised an error when the Stabilizer was created. The classical detectors were not affected.
    • On torch 2.2 and older next to NumPy 2, torch cannot convert NumPy arrays. LoFTR raised an error, while XFeat and DISK quietly returned no transformation for every frame.

A fresh pip install stabilo already picks recent versions, so most users were never affected. The old builds were kept when they were already installed in the environment, because they satisfied the previous minimums. Upgrading to v1.4.8 now upgrades them.

🐛 Fixes

  • No more per-frame autocast warning on older PyTorch. DeDoDe on a CPU or Apple GPU printed User provided device_type of 'cuda', but CUDA is not available. Disabling on every frame with older torch versions, because Stabilo's filter for that warning only matched the newer wording.
  • The out-of-memory test runs on older PyTorch. It used an exception class that exists only from torch 2.5.

🎨 Other

  • A refreshed social preview image.

🧪 Tests

Full suite, including the learned-detector tests, on macOS at the new minimum versions (with NumPy 1 and NumPy 2) and at the latest versions, and on Linux with the learned-detector tests on an RTX 4090 and the gpu=True tests against a CUDA build of OpenCV 4.13. The bundled Quick Start examples produce byte-identical output.

⚠️ Compatibility

  • ✅ No change in output. No estimation, matching or masking code changed.
  • ✅ Same Python requirement (>= 3.11) as v1.4.7.
  • ⚠️ Environments pinned to opencv-python 4.10.0.82 or to torch older than 2.3 cannot install v1.4.8. Those builds did not work with the learned detectors or with NumPy 2.

Full Changelog: v1.4.7...v1.4.8