Skip to content

Set "PYTORCH_MPS_HIGH_WATERMARK_RATIO" on Mac App #7098

Answered by mauroao
BenRoe asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I figured out how to change this:

  1. Open Finder, go to Applications;
  2. Left click on ComfyUI, choose "show package contents"
  3. Navigate to folder: Contents -> Resources -> ComfyUI
  4. Look for file "main.py"
  5. Left click, open with (choose some text editor, like VSCode, or TextEdit...)
  6. Look for some line like "os.environ..."
  7. put this new like, save it, close and reopen the app:
os.environ['PYTORCH_MPS_HIGH_WATERMARK_RATIO'] = '0.0'

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BenRoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants