Compare commits
2 Commits
ee6e7e9b72
...
b432d55d99
Author | SHA1 | Date |
---|---|---|
henk717 | b432d55d99 | |
Syler Clayton | 860b697a70 |
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [[ $1 = "cuda" ]]; then
|
if [[ $1 = "cuda" ]||[ $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
|
||||||
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
|
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
|
||||||
bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y
|
bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [[ $1 = "rocm" ]]; then
|
if [[ $1 = "rocm" ]||[ $1 = "ROCM" ]]; 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/rocm.yml -r runtime -n koboldai-rocm -y
|
bin/micromamba create -f environments/rocm.yml -r runtime -n koboldai-rocm -y
|
||||||
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
|
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
|
||||||
|
|
Loading…
Reference in New Issue