From 0342f0db78af73a3d0e526a8295f5ce8b62bffcf Mon Sep 17 00:00:00 2001 From: Henk Date: Fri, 6 Jan 2023 18:11:48 +0100 Subject: [PATCH] Install submodules on requirements install This helps people who clone the repository without knowing submodules need to be cloned, on the dependency installation it will now automatically check the submodules. --- install_requirements.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install_requirements.sh b/install_requirements.sh index 7d2c0c2f..6f0e0dfd 100755 --- a/install_requirements.sh +++ b/install_requirements.sh @@ -1,4 +1,5 @@ #!/bin/bash +git submodule update --init --recursive if [[ $1 = "cuda" ]]; then wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y