try fix some mps problems

This commit is contained in:
lllyasviel 2023-12-11 19:16:46 -08:00
parent de570566e2
commit 0d878b0282
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
version = '2.1.824'
version = '2.1.825'

View File

@ -10,6 +10,7 @@ sys.path += [root, backend_path]
os.chdir(root)
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
os.environ["GRADIO_SERVER_PORT"] = "7865"