-
Notifications
You must be signed in to change notification settings - Fork 1.2k
FAQ
Error response from daemon: dockerfile parse error line 33: unknown instruction: GIT
ERROR: Service 'model' failed to build : Build failed
Update docker to the latest version, and make sure you are using docker compose
instead of docker-compose
. #16
Create a docker-compose.override.yaml
to refresh the models with PRELOAD=true
. #72
services:
lstein:
environment:
- PRELOAD=true
You only have to do this once, you can remove this afterwards.
use --precision full --no-half
. #9
CondaError: Downloaded bytes did not match Content-Length
or CondaEnvException: Pip failed, ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE
This means your internet connection is unstable so the download failed, just try again.
Install NVIDIA Container Toolkit and restart the docker service #81
Build fails at The Shell command, /bin/bash
not found in WSL.
Edit the corresponding docker file, and change the SHELL from /bin/bash
to //bin/bash
#21, note: this is a hack and something in your wsl is messed up.
You can try forcing plain text auth creds storage by removing line with "credStore" from ~/.docker/config.json (in WSL). #56
Set the build/network
of the service you are starting to host
#114
- Make sure:
- Windows 10 release >= 2021H2 (required for WSL to see the GPU)
- WSL2 (check with
wsl -l -v
) - Latest Docker Desktop
- You might need to create a
.wslconfig
and increase memory, if you have 16GB RAM, set the limit to something around 12GB, #34 #64 - You might also need to force wsl to allow file permissions
You have to use one of AWS's GPU-enabled VMs and their Deep Learning OS images. These have the right divers, the toolkit and all the rest already installed and optimized. #70