Releases: analysiscenter/batchflow
Releases · analysiscenter/batchflow
v0.10.0
What's Changed
This pull request introduces significant improvements to the release automation workflow and adds enhanced support for Apple's Metal (MPS) backend in PyTorch models. It also bumps the project version to 0.10.0. Below are the most important changes grouped by theme:
Release Automation Overhaul:
- Replaces the old release workflows (
release.ymlandrelease-check.yml) with a new, modular set of GitHub Actions:.github/workflows/release-on-branch-create.yml: Automatically validates and prepares release branches, updates version numbers, and creates draft pull requests for new releases..github/workflows/release-on-merge.yml: Handles release tagging, PyPI/TestPyPI publishing, next release branch creation, and hotfix propagation after merging release PRs intomaster.
- Removes legacy release workflows to avoid conflicts and streamline the process.
PyTorch MPS (Apple Silicon) Support:
- Updates device parsing and selection logic in
batchflow/models/torch/base.pyto recognize and use the MPS backend when available, in addition to CUDA and CPU. - Ensures device lists and device-specific operations (autocast, GradScaler, etc.) are compatible with MPS, not just CUDA.
- Adjusts AMP (automatic mixed precision) and backend benchmarking logic to be device-agnostic.
Version Bump:
- Increments the project version in
pyproject.tomlfrom 0.9.4 to 0.10.0 to reflect these breaking and feature changes.
Full Changelog: v0.9.4...v0.10.0
v0.9.4
v0.9.3
What's Changed
- v0.9.3 by @AlexeyKozhevin in #796
- Update uv.lock by @AlexeyKozhevin in #797
Full Changelog: v0.9.2...v0.9.3
v0.9.2
What's Changed
- Fix plot for model by @AlexeyKozhevin in #794
- Fix
pytestdependency
Full Changelog: v0.9.1...v0.9.2
v0.9.1
v0.9.0
What's Changed
- Add dilate and erode by @AlexeyKozhevin in #789
- Add save in safetensors format by @igor-iusupov in #784
- v0.9.0 by @AlexeyKozhevin in #790
New Contributors
- @igor-iusupov made their first contribution in #784
Full Changelog: 0.8.12...v0.9.0
0.8.12
What's Changed
- Fix plot by @AlexeyKozhevin in #782
- 0.8.12 by @roman-kh in #788
Full Changelog: 0.8.11...0.8.12
0.8.11
What's Changed
- Update release workflows
- Fix scale in ImagesBatch
- Add
ignore_attributestosavemethod ofTorchModel - Updates for new numpy, torch and python >= 3.12
- Import TelegramMessage only if necessary
Full Changelog: 0.8.10...0.8.11
0.8.10
0.8.9
This release:
- improves the functions for optimal batch size computation;
- allows for using dictionary for model
outputs; - adds a few new
Monitortypes; - fixes
Pipelinequeue and allows for passing executors to the run;
Full Changelog: 0.8.8...0.8.9