Linux Isolation

This commit is contained in:
Henk
2023-04-26 19:31:20 +02:00
parent 9eaa2aba47
commit 55625e5cde
5 changed files with 7 additions and 0 deletions

View File

@@ -1 +1,3 @@
export CONDA_AUTO_ACTIVATE_BASE=false
export PYTHONNOUSERSITE=1
bin/micromamba run -r runtime -n koboldai-rocm bash

View File

@@ -1 +1,3 @@
export CONDA_AUTO_ACTIVATE_BASE=false
export PYTHONNOUSERSITE=1
bin/micromamba run -r runtime -n koboldai bash

View File

@@ -1,4 +1,5 @@
#!/bin/bash
export PYTHONNOUSERSITE=1
git submodule update --init --recursive
if [[ $1 = "cuda" || $1 = "CUDA" ]]; then
wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba

View File

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

View File

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