Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI-style execution for Python-defined experiments #600

Merged
merged 17 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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