mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-05-06 20:09:06 +08:00
Merge 8756a0c7a1ac312aedb20fa3bef48c4fca0f3b23 into 2174ce5afea90ca489d222f539988dcef59f1027
This commit is contained in:
commit
602e87601c
@ -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