facebookresearch / habitat-challenge

Code for the habitat challenge
https://aihabitat.org
MIT License
309 stars 56 forks source link

Unable to find CUDA device when running evaluation for random agent #158

Closed klammecr closed 1 year ago

klammecr commented 1 year ago

Thank you in advance, I've been having some issues doing evaluation. I was able to run a random baseline last week but I am not able to now. Just installed the most up to date drivers and all

Setup:

Script: image

pybullet build time: Oct 28 2022 16:15:14
Neither `ifconfig` (`ifconfig -a`) nor `ip` (`ip address show`) commands are available, listing network interfaces is likely to fail
2023-04-06 19:27:01,675 Initializing dataset ObjectNav-v1
2023-04-06 19:27:01,991 initializing sim Sim-v0
Platform::WindowlessEglApplication::tryCreateContext(): unable to find CUDA device 0 among 1 EGL devices in total
WindowlessContext: Unable to create windowless context
ykarmesh commented 1 year ago

Are you able to see the GPUs inside the docker?

You can check this by running a docker instance with the following command and doing nvidia-smi inside that:

docker run --runtime=nvidia --rm -it --entrypoint bash fairembodied/habitat-challenge:habitat_navigation_2023_base_docker

If you are able to see the GPUs inside the docker, then please see if any of the following issues answers your question: https://github.com/facebookresearch/habitat-sim/issues/1671 https://github.com/facebookresearch/habitat-sim/issues/851 https://github.com/facebookresearch/habitat-sim/issues/978

ykarmesh commented 1 year ago

Closing due to the lack of activity on this thread. Feel free to reopen it if you are still facing the issue.