Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Stable Diffusion 2.0 on Mac and Linux via imaginAIry Python library. Parent comment
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
and it will run on cpu if some operation isn't supported
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
and it will run on cpu if some operation isn't supported