mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-04 03:29:00 +08:00
Merge 8756a0c7a1ac312aedb20fa3bef48c4fca0f3b23 into 374bb6cc384d2a19422c0b07d69de0a41d1f3f4d
This commit is contained in:
commit
2a5f78e202
@ -5,13 +5,13 @@
|
||||
####################################################################
|
||||
|
||||
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
|
||||
|
||||
if [[ "$(sysctl -n machdep.cpu.brand_string)" =~ ^.*"Intel".*$ ]]; then
|
||||
export TORCH_COMMAND="pip install torch==2.1.2 torchvision==0.16.2"
|
||||
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
|
||||
|
||||
####################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user