v1.0.0
This is the first stable release of AI2 Tango, the culmination of over a year's work and nearly 1000 commits!
We've been working on this project quietly for a while on the AllenNLP team, and it's being used daily by researchers here. So we're excited to officially announce it now that we're happy with the API 🎉
What's new since the last release
Added 🎉
- Added
step_extra_dependencies
input field toStep
class that can be used to force a dependency on another step even if the current step doesn't directly depend on the output of the other step. See #418 for more context.
Changed ⚠️
beaker-py >= 1.10
required.
Fixed ✅
- Long log lines will be soft-wrapped to ensure that links are clickable.
- Fixed a bug where some workspaces could be left in a bad state if a step's
Format
failed to serialize the step's result inWorkspace.step_finished()
. - Sometimes functions and methods end up as arguments to steps, which means we have to hash them. Instead of taking
a hash of the function, we now take a hash of the function's module and name. - Fixed a bug with the Beaker executor where it would hang at the end of a run if a step failed that is a dependency of another step.
- Fixed tests to work with new version of transformers.
- Fixed
Executor.execute_sub_graph_for_step()
to be able to run the step's dependencies in parallel.
Commits
a48a825 Only install gh
in entrypoint if needed (#439)
69b948d Improve error handling for step state edge case (#429)
39b3132 Fix Executor.execute_sub_graph_for_step()
(#438)
408944e Loosen range on some dependencies (#437)
76cd46d Follow up fix for #401 (#434)
04e7963 Fix bug with Beaker executor (#430)
fb077e6 Bump fairscale from 0.4.9 to 0.4.11 (#432)
25f7373 Bump furo from 2022.6.21 to 2022.9.15 (#410)
f11925c Bump mypy from 0.971 to 0.982 (#433)
4845317 Bump sphinx from 5.1.1 to 5.2.3 (#431)
572f83b Bump myst-parser from 0.18.0 to 0.18.1 (#426)
e1fc2d3 Add step_extra_dependencies
option to Step
class (#419)
19927d3 Don't pin protobuf anymore (#428)
3dbe8c7 We need click 8 to work. (#427)
cbdbe68 Hashing functions (#424)
747469f Mark Format
serialization failures as step failure (#421)
b1d6431 Ensure base path for included modules kept in sys.path
(#406)
e1a1cd1 Minor improvements to BeakerExecutor
internals (#416)
d3e1891 Ensure log lines get soft-wrapped so links are always clickable (#415)