Skip to content

v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Feb 21:35
· 275 commits to main since this release

What's new

Added 🎉

  • New example that finetunes a pre-trained ResNet model on the Cats & Dogs dataset.
  • Added a '@requires_gpus' decorator for marking tests as needing GPUs. Tests marked with this will be run in the "GPU Tests" workflow
    on dual k80 GPUs via Beaker.
  • Added the "-w/--workspace" option to tango run and tango server commands. This option takes a path or URL, and instantiates the workspace from the URL using the newly added Workspace.from_url() method.
  • Added the "workspace" field to TangoGlobalSettings.
  • Added the "environment" field to TangoGlobalSettings for setting environment variables each
    time tango is run.
  • Added a utility function to get a StepGraph directly from a file.
  • Added tango.settings module and tango settings group of commands.
  • A format for storing sequences as SqliteSparseSequence
  • A way to massage kwargs before they determine the unique ID of a Step

Changed ⚠️

  • local_workspace.ExecutorMetadata renamed to StepExecutionMetadata and now saved as execution-metadata.json.
  • tango run without the option "-w/--workspace" or "-d/--workspace-dir" will now use a MemoryWorkspace instead of a LocalWorkspace in a temp directory, unless you've specified
    a default workspace in a TangoGlobalSettings file.
  • Moved tango.workspace.MemoryWorkspace and tango.local_workspace.LocalWorkspace to tango.workspaces.*.
  • Moved tango.step_cache.MemoryStepCache and tango.step_cache.LocalStepCache to tango.step_caches.*.
  • Deprecated the -d/--workspace-dir command-line option. Please use -w/--workspace instead.

Fixed ✅

  • Fixed a small bug LocalWorkspace would fail to capture the conda environment in our Docker image.
  • Fixed activation of FILE_FRIENDLY_LOGGING when set from the corresponding environment variable.
  • Fixed setting log level via the environment variable TANGO_LOG_LEVEL.
  • Use relative paths within the work_dir for symbolic links to the latest and the best checkpoints in TorchTrainStep.
  • Fixed some scenarios where Tango can hang after finishing all steps.
  • distributed_port and log_every parameters won't factor into TorchTrainStep's unique ID.
  • MappedSequence now works with slicing.
  • MappedSequence now works with Huggingface Dataset.
  • Uncacheable steps are now visible in Tango UI.
  • Fixed bug in Registrable.list_available() where an error might be raised if the default implementation hadn't been explicitly imported.
  • Fixed issue where having a default argument to the run() method wasn't getting applied to the step's unique ID.

Commits

f9da0af Merge pull request #211 from allenai/Massage
e78dcbe Allow setting environment variables in tango settings, fix bug with TANGO_LOG_LEVEL env var (#209)
82404b6 Re-create LICENSE so GitHub will show it (#208)
0fadecf Bump furo from 2022.2.14.1 to 2022.2.23 (#207)
787b6e6 Merge pull request #206 from allenai/settings
c3401f2 Merge pull request #205 from allenai/RobustnessFixes
7ceda9c Merge pull request #201 from allenai/workspace-prep
6dd7d86 Merge pull request #200 from allenai/uncacheable-steps-in-server
5ad3f44 Bump furo from 2022.1.2 to 2022.2.14.1 (#199)
3528230 Update filelock requirement from <3.5,>=3.4 to >=3.4,<3.7 (#202)
21d6d40 Merge pull request #193 from allenai/StepGraphFromFile
258a7d2 skip 'distributed_port' and 'log_every' in unique ID (#197)
dd4c47f Merge pull request #192 from allenai/CloseSqliteHarder
cc94e1c Merge pull request #156 from allenai/DocumentationRefresh
5cc86b8 Rename "ExecutorMetadata" -> "StepExecutionMetadata" (#195)
6aecab7 Bump myst-parser from 0.16.1 to 0.17.0 (#191)
6478293 make pushing test image to Beaker more robust (#190)
7c1ac5b Finetune resnet Example for Tango (#150)
5187b01 update docs for integration tests and gpu tests timeout
95b78b5 Add new manually triggered workflow for integration tests, other bug fixes (#188)
19f7b31 Merge pull request #189 from allenai/fix-checkpoint-path-link
a438b26 Workflow quickfix
671a6dc verify exit code of beaker job (#187)
7ccad94 Merge pull request #186 from allenai/add-tests
bf6ecd0 Run GPU tests on Beaker (#183)