projectchrono / gym-chrono

Custom OpenAI Gym environments based on PyChrono
30 stars 7 forks source link

7/dockerfile #8

Closed StefanCaldararu closed 7 months ago

StefanCaldararu commented 7 months ago

This container now works for me for gymchrono. Please make sure it works for you guys and lmk how the docs look.

Huzaifg commented 7 months ago

Is this the error when quotas are reached? image

Huzaifg commented 7 months ago

I tested the instructions in the readme. I ran into 2 problems 1) As posted above, the gdrive quota ran out and I had to run the gymChrono.sh script within the container. For now I think this is okay, but long term when some of us gets the time, we should think of another solution to store the data on something that does not have quota limits.

2) I could not run the container after building it with this error 95a0408ae8006283f137fd849a6cddecddebdf5ba2a2343f623757c154a41145 docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. I then had to install the NVIDIA Docker toolkit and configure it

sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker

I am not sure what we can do about this other than adding another note about this

StefanCaldararu commented 7 months ago

I tested the instructions in the readme. I ran into 2 problems

  1. As posted above, the gdrive quota ran out and I had to run the gymChrono.sh script within the container. For now I think this is okay, but long term when some of us gets the time, we should think of another solution to store the data on something that does not have quota limits.
  2. I could not run the container after building it with this error 95a0408ae8006283f137fd849a6cddecddebdf5ba2a2343f623757c154a41145 docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. I then had to install the NVIDIA Docker toolkit and configure it
sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker

I am not sure what we can do about this other than adding another note about this

Fixed the README for NVIDIA CONTAINER TOOLKIT, will open an issue about data download so we can fix it later.