Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Command runner refactor and avoid
source ~/.bashrc
for bette…
…r speed (#3484) * remove job_owner * remove some clouds.Local related code * Remove Local cloud entirely * remove local cloud * fix * slurm runner * kubernetes runner * Use command runner for kubernetes * rename back to ssh * refactor runners in backend * fix * fix * fix rsync * Fix runner * Fix run() * errors and fix head runner * support different mode * format * use whoami instead of $USER * timeline for run and rsync * lazy imports for pandas and lazy data frame * fix fetch_aws * fix fetchers * avoid sync script for task * add timeline * cache cluster_info * format * cache cluster info * do not stream * fix skip lines * format * avoid source bashrc or -i for internal exec * format * use -i * Add None arg * remove kubernets runner * fix * fix fluidstack and paperspace * remove k8s * fix * format * update cluster info for the old clusters * move update * fix backward compat * fix * fix backward * format * fix back compat * fix backward * Update sky/backends/backend_utils.py Co-authored-by: Tian Xia <[email protected]> * Update sky/utils/command_runner.py Co-authored-by: Tian Xia <[email protected]> * Update sky/exceptions.py Co-authored-by: Tian Xia <[email protected]> * address comments * format * format * fix command * Source bashrc for storage mount * fix mounts * longer wait time for autostop on azure * Fix root command * avoid using azure for pipeline to speed up tests * use aws and gcp only for the pipeline * Fix autostop for Azure * fix ray command * format * source bashrc for storage copy * Fix logic * format * avoid assert for ssh port * set true * fix command * format * add source_bashrc for setup * Fix tests * avoid two nodes for azure * Update sky/backends/cloud_vm_ray_backend.py Co-authored-by: Tian Xia <[email protected]> * Update sky/backends/cloud_vm_ray_backend.py Co-authored-by: Tian Xia <[email protected]> * Add comment * Merge branch 'command-runner-refactor' of github.com:skypilot-org/skypilot into command-runner-refactor * format * Rename * Use cached ip for `ray status` * reset azure test * fix error for cluster info loading for replica * add comments * longer time for azure stop * fix runner * longer time * format * remove zone for auto_restart yaml * install jq * fix source bashrc for run * source bashrc for ray cluster --------- Co-authored-by: Ubuntu <azureuser@ray-dev-zhwu-9ce1-head-e359-868f0.h4nxbv2ixrmevnfzs0oyii0g1h.bx.internal.cloudapp.net> Co-authored-by: Tian Xia <[email protected]>
- Loading branch information