Skip to content

Commit

Permalink
CLI-style execution for Python-defined experiments (#600)
Browse files Browse the repository at this point in the history
Co-authored-by: Tanmay Gupta <tanmay2099@gmail.com>
Co-authored-by: Tanmay Gupta <tanmayg@allenai.org>
Co-authored-by: Akshita Bhagia <akshita23bhagia@gmail.com>
  • Loading branch information
4 people authored Oct 25, 2023
1 parent 8bb3472 commit 4c8ae5a
Show file tree
Hide file tree
Showing 5 changed files with 374 additions and 275 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Minor bugs in the `GSWorkspace()`.

### Changed

- Added CLI-style execution functions for experiments defined in Python.
- Added `display()` to `ExecutorOutput` for producing a table that summarizes the run.

## [v1.3.0](https://github.com/allenai/tango/releases/tag/v1.3.0) - 2023-10-13

### Added
Expand Down
30 changes: 23 additions & 7 deletions tango/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,43 @@
"""

__all__ = [
"Format",
"cleanup_cli",
"DillFormat",
"DillFormatIterator",
"execute_step_graph",
"Executor",
"Format",
"initialize_cli",
"JsonFormat",
"JsonFormatIterator",
"load_settings",
"prepare_executor",
"prepare_workspace",
"Run",
"RunInfo",
"RunSort",
"SqliteDictFormat",
"Step",
"step",
"StepCache",
"StepGraph",
"StepInfo",
"StepInfoSort",
"StepState",
"StepResources",
"StepCache",
"StepGraph",
"Run",
"RunInfo",
"RunSort",
"StepState",
"tango_cli",
"Workspace",
]

from .cli import (
cleanup_cli,
execute_step_graph,
initialize_cli,
load_settings,
prepare_executor,
prepare_workspace,
tango_cli,
)
from .executor import Executor
from .format import (
DillFormat,
Expand Down
Loading

0 comments on commit 4c8ae5a

Please sign in to comment.