[GH-ISSUE #74] MPS backend out of memory OSX #69

Open
opened 2026-10-31 21:16:34 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Metacowboy on GitHub (Dec 6, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/74

runs quite well exept when i try to use the mode best it returns following error

MPS backend out of memory (MPS allocated: 6.04 GB, other allocations: 1.04 GB, max allowed: 6.77 GB). Tried to allocate 459.07 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure)

System Mac Ventura rund without nivida or CUDE
Any workaround exept PYTORCH_MPS_HIGH_WATERMARK_RATIO in the Stabel difussion config

Originally created by @Metacowboy on GitHub (Dec 6, 2023). Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/74 runs quite well exept when i try to use the mode **best** it returns following error MPS backend out of memory (MPS allocated: 6.04 GB, other allocations: 1.04 GB, max allowed: 6.77 GB). Tried to allocate 459.07 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure) System Mac Ventura rund without nivida or CUDE Any workaround exept PYTORCH_MPS_HIGH_WATERMARK_RATIO in the Stabel difussion config
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pharmapsychotic/clip-interrogator-ext#69
No description provided.