Kizi-Art commited on
Commit
e4ffd17
1 Parent(s): 0120332

Upload webui-macos-env.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. webui-macos-env.sh +17 -0
webui-macos-env.sh ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ ####################################################################
3
+ # macOS defaults #
4
+ # Please modify webui-user.sh to change these instead of this file #
5
+ ####################################################################
6
+
7
+ if [[ -x "$(command -v python3.10)" ]]
8
+ then
9
+ python_cmd="python3.10"
10
+ fi
11
+
12
+ export install_dir="$HOME"
13
+ export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate"
14
+ export TORCH_COMMAND="pip install torch==2.0.1 torchvision==0.15.2"
15
+ export PYTORCH_ENABLE_MPS_FALLBACK=1
16
+
17
+ ####################################################################