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.
This commit is contained in:
Henk
2023-01-06 18:11:48 +01:00
parent 8fad03431d
commit 0342f0db78

View File

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
git submodule update --init --recursive
if [[ $1 = "cuda" ]]; then if [[ $1 = "cuda" ]]; then
wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba 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 bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y