try fix some mps problems
This commit is contained in:
parent
de570566e2
commit
0d878b0282
|
|
@ -1 +1 @@
|
||||||
version = '2.1.824'
|
version = '2.1.825'
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ sys.path += [root, backend_path]
|
||||||
|
|
||||||
os.chdir(root)
|
os.chdir(root)
|
||||||
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
|
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
|
||||||
|
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
|
||||||
os.environ["GRADIO_SERVER_PORT"] = "7865"
|
os.environ["GRADIO_SERVER_PORT"] = "7865"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue