v0.6.0
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
andtango server
commands. This option takes a path or URL, and instantiates the workspace from the URL using the newly addedWorkspace.from_url()
method. - Added the "workspace" field to
TangoGlobalSettings
. - Added the "environment" field to
TangoGlobalSettings
for setting environment variables each
timetango
is run. - Added a utility function to get a
StepGraph
directly from a file. - Added
tango.settings
module andtango 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 toStepExecutionMetadata
and now saved asexecution-metadata.json
.tango run
without the option "-w/--workspace" or "-d/--workspace-dir" will now use aMemoryWorkspace
instead of aLocalWorkspace
in a temp directory, unless you've specified
a default workspace in aTangoGlobalSettings
file.- Moved
tango.workspace.MemoryWorkspace
andtango.local_workspace.LocalWorkspace
totango.workspaces.*
. - Moved
tango.step_cache.MemoryStepCache
andtango.step_cache.LocalStepCache
totango.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 inTorchTrainStep
. - Fixed some scenarios where Tango can hang after finishing all steps.
distributed_port
andlog_every
parameters won't factor intoTorchTrainStep
's unique ID.MappedSequence
now works with slicing.MappedSequence
now works with HuggingfaceDataset
.- 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)