Releases: allenai/tango
v0.1.2
What's new
Added 🎉
- Added support for YAML configuration files.
Commits
a2a6e08 relax requirement on PyYAML
1bd44b9 Update datasets requirement from <1.13,>=1.12 to >=1.12,<1.14 (#25)
55114a6 Bump pyyaml from 5.4.1 to 6.0 (#26)
bcbe08e add support for YAML configuration files (#24)
69f6544 Fix more typos (#23)
c11b029 minor updates (#22)
289a779 Typo
73706bb start on overview section of docs (#21)
7ab2969 list dependencies in example
659a8ac Add exampels to docs (#20)
4bba28f test examples (#19)
v0.1.1
What's new
Added 🎉
TorchTrainStep
now displays a progress bar while saving a checkpoint to file.- The default executor now saves a "executor-metadata.json" file to the directory for each step.
Changed ⚠️
- Renamed
DirectoryStepCache
toLocalStepCache
(registered as "local"). LocalStepCache
saves metadata tocache-metadata.json
instead ofmetadata.json
.
Fixed ✅
- Fixed bug with
TorchTrainStep
during distributed training. FromParams
will automatically convert strings intoPath
types now when the annotation
isPath
.
Commits
e2d5abb save to cache-metadata.json instead of metadata.json (#18)
e5118bd Torch train fixes (#17)
f3b5178 Bump furo from 2021.9.22 to 2021.10.9 (#13)
7f525fe fix typo
12e70fa add more sphinx extensions (#16)
010f3fb Rename DirectoryStepCache to SimpleStepCache, clean up docs (#15)
v0.1.0
What's new
Added 🎉
- Added
StepGraph
andExecutor
abstractions. - Added a basic PyTorch training step registered as
"torch::train"
, along with other registrable
components, such asModel
,DataLoader
,Sampler
,DataCollator
,Optimizer
, andLRScheduler
. - Added
DatasetRemixStep
intango.steps
. - Added module
tango.common.sequences
. - Added
DatasetDict
class intango.common.dataset_dict
. - Added 🤗 Datasets integration.
- Added command-line options to set log level or disable logging completely.
Changed ⚠️
Step.work_dir
,Step.unique_id
,Step.dependencies
, andStep.recursive_dependencies
are now a properties instead of methods.tango run
command will acquire a lock on the directory to avoid race conditions.- Integrations can now be installed with
pip install tango[INTEGRATION_NAME]
. For example,
pip install tango[torch]
. - Added method
Registrable.search_modules()
for automatically finding and importing the modules
where a givenname
might be registered. FromParams.from_params()
andRegistrable.resolve_class_name
will now callRegistrable.search_modules()
to automatically import modules where the type might be defined.
Thus for classes that are defined and registered within anytango.*
submodules it is not necessary to explicitly import them.
Fixed ✅
Step
implementations can now take arbitrary**kwargs
in theirrun()
methods.
Commits
3616040 add step graph and executor abstractions, support for distributed training in TorchTrainStep (#14)
0fa7d5e add torch components and simple train Step (#12)
b408b8a auto search and import modules in from params (#10)
2c376f4 Update feature_request.md
ff4fe11 Add 🤗 Datasets integration (#8)
2210c62 add DatasetRemixStep (#7)
9dffab3 document installing with integrations
5e225cf more work on integrations (#6)
f45b98f rename workflow
971906c rename workflow file
d33f57f add extras to setup.py (#5)
cdc4393 add source code to docs
c51f2a0 acquire lock on directory during run
v0.0.3
v0.0.2
What's new
Added 🎉
- Ported over core tango components from AllenNLP.
Commits
1bb5ed8 Merge pull request #1 from allenai/dependabot/pip/furo-2021.9.22
9d7a7fe Merge pull request #3 from allenai/add-components
21c3c2a merge docs with readme
6d3ba03 add format test
e7e1aee fix again
d760857 fix for py3.7
6076d17 add step tests
01e258e restore Registrable state after each test case
f6aef4c fix typo in README
edebbdf add issue and PR templates
18cd9f0 fixes
07ee21e orchestrating -> choreographing
586655a add contributing guide
e79f475 fixups
14afd11 prepare docs
0f7f6f6 add tango components from allennlp
d65c9bb brand as 'AI2 Tango'
4bf379c ignore more directories in flake8 config
daf4e3d add .gitignore
cf04957 Merge pull request #2 from allenai/custom-css
514adf8 add custom css