Open mainey opened 3 weeks ago
Hi @mainey ! Thanks for reporting this. Could you try adding cpus: 2+
under the {jobs,serve}.controller.resoruces
field?
This makes me wondering should we ignore default settings (at least cpu) if we find a customized resource. cc @Michaelvll for a look here
@cblmemo it works, thanks. Before that, i tried cpus: 2
it doesnt work, but 2+
works.
edit: reopening the issue if there will be more discussions.
I just tried with cpus: 2
and it seems to work for me. Do you still happen to keep the error logs for cpus: 2
?
serve:
controller:
resources:
cloud: aws
region: ap-southeast-1
instance_type: c6a.large
disk_size: 50
cpus: 2
When sky serve up a manifest with spot resources, skypilot would only want to launch a controller instance with 4 core
~/.sky/config.yaml
sky serve up prod.yaml
Error log
Version & Commit info:
sky -v
:skypilot, version 1.0.0.dev20241027
sky -c
:skypilot, commit c0c17483d1f692ad639144050f5f6fa0966e47a5