diff --git a/charts/core/templates/ray-service/ray-service.yaml b/charts/core/templates/ray-service/ray-service.yaml index 5846acd6..b2e8f38d 100644 --- a/charts/core/templates/ray-service/ray-service.yaml +++ b/charts/core/templates/ray-service/ray-service.yaml @@ -114,6 +114,9 @@ spec: maxReplicas: {{ $workerGroupSpecs.maxReplicas }} groupName: {{ $workerGroupSpecs.groupName }} rayStartParams: + {{- if $workerGroupSpecs.gpuWorkerGroup.enabled }} + num-cpus: "0" + {{- end }} {{- if $workerGroupSpecs.gpuWorkerGroup.customResource }} resources: {{ $workerGroupSpecs.gpuWorkerGroup.customResource }} {{- end }} diff --git a/charts/core/values.yaml b/charts/core/values.yaml index 7901cf11..2a4a21ae 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -687,11 +687,11 @@ rayService: headGroupSpec: resources: limits: - cpu: "0" + cpu: "2" memory: "4Gi" nvidia.com/gpu: 0 requests: - cpu: "0" + cpu: "2" memory: "4Gi" nvidia.com/gpu: 0 affinity: {}