From 148e6d9b975625c6321d9f06e605529e5e02488d Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:18:37 +1100 Subject: [PATCH] docs(installer): better comments for PYTORCH_ENABLE_MPS_FALLBACK --- installer/templates/invoke.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/templates/invoke.sh.in b/installer/templates/invoke.sh.in index e52719e259..6a68cbc7c5 100644 --- a/installer/templates/invoke.sh.in +++ b/installer/templates/invoke.sh.in @@ -25,7 +25,7 @@ cd "$scriptdir" export INVOKEAI_ROOT="$scriptdir" 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 export PYTORCH_ENABLE_MPS_FALLBACK=1 fi