mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs(installer): better comments for PYTORCH_ENABLE_MPS_FALLBACK
This commit is contained in:
parent
354d59df62
commit
148e6d9b97
@ -25,7 +25,7 @@ cd "$scriptdir"
|
|||||||
export INVOKEAI_ROOT="$scriptdir"
|
export INVOKEAI_ROOT="$scriptdir"
|
||||||
PARAMS=$@
|
PARAMS=$@
|
||||||
|
|
||||||
# Set required env var for torch on mac MPS
|
# This setting allows torch to fall back to CPU for operations that are not supported by MPS on macOS.
|
||||||
if [ "$(uname -s)" == "Darwin" ]; then
|
if [ "$(uname -s)" == "Darwin" ]; then
|
||||||
export PYTORCH_ENABLE_MPS_FALLBACK=1
|
export PYTORCH_ENABLE_MPS_FALLBACK=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user