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
Are you running this project natively or using Docker ? [Docker]
Is the issue present in the main branch or any of the development branches ? [Development branch]
Description 📖
Expected behavior: Docker image runs successfully
Actual behavior: Docker daemon throws an error
Steps to reproduce 👀
Run run_devel.sh
Select Option 2 (Ubuntu 22.04)
Make sure you either test it on a non-gpu machine or uninstall nvidia container toolkit
Output 💥
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
Additional Note 🚧
To address the docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] issue when running without GPU, a conditional statement needs to be added in the run_devel.sh file.
Suggested solution:
# Add conditional check for GPU availability before using --gpus flagif [ -z"$(command -v nvidia-smi)" ];then# Handle case when no GPU is presentecho"No GPU detected. Running without --gpus flag."# Add your additional commands here for non-GPU executionelse# GPU is present, use --gpus allecho"GPU detected. Running with --gpus all."# Add your original run command here with --gpus allfi
The text was updated successfully, but these errors were encountered:
Environment 🖥️
OS Version: Ubuntu 20.04
Do you have a dedicated GPU ? [No]
Are you running this project natively or using Docker ? [Docker]
Is the issue present in the main branch or any of the development branches ? [Development branch]
Description 📖
Steps to reproduce 👀
run_devel.sh
Output 💥
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
Additional Note 🚧
To address the
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
issue when running without GPU, a conditional statement needs to be added in therun_devel.sh
file.Suggested solution:
The text was updated successfully, but these errors were encountered: