Force Bash

This commit is contained in:
Henk 2022-05-08 16:02:16 +02:00
parent 0ca4917056
commit e09b939f04
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
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

View File

@ -1,3 +1,4 @@
#!/bin/bash
if [ ! -f "runtime/envs/koboldai-rocm/bin/python" ]; then
./install_requirements.sh rocm
fi

View File

@ -1,3 +1,4 @@
#!/bin/bash
if [ ! -f "runtime/envs/koboldai/bin/python" ]; then
./install_requirements.sh cuda
fi