v0.54.2

roboflow/inferencev0.54.2Sep 5, 2025by PawelPeczek-Roboflow

AI Summary

Bug fixes addressing model lock acquisition errors and adding support for the SAM2-real-time model in the experimental package.

Key Highlights

  • Secure 'WithFixedSizeCache' from model acquisition lock errors
  • Record source when inferring on instance segmentation models
  • Extend Moondream2 to include 'prompt' support
  • Add SAM2-real-time to inference_experimental

New Features

  • SAM2-real-time model support

Full Release Notes

# 🔧 Fixed
*  Re-raise model lock acquisition error from Workflows Execution Engine by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1521
* Add changes to secure 'WithFixedSizeCache' from errors related to model acquisition locks by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1526
* Record source when inferring on instance segmentation models by @grzegorz-roboflow  in https://github.com/roboflow/inference/pull/1525
* Extend Moondream2InferenceRequest to include 'prompt' by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1529

# 🧑‍🏭 Maintenance
* Gzip workflows schema by @iurisilvio in https://github.com/roboflow/inference/pull/1520
* support supervision 0.26.0 by @hansent in https://github.com/roboflow/inference/pull/1524
* bump base cpu images from python3.9 -> 3.11 by @hansent in https://github.com/roboflow/inference/pull/1528

# 🥼 `inference-experimental` changes
* add sam2-real-time to inference_experimental by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1471
* Update uv.lock by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1532


**Full Changelog**: https://github.com/roboflow/inference/compare/v0.54.1...v0.54.2