Merge pull request #5489 from brkirch/set-python_cmd

macOS install improvements
This commit is contained in:
AUTOMATIC1111 2022-12-10 09:30:13 +03:00 committed by GitHub
commit 6edeabb700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -30,3 +30,4 @@ inflection
GitPython
torchsde
safetensors
psutil; sys_platform == 'darwin'

View File

@ -4,6 +4,12 @@
# Please modify webui-user.sh to change these instead of this file #
####################################################################
if [[ -x "$(command -v python3.10)" ]]
then
python_cmd="python3.10"
fi
export install_dir="$HOME"
export COMMANDLINE_ARGS="--skip-torch-cuda-test --no-half --use-cpu interrogate"
export TORCH_COMMAND="pip install torch==1.12.1 torchvision==0.13.1"
export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git"