Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 May 00:52
· 213 commits to main since this release

What's new

Added 🎉

  • Added a Weights & Baises remote Workspace implementation: WandbWorkspace, registered as "wandb".
    This can be instantiated from a workspace URL in the form "wandb://entity/project".
  • Added a method Workspace.step_result_for_run which gives the result of a step given the run name and step name within that run.
  • Added property Workspace.url, which returns a URL for the workspace that can be used to instantiate the exact same workspace using Workspace.from_url(). Subclasses must implement this.

Changed ⚠️

  • StepInfo start and end times will be always be in UTC now.
  • WandbTrainCallback now logs system metrics from each worker process in distributed training.
  • StepCache.__contains__() and StepCache.__getitem__() now take accept either a Step or StepInfo as an argument (Union[Step, StepInfo]).
  • Refactored tango.step_graph.StepGraph to allow initialization from a Dict[str, Step].
  • Executor.execute_step_graph() now attempts to execute all steps and summarizes success/failures.

Fixed ✅

  • Fixed bug with LocalWorkspace.from_parsed_url() (#278).
  • Deprecation warnings will now be logged from tango CLI.
  • Fixed the text format in the case of serializing an iterator of string.
  • Added missing default value of None to TangoGlobalSettings.find_or_default().
  • Mypy has become incompatible with transformers and datasets, so we have to disable the checks in some places.
  • The VERSION member of step arguments that were wrapped in Lazy were not respected. Now they are.

Commits

3069226 Makes sure the VERSION parameter of classes is respected even when we construct them inside of a Lazy object. (#289)
dd71446 Add Weights & Baises remote workspace (#232)
e3f2bd2 Adds a dependency that's missing from transformers (#285)
25919e1 Fixes the text format (#283)
381de74 Add missing default to TangoGlobalSettings.find_or_default() (#282)
9ac708a Update click requirement from <8.1.3,>=7.0 to >=7.0,<8.1.4 (#277)
749357e Bump mypy from 0.942 to 0.950 (#276)
2c59c96 Bump allenai/beaker-run-action from 1.0 to 1.1 (#274)
53ffe80 refactor (#275)