Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core/UX] Add Job API and support managed job (both on-demand and spo…
…t) (#3419) * Refactor spot core APIs to `sky.spot.core` * Add comment * fix * format * change to spot_lib instead * change spot to job * rename modules * rename to managed job * fix * Allow on-demand for managed job * fix launch * Fixes names * rename to job controller * rename to job controller * Fix job recovery * format * Add CLI alias * format * rename * improve resources * fix doc * fix test * fix _cpus * fallback to old controller * fix unit test * backward compat job * change to --managed-job * fix job_recovery * refactor schemas * remove resources not having price * format * fix * fix managed job * format * format * fix * fix type for resource str * Fix test smoke * add request output * Merge and format * merge error fix * fix merge issue * fix output * fix test * rename to jobs * Replace spot_recovery to job_recovery * rename spot_ to jobs_ * format * add legacy job signal * address comments * renames * Fix controller type * incorporate #2080 * fix managed jobs * fix dashboard * Fix test * remove old code * format * update doc * fix managed jobs * Address comments * address comments * Add raw file * only use aws and gcp for pipeline * Fix doc * use managed-jobs * Fix back * fix * address comments * Fix * format * fix * Fix * minor * Update sky/cli.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/utils.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/cli.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/state.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/core.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/utils.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/core.py Co-authored-by: Zongheng Yang <[email protected]> * format * address comments * Fix optimizer table * Fix best plan * revert version 3 * fix * add backward compat * fix back compat * fix docs * fix PR template * Fix docs * format * fix job logs * fix * fix * fix docs * fix backward * fix backward * fix localstorage * fix job name in optimizer table * Update managed-jobs.rst * Update docs/source/reference/cli.rst Co-authored-by: Zongheng Yang <[email protected]> * address comments * Fix job controller name * Update sky/job/controller.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/job/utils.py Co-authored-by: Zongheng Yang <[email protected]> * add ress comment * format * Add comment * Add comments * check status again * check again * avoid lock * format * Update sky/backends/cloud_vm_ray_backend.py Co-authored-by: Tian Xia <[email protected]> * address comments * rename to jobs and add CLI alias to job * Add depdencies for all on-demand clouds * fix * Fix * fix test smoke * Update sky/utils/schemas.py Co-authored-by: Tian Xia <[email protected]> * fix names * format * fix * 0.8.0 instead * format * fix doc * fix cloudflare * Fix job dashboard * fix smoke * update * add comment for deprecation * rename to jobs * Update sky/clouds/cloud.py Co-authored-by: Zongheng Yang <[email protected]> * Update sky/jobs/utils.py Co-authored-by: Zongheng Yang <[email protected]> * Fix jobs * format * Update sky/jobs/utils.py Co-authored-by: Zongheng Yang <[email protected]> * minor * separate boto3 and awscli * fix * Update docs/source/reference/config.rst Co-authored-by: Tian Xia <[email protected]> * rename to jobs controller * format * Rename to JobsController * fix * renames * format * format * fix name in test * address comments * Fix docs * Add managed job yaml * fix * Update sky/cli.py Co-authored-by: Tian Xia <[email protected]> * fix comment --------- Co-authored-by: Zongheng Yang <[email protected]> Co-authored-by: Tian Xia <[email protected]>
- Loading branch information