Create run.sh
Browse files
run.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#should just be plug and play given dockerfile and this start-script
|
| 3 |
+
## but we'll see
|
| 4 |
+
|
| 5 |
+
export USER="$(whoami)"
|
| 6 |
+
export PATH=$PATH:"/home/$USER/.local/bin"
|
| 7 |
+
|
| 8 |
+
# might need to run twice, test on an actual GPU, best I can tell it takes one
|
| 9 |
+
## round through to create the torch module so that it can actually run
|
| 10 |
+
## Conda might actually be a fix for this if I can make it work, not tonight though
|
| 11 |
+
## use ./webui.sh --listen --xformers --use-cpu all --precision full --no-half --skip-torch-cuda-test if no GPU
|
| 12 |
+
|
| 13 |
+
./webui.sh --listen --xformers
|
| 14 |
+
./webui.sh --listen --xformers
|