Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[k8s] Ray cluster is incorrectly initialized with gpu resource #2608

Closed
romilbhardwaj opened this issue Sep 25, 2023 · 0 comments · Fixed by #2636
Closed

[k8s] Ray cluster is incorrectly initialized with gpu resource #2608

romilbhardwaj opened this issue Sep 25, 2023 · 0 comments · Fixed by #2636
Labels
k8s Kubernetes related items

Comments

@romilbhardwaj
Copy link
Collaborator

On a CPU-only kubernetes cluster, the ray cluster shows 1 GPU available, which is incorrect. Ssh into node and run ray status:

(base) sky@test-2ea4-ray-head:~$ ray status
======== Autoscaler status: 2023-09-25 23:08:16.304098 ========
Node status
---------------------------------------------------------------
Healthy:
 1 ray_head_default
Pending:
 (no pending nodes)
Recent failures:
 (no failures)

Resources
---------------------------------------------------------------
Usage:
 0.0/2.0 CPU
 0.0/1.0 GPU
 0B/2.00GiB memory
 0B/476.84MiB object_store_memory

Demands:
 (no resource demands)

Repro:

  1. sky local up - this creates a CPU only cluster
  2. sky launch -c test --cloud kubernetes -y
  3. ssh test
  4. ray status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k8s Kubernetes related items
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant