Merge 8756a0c7a1ac312aedb20fa3bef48c4fca0f3b23 into 2174ce5afea90ca489d222f539988dcef59f1027

This commit is contained in:
shinriyo 2025-05-03 02:17:19 -04:00 committed by GitHub
commit 602e87601c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,13 +5,13 @@
#################################################################### ####################################################################
export install_dir="$HOME" export install_dir="$HOME"
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate" export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate --no-half"
export PYTORCH_ENABLE_MPS_FALLBACK=1 export PYTORCH_ENABLE_MPS_FALLBACK=1
if [[ "$(sysctl -n machdep.cpu.brand_string)" =~ ^.*"Intel".*$ ]]; then if [[ "$(sysctl -n machdep.cpu.brand_string)" =~ ^.*"Intel".*$ ]]; then
export TORCH_COMMAND="pip install torch==2.1.2 torchvision==0.16.2" export TORCH_COMMAND="pip install torch==2.1.2 torchvision==0.16.2"
else else
export TORCH_COMMAND="pip install torch==2.3.1 torchvision==0.18.1" export TORCH_COMMAND="pip install torch==2.2.2 torchvision==0.17.2"
fi fi
#################################################################### ####################################################################