Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CogVideo ImageEncode goes OOM #312

Open
deadcat000 opened this issue Dec 6, 2024 · 0 comments
Open

CogVideo ImageEncode goes OOM #312

deadcat000 opened this issue Dec 6, 2024 · 0 comments

Comments

@deadcat000
Copy link

deadcat000 commented Dec 6, 2024

ImageEncode and ImageEncode FunInP both build up on memory until they run out.
I'm on a macbook pro M1max with 64GB RAM.
tried enable_tiling but it didn't help.

Error message:
MPS backend out of memory (MPS allocated: 14.05 GB, other allocations: 67.50 GB, max allowed: 81.60 GB). Tried to allocate 67.50 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant