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

quantization flux-dev int8 or fp8 occur oom in L40s #89

Open
algorithmconquer opened this issue Oct 21, 2024 · 1 comment
Open

quantization flux-dev int8 or fp8 occur oom in L40s #89

algorithmconquer opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@algorithmconquer
Copy link

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 72.00 MiB. GPU 0 has a total capacity of 44.53 GiB of which 70.31 MiB is free. Process 266383 has 44.45 GiB memory in use. Of the allocated memory 43.77 GiB is allocated by PyTorch, and 186.54 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

@jingyu-ml jingyu-ml self-assigned this Oct 23, 2024
@jingyu-ml
Copy link
Collaborator

jingyu-ml commented Oct 29, 2024

#96

Could you please try this solution? @algorithmconquer
#96 (comment)

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

2 participants