You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
within the container, I can see that nvidia-smi recognises the gpu. However running ray.get_gpu_ids() returns an empty list.
I have tried the following base images with no luck:
rayproject/ray:latest
rayproject/ray:2.20.0.5708e7-py310-cu121
rayproject/ray-ml:latest
The commands I use:
docker compose build
docker compose run app bash
nvidia-smi I can see my cuda version being 12.2
python
import ray
print(ray.get_gpu_ids())
Versions / Dependencies
docker
ubuntu
nvidia cuda 12.4
Reproduction script
docker compose build
docker compose run app bash
nvidia-smi I can see my cuda version being 12.2
python
import ray
print(ray.get_gpu_ids())
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered:
stephano41
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
May 17, 2024
@kevin85421 would you mind taking a look at their yaml?
rynewang
added
P1
Issue that should be fixed within a few weeks
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
May 20, 2024
What happened + What you expected to happen
I am trying to run Ray with gpu support within a custom docker image and docker compose.
The Dockerfile I am using:
The docker compose file I am using:
within the container, I can see that nvidia-smi recognises the gpu. However running ray.get_gpu_ids() returns an empty list.
I have tried the following base images with no luck:
rayproject/ray:latest
rayproject/ray:2.20.0.5708e7-py310-cu121
rayproject/ray-ml:latest
The commands I use:
docker compose build
docker compose run app bash
nvidia-smi I can see my cuda version being 12.2
python
import ray
print(ray.get_gpu_ids())
Versions / Dependencies
docker
ubuntu
nvidia cuda 12.4
Reproduction script
docker compose build
docker compose run app bash
nvidia-smi I can see my cuda version being 12.2
python
import ray
print(ray.get_gpu_ids())
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: