Uh oh!
There was an error while loading. Please reload this page.
[Flux Dreambooth LoRA] - te bug fixes & updates - #9139
Conversation
HuggingFaceDocBuilderDev
commented
Aug 9, 2024
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
sayakpaul
left a comment
There was a problem hiding this comment.
Let's add tests. No way otherwise, we can detect these. What say?
Uh oh!
There was an error while loading. Please reload this page.
…dreambooth-lora # Conflicts: # examples/dreambooth/train_dreambooth_lora_flux.py
…dreambooth-lora # Conflicts: # examples/dreambooth/train_dreambooth_lora_flux.py
Gothos
commented
Aug 10, 2024
sayakpaul
commented
Aug 10, 2024
@Gothos could be because of some bug in the training, not sure if it's the loading because the |
Gothos
commented
Aug 10, 2024
|
sayakpaul
commented
Aug 10, 2024
That was meant to be a piece of info, though. If you find anything dodgy holler at me. |
Gothos
commented
Aug 10, 2024
Will do! |
I think it should be better now - with loss fix + memory usage is lower - @Gothos@arcanite24 if you want to give it a try |
Gothos
commented
Aug 10, 2024
Yep I can also confirm that it converges! |
| vae_scale_factor=vae_scale_factor, | ||
| ) | ||
| model_pred = model_pred * (-sigmas) + noisy_model_input |
There was a problem hiding this comment.
this was removed because we discarded of precondition_outputs ,
originaly it was
# Follow: Section 5 of https://arxiv.org/abs/2206.00364.
# Preconditioning of the model outputs.
if args.precondition_outputs:
model_pred = model_pred * (-sigmas) + noisy_model_input
and was left accidentally in the previous merge after we removed precondition_outputs
sayakpaul
commented
Aug 11, 2024
@linoytsaban let's maybe also include your additional results in the comments when they are available? I left one question on the changes and then we can merge I think. |
linoytsaban
commented
Aug 11, 2024
yarn art lora example (overfit a bit but nice vibe to it) |
linoytsaban
commented
Aug 12, 2024
@sayakpaul let's merge once tests pass? |
sayakpaul
commented
Aug 12, 2024
Thank you! |
* add requirements + fix link to bghira's guide * text ecnoder training fixes * text encoder training fixes * text encoder training fixes * text encoder training fixes * style * add tests * fix encode_prompt call * style * unpack_latents test * fix lora saving * remove default val for max_sequenece_length in encode_prompt * remove default val for max_sequenece_length in encode_prompt * style * testing * style * testing * testing * style * fix sizing issue * style * revert scaling * style * style * scaling test * style * scaling test * remove model pred operation left from pre-conditioning * remove model pred operation left from pre-conditioning * fix trainable params * remove te2 from casting * transformer to accelerator * remove prints * empty commit



Uh oh!
There was an error while loading. Please reload this page.