Releases: jaywonchung/pegasus
v1.4.0
v1.3.0
Now Pegasus will burst a parametrized commands into individual commands in the queue file and only take one at a time. Before this change, it'll take the entire parametrized command entry even if it can not run all of them with available nodes.
Queue file from user:
- command:
- echo {{ message }}
message:
- hi
- bye
Pegasus will burst this into:
- command:
- echo {{ message }}
message:
- hi
- command:
- echo {{ message }}
message:
- bye
Then, if Pegasus has only one node available, it will take only one from the top (echo hi
).
v1.2.1
Better error reporting and cancellation
v1.2.0
- Peaceful termination with error reporting on SSH connection failure.
- Specialization for hostname
localhost
,127.0.0.1
, and::1
- These do not really need SSH. Instead, just spawn child processes.
v1.1.3
Fixed a bug where handlebars helpers were not registered for queue mode.
v1.1.2
Fix GitHub - Cargo version inconsistency
v1.1.1
Added Handlebars example to README.md.
v1.1.0
More usable Handlebars templating.
An example would best illustrate why this is useful:
# queue.yaml
- command:
- python main.py --model-path {{ model }} --output-path {{ replace model "/" "--" }}.json
- model:
- facebook/opt-13b
- facebook/opt-30b
- facebook/opt-66b
The replace
helper function transforms model names to something like facebook--opt-13b
so that the file name. Otherwise, the output would be saved to facebook/opt-13b.json
, which may not be desirable.
v1.0.4
Terminate the process when a connection fails.
v1.0.3
Don't clone when acquiring LockedFile
.