Skip to content

Commit

Permalink
Linux Isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
henk717 committed Apr 26, 2023
1 parent 9eaa2ab commit 55625e5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commandline-rocm.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export CONDA_AUTO_ACTIVATE_BASE=false
export PYTHONNOUSERSITE=1
bin/micromamba run -r runtime -n koboldai-rocm bash
2 changes: 2 additions & 0 deletions commandline.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export CONDA_AUTO_ACTIVATE_BASE=false
export PYTHONNOUSERSITE=1
bin/micromamba run -r runtime -n koboldai bash
1 change: 1 addition & 0 deletions install_requirements.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions play-rocm.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export PYTHONNOUSERSITE=1
if [ ! -f "runtime/envs/koboldai-rocm/bin/python" ]; then
./install_requirements.sh rocm
fi
Expand Down
1 change: 1 addition & 0 deletions play.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export PYTHONNOUSERSITE=1
if [ ! -f "runtime/envs/koboldai/bin/python" ]; then
./install_requirements.sh cuda
fi
Expand Down

0 comments on commit 55625e5

Please sign in to comment.