Skip to content

v1.2.0

Choose a tag to compare

@PawelPeczek-Roboflow PawelPeczek-Roboflow released this 27 Mar 20:56
· 196 commits to main since this release
57b58c0

πŸš€ Added

πŸš— Switched to inference-models as default inference engine

As announced at the beginning of the 1.x.y release series, we've been working to make inference-models the default engine β€” and it's now live. The old inference backend remains available in opt-out mode.

Along with this change (and related updates to torch handling), we've updated the recommended installation flow for the inference-gpu Python package. Install torch and torchvision first β€” selecting the variant and CUDA index that matches your environment β€” then install inference-gpu:

pip install --index-url https://download.pytorch.org/whl/cu128 torch torchvision  # adjust CUDA version as needed
pip install inference-gpu

Additionally, since inference-models depends on pycuda, you'll need CUDA installed with the development toolkit (including headers required to build pycuda). Follow the appropriate installation guide for your platform:

Tip

To continue using the old inference backend, set the environment variable USE_INFERENCE_MODELS=False.

Important

inference-models manages its cache differently from the old backend. To enable automatic model eviction in long-running containers, activate the Cache Watchdog β€” it monitors disk usage and removes files when storage exceeds the configured threshold.

Set MAX_INFERENCE_MODELS_CACHE_SIZE_MB to enable it. You can also control how often it runs with INFERENCE_MODELS_CACHE_WATCHDOG_INTERVAL_MINUTES. We recommend enabling this only if there's a risk of running out of disk space on your server.

πŸ›€οΈ trackers 🀝 Workflows

The new Roboflow open-source library - trackers just got onboarded to workflows.

Thanks to @leeclemnet (#2130) we have three new blocks:

New Block Type Slug Algorithm
bytetrack/v1.py roboflow_core/trackers_bytetrack@v1 ByteTrack
sort/v1.py roboflow_core/trackers_sort@v1 SORT
ocsort/v1.py roboflow_core/trackers_ocsort@v1 OC-SORT
trackers

πŸ”₯ New Workflows blocks

  • GLM-OCR model now has Workflows coverage - after adding the model to inference-models last week, @Erol444 this week made a contribution to Workflows πŸ’ͺ
  • @jeku46 in #2171 added structured Event Write block to the pool of Enterprise plugins

Workflows Community plugins

Check out our new documentation page - with Workflows Community plugins highlighting community work around Workflows ecosystem.

image

πŸ”§ Fixed

🚧 Maintenance

Full Changelog: v1.1.2...v1.2.0