Sayak Paul
a7da9c1a8f
[Examples] Add support for Min-SNR weighting strategy for better convergence ( #2899 )
...
* improve stable unclip doc.
* feat: support for applying min-snr weighting for faster convergence.
* add: support for validation logging with wandb
* make not a required arg.
* fix: arg name.
* fix: cli args.
* fix: tracker config.
* fix: loss calculation.
* fix: validation logging.
* fix: unwrap call.
* fix: validation logging.
* fix: internval.
* fix: checkpointing push to hub.
* fix: c8a2856c6d \#commitcomment-106913193
* fix: norm group test for UNet3D.
* address PR comments.
* remove unneeded code.
* add: entry in the readme and docs.
* Apply suggestions from code review
Co-authored-by: Suraj Patil <surajp815@gmail.com >
---------
Co-authored-by: Suraj Patil <surajp815@gmail.com >
2023-05-05 07:22:12 -07:00
dg845
663c654577
[WIP][Docs] Use DiffusionPipeline Instead of Child Classes when Loading Pipeline ( #2809 )
...
* Change the docs to use the parent DiffusionPipeline class when loading a checkpoint using from_pretrained() instead of a child class (e.g. StableDiffusionPipeline) where possible.
* Run make style to fix style issues.
* Change more docs to use DiffusionPipeline rather than a subclass.
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-03-28 16:44:34 +01:00
John HU
920a15cf70
Fix link to LoRA training guide in DreamBooth training guide ( #2836 )
...
Fix link to LoRA training guide
2023-03-28 16:35:41 +01:00
Mishig
8e35ef0142
[doc wip] literalinclude ( #2718 )
2023-03-23 13:42:54 +01:00
Sayak Paul
9dc84448ac
[Examples] InstructPix2Pix instruct training script ( #2478 )
...
* add: initial implementation of the pix2pix instruct training script.
* shorten cli arg.
* fix: main process check.
* fix: dataset column names.
* simplify tokenization.
* proper placement of null conditions.
* apply styling.
* remove debugging message for conditioning do.
* complete license.
* add: requirements.tzt
* wandb column name order.
* fix: augmentation.
* change: dataset_id.
* fix: convert_to_np() call.
* fix: reshaping.
* fix: final ema copy.
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* address PR comments.
* add: readme details.
* config fix.
* downgrade version.
* reduce image width in the readme.
* note on hyperparameters during generation.
* add: output images.
* update readme.
* minor edits to readme.
* debugging statement.
* explicitly placement of the pipeline.
* bump minimum diffusers version.
* fix: device attribute error.
* weight dtype.
* debugging.
* add dtype inform.
* add seoarate te and vae.
* add: explicit casting/
* remove casting.
* up.
* up 2.
* up 3.
* autocast.
* disable mixed-precision in the final inference.
* debugging information.
* autocasting.
* add: instructpix2pix training section to the docs.
* Empty-Commit
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-03-23 10:15:01 +05:30
Sayak Paul
73bdad08a1
add: controlnet entry to training section in the docs. ( #2677 )
...
* add: controlnet entry to training section in the docs.
* formatting.
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* wrap in a tip block.
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-03-21 07:23:24 +05:30
M. Tolga Cangöz
ba87c1607c
Update text_inversion.mdx ( #2751 )
...
Fix typos
2023-03-20 13:20:50 -07:00
M. Tolga Cangöz
25ed7cb08b
Update dreambooth.mdx ( #2742 )
...
Fix typos
2023-03-20 17:40:56 +00:00
Steven Liu
68545a15d9
[docs] Update unconditional image generation docs ( #2592 )
...
* 📝 update and minor refactor
* ✨ minor edits
2023-03-08 09:47:49 -08:00
Steven Liu
b285d94e10
[docs] Move Textual Inversion training examples to docs ( #2576 )
...
* 📝 add textual inversion examples to docs
* 🖍 apply feedback
* 🖍 add colab link
2023-03-07 14:21:18 -08:00
Steven Liu
62bea2df36
[docs] Move text-to-image LoRA training from blog to docs ( #2527 )
...
* include text2image lora training in docs
* 🖍 apply feedback
* 🖍 minor edits
2023-03-06 13:45:07 -08:00
Steven Liu
9136be14a7
[docs] Move DreamBooth training materials to docs ( #2547 )
...
* move dbooth github stuff to docs
* add notebooks
* 🖍 minor shuffle
* 🖍 fix markdown table
* 🖍 apply feedback
* ✨ make style
* 🖍 minor fix in code snippet
2023-03-06 13:44:30 -08:00
Steven Liu
7004ff55d5
[docs] Move relevant code for text2image to docs ( #2537 )
...
* move relevant code from text2image on GitHub to docs
* 🖍 add inference for text2image with flax
* 🖍 apply feedback
2023-03-06 13:43:45 -08:00
Patrick von Platen
eadf0e2555
[Copyright] 2023 ( #2524 )
2023-03-01 10:31:00 +01:00
Patrick von Platen
f5ccffecf7
Use accelerate save & loading hooks to have better checkpoint structure ( #2048 )
...
* better accelerated saving
* up
* finish
* finish
* uP
* up
* up
* fix
* Apply suggestions from code review
* correct ema
* Remove @
* up
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Update docs/source/en/training/dreambooth.mdx
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-02-07 20:03:59 +01:00
Pedro Cuenca
164b6e0532
Section on using LoRA alpha / scale ( #2139 )
...
* Section on using LoRA alpha / scale.
* Accept suggestion
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Clarify on merge.
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-01-30 14:14:46 +01:00
Sayak Paul
c1184918c5
[docs] Adds a doc on LoRA support for diffusers ( #2086 )
...
* add: a doc on LoRA support in diffusers.
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* apply PR suggestions.
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* remove visually incoherent elements.
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-01-25 12:23:12 +01:00
Chanran Kim
75d53cc839
Init for korean docs ( #1910 )
...
* init for korean docs
* edit build yml file for multi language docs
* edit one more build yml file for multi language docs
* add title for get_frontmatter error
2023-01-04 22:59:42 +01:00