Skip to content

Releases: analysiscenter/batchflow

v0.10.0

24 Feb 10:59

Choose a tag to compare

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.yml and release-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 into master.
  • 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.py to 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.toml from 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

21 Oct 15:29

Choose a tag to compare

What's Changed

Full Changelog: v0.9.3...v0.9.4

v0.9.3

26 Aug 12:30
f68bf0f

Choose a tag to compare

What's Changed

Full Changelog: v0.9.2...v0.9.3

v0.9.2

06 Aug 11:10
062ca27

Choose a tag to compare

What's Changed

Full Changelog: v0.9.1...v0.9.2

v0.9.1

18 Jul 10:05
bad2969

Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.9.1

v0.9.0

30 Jun 16:43
7703554

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.12...v0.9.0

0.8.12

11 Jun 09:28
d520c04

Choose a tag to compare

What's Changed

Full Changelog: 0.8.11...0.8.12

0.8.11

10 Apr 10:59

Choose a tag to compare

What's Changed

  • Update release workflows
  • Fix scale in ImagesBatch
  • Add ignore_attributes to save method of TorchModel
  • 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

29 Oct 09:41
0315547

Choose a tag to compare

What's Changed

  • Add openvino and DirDiskMonitor

Full Changelog: 0.8.9...0.8.10

0.8.9

29 Jul 09:21
3446ceb

Choose a tag to compare

This release:

  • improves the functions for optimal batch size computation;
  • allows for using dictionary for model outputs;
  • adds a few new Monitor types;
  • fixes Pipeline queue and allows for passing executors to the run;

Full Changelog: 0.8.8...0.8.9