-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup jlaunch with multi-backend support
- Loading branch information
1 parent
2f82587
commit 8ba3695
Showing
13 changed files
with
401 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
import sys | ||
|
||
sys.path.insert(0, ".") | ||
|
||
import click | ||
|
||
from data_prep_scripts.jlaunch_backends import backends_list | ||
|
||
|
||
@click.group() | ||
def cli(): | ||
pass | ||
|
||
|
||
for backend in backends_list: | ||
cli.add_command(backend) | ||
|
||
if __name__ == "__main__": | ||
cli() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .slurm import backend_slurm | ||
from .ngc import backend_ngc | ||
from .shared_utils import run_cmd | ||
|
||
backends_list = [backend_slurm, backend_ngc] |
Oops, something went wrong.