Open Stealthwriter opened 2 weeks ago
Hi @Stealthwriter, since Cudo does not support stopping an instance, we cannot launch our controller on Cudo at the moment. Will it be possible for you to customize the controller resources, so we can launch the controller on another cloud and your replicas on Cudo? https://skypilot.readthedocs.io/en/latest/serving/sky-serve.html#customizing-skyserve-controller-resources
To do this I have to install from source right? otherwise how to access this config file if I install with pip
I tried to open config.yaml to edit it but it's empty
You don't have to install from source. SkyPilot will read from ~/.sky/config.yaml
.
Yes, it will be empty if did not put anything in there. Please add a section there such as:
serve:
# NOTE: these settings only take effect for a new SkyServe controller, not if
# you have an existing one.
controller:
resources:
# All configs below are optional.
# Specify the location of the SkyServe controller.
cloud: gcp
ohh makes sense now I will try
From DM w/ @Stealthwriter the workaround (using other cloud as controller) works. We still need to think how to support host controller on Cudo though.
worked thanks! although cudo didn't spin the instances it got stuck at provisioning: 08-26 21:12:55 provisioner.py:65] Launching on Cudo no-luster-1 (all zones) W 08-26 21:12:55 instance.py:89] run_instances: 'VirtualMachinesApi' object has no attribute 'list_vm_machine_types' D 08-26 21:12:55 provisioner.py:171] Failed to provision 'humanizer-1' on Cudo (all zones). D 08-26 21:12:55 provisioner.py:173] bulk_provision for 'humanizer-1' failed. Stacktrace: D 08-26 21:12:55 provisioner.py:173] AttributeError: 'VirtualMachinesApi' object has no attribute 'list_vm_machine_types'. Did you mean: 'list_vm_machine_types2'? D 08-26 21:12:55 provisioner.py:173] D 08-26 21:12:55 provisioner.py:178] Terminating the failed cluster. D 08-26 21:12:56 metadata_utils.py:115] Remove metadata of cluster humanizer-1-b10f.
When I try to run skyserve with cudo instances I get this error:
How can I fix that?