Skip to content

Releases: allenai/tango

v0.1.2

14 Oct 15:29
Compare
Choose a tag to compare

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

12 Oct 21:39
Compare
Choose a tag to compare

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 to LocalStepCache (registered as "local").
  • LocalStepCache saves metadata to cache-metadata.json instead of metadata.json.

Fixed ✅

  • Fixed bug with TorchTrainStep during distributed training.
  • FromParams will automatically convert strings into Path types now when the annotation
    is Path.

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

12 Oct 04:45
Compare
Choose a tag to compare

What's new

Added 🎉

  • Added StepGraph and Executor abstractions.
  • Added a basic PyTorch training step registered as "torch::train", along with other registrable
    components, such as Model, DataLoader, Sampler, DataCollator, Optimizer, and LRScheduler.
  • Added DatasetRemixStep in tango.steps.
  • Added module tango.common.sequences.
  • Added DatasetDict class in tango.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, and Step.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 given name might be registered.
  • FromParams.from_params() and Registrable.resolve_class_name will now call Registrable.search_modules() to automatically import modules where the type might be defined.
    Thus for classes that are defined and registered within any tango.* submodules it is not necessary to explicitly import them.

Fixed ✅

  • Step implementations can now take arbitrary **kwargs in their run() 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

27 Sep 22:53
Compare
Choose a tag to compare

What's new

Added 🎉

  • Added tango command.

Commits

7284269 add tango command (#4)

v0.0.2

27 Sep 19:16
Compare
Choose a tag to compare

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

v0.0.1

23 Sep 02:29
Compare
Choose a tag to compare

What's new

Added 🎉

  • Added initial project boilerplate.

Commits

c0ec751 change name of PyPI package to ai2-tango