Releases: ben-denham/labtech
Releases · ben-denham/labtech
v1.0.0
v0.8.1
What's Changed
- Test in CI with lowest resolution methodology using uv by @nathanjmcdougall in #57
- Improve performance by limiting frequency of monitor and log updates by @ben-denham in #59
- Raise a friendly error for dynamically defined classes as a task types by @ben-denham in #60
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- Add support for nested classes as task types. by @ben-denham in #50
- Set a default storage directory by @ben-denham in #51
- Provide a better error message when task types are defined on main in an interactive Python session by @ben-denham in #53
- Fix for stdout/stderr not logging or double logging from process runners by @ben-denham in #54
- Switch default
spawnandforkrunner backends to use a pool of processes managed by concurrent futures, and addfork-per-taskrunner backend that can still use shared memory for results by @ben-denham in #55
Full Changelog: v0.7.3...v0.8.0
v0.7.3
Bug fix release:
- Fix failure on Windows due to import of
ForkContext - Gracefully fail when a multiprocessing runner backend isn't supported by the operating system
v0.7.2
v0.7.1
v0.7.0
- Refactored task running to introduce configurable runner backends, with built-in support for
fork,spawn,thread, andserialbackends. - The
forkrunner backend uses shared memory instead of copying context and dependency task results into task subprocesses. - Added support for running tasks across a multi-machine cluster with Ray.
- Improved support for non-local storage backends based on fsspec implementations.
- Added overridable
filter_context()method to Task types to allow them to reduce the amount of memory that needs to be copied into task processes. - Added overridable
runner_options()method to Task types to allow them to provide options to runner backends. - Fixed incorrect CPU usage reporting for child processes of task processes.
- Removed support for
keep_nested_resultsoption fromrun_tasks(), as it would complicate the implementation of runner backends. - Migrated from Poetry to uv for package management.
v0.6.1
v0.6.1
v0.6.0
v0.6.0
v0.5.1
v0.5.1