-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
CudaOutOfMemory on Flux Lora Training #9156
Comments
Did/Could you examine its |
Sorry for the late reply @tolgacangoz . I can train flux lora with SimpleTuner repository as you mentioned in your shared document. I was created this issue, because I can't when I follow this document. |
Have you had any success @m-pektas? I am trying to train Dreambooth using Flux fp8, but I'd like to avoid using SimpleTuner if possible. |
cc: @linoytsaban |
No, but I haven’t tried with this repo. I was able to run Flux FP8 with ComfyUI, but was hoping to do LoRA training directly in this diffusers lib without ComfyUI or SimpleTuner as overhead. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Hey @m-pektas is this still an issue? I'm unable to reproduce (also training on A100), could you share your env? specifically version of |
Hey @linoytsaban , I haven't tried again it recently. But I shared my package versions under req_flux.txt. If you didn't reporoduce it even use the same versions, maybe it fixed or i had another problem. |
Can you try regarding #9829 ? I have saved memory by implementing this :) |
Gentle bump in this thread to figure out if this issue has been resolved yet. I see a merged PR so if yes, I think we can close it :) |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
I didn’t have the chance to check if it was resolved, but it is stale and as we can see, there are merged PRs related to it. I am closing it, if it occurs again, we can reopen it. Thanks for your comments and contributions. |
Describe the bug
I tried to train the flux-dev model with Lora on A100 40GB. But it raises the CudaOutOfMemory exception.
Reproduction
Logs
System Info
Pip
req_flux.txt
Hardware
NVIDIA A100-SXM4-40GB
Who can help?
No response
The text was updated successfully, but these errors were encountered: