Closed rigbyb closed 10 months ago
These changes seemed to have solved my issues, and so hopefully will apply to others (without causing anything to break). I can also add these changes to a commit, if necessary (and possible).
I tried to fix, but idk if it worked. I never tried running it with Docker
It's okay. The updates seem to have fixed the issues I mentioned. Thanks :)
There were some issues during the docker container setup on my machine that I managed to circumvent, so I'm posting some details here.
System Info
docker-compose.yml
docker compose up
seems to fail due to indentation. Despite the message, this was caused by line 5 (deploy:):This was fixed by removing the single extra space before "deploy:".
Another issue came from mounting
api_key.txt
.The mount location for
api_key.txt
assumes the current directory (line 26):Based off the cloned repo,
api_key.txt
is located in the parent directory, and thus should be:Dockerfile
The Dockerfile build process gets stuck at stage 8/11 (conda install) due to the confirmation "([y]/n)?" dialogue.
Adding
-y
to the conda install step on line 26 seems to solve this issue.RUN conda install -y pytorch torchvision torchaudio pytorch-cuda=11.7 git -c pytorch -c nvidia -c conda-forge