-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from NimbleBoxAI/v1
0.13.0rc18
- Loading branch information
Showing
37 changed files
with
551 additions
and
4,205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,6 @@ notebooks/ | |
# not need to add / in symlink | ||
.nbx | ||
ex_jobs | ||
scripts | ||
scripts | ||
.nboxignore | ||
stories/requirements.txt |
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 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 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 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 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from nbox.jd_core.schedule import Schedule | ||
from nbox.jd_core.jobs import Job, _get_job_data, get_job_list | ||
from nbox.jd_core.jobs import Job, _get_job_data, print_job_list, new_job | ||
from nbox.jd_core.serving import Serve, _get_deployment_data, print_serving_list | ||
from nbox.jd_core.upload import upload_job_folder | ||
from nbox.jd_core.cli import JobsCli, ServeCli |
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 |
---|---|---|
@@ -1,18 +1,20 @@ | ||
from functools import partial | ||
|
||
from nbox.jd_core.upload import upload_job_folder | ||
from nbox.jd_core.jobs import get_job_list, Job | ||
from nbox.jd_core.jobs import print_job_list, Job, new_job, get_job_list | ||
from nbox.jd_core.serving import print_serving_list, Serve | ||
|
||
JobsCli = { | ||
"status": get_job_list, | ||
"status": print_job_list, | ||
"list": print_job_list, | ||
"upload": partial(upload_job_folder, "job"), | ||
"get": Job, | ||
"pick": Job, | ||
"new": new_job, | ||
} | ||
|
||
|
||
ServeCli = { | ||
"status": print_serving_list, | ||
"upload": partial(upload_job_folder, "serving"), | ||
"get": Serve, | ||
"pick": Serve, | ||
} |
Oops, something went wrong.