Sayak Paul
bc2ba004c6
[LCM] add: locm docs. ( #5723 )
...
* add: locm docs.
* correct path
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* up
* add
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-09 17:21:26 +01:00
M. Tolga Cangöz
7942bb8dc2
[Docs] Fix typos, improve, update at Using Diffusers' Task page ( #5611 )
...
* Fix typos, improve, update; kandinsky doesn't want fp16 due to deprecation; ogkalu and kohbanye don't have safetensor; add make_image_grid for better visualization
* Update inpaint.md
* Remove erronous Space
* Update docs/source/en/using-diffusers/conditional_image_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update img2img.md
* load_image() already converts to RGB
* Update depth2img.md
* Update img2img.md
* Update inpaint.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-07 15:42:20 -08:00
YiYi Xu
2b23ec82e8
add callbacks to denoising step ( #5427 )
...
* draft1
* update
* style
* move to the end of loop
* update
* update callbak_on_step_end_inputs
* Revert "update"
This reverts commit 5f9b153183 .
* Revert "update callbak_on_step_end_inputs"
This reverts commit 44889f4dab .
* update
* update test required_optional_params
* remove self.lora_scale
* img2img
* inpaint
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* fix
* apply feedbacks on img2img + inpaint: keep only important pipeline attributes
* depth
* pix2pix
* make _callback_tensor_inputs an class variable so that we can use it for testing
* add a basic tst for callback
* add a read-only tensor input timesteps + fix tests
* add second test for callback cfg
* sdxl
* sdxl img2img
* sdxl inpaint
* kandinsky prior
* kandinsky decoder
* kandinsky img2img + combined
* kandinsky inpaint
* fix copies
* fix
* consistent default inputs
* fix copies
* wuerstchen_prior prior
* test_wuerstchen_decoder + fix test for prior
* wuerstchen_combined pipeline + skip tests
* skip test for kandinsky combined
* lcm
* remove timesteps etc
* add doc string
* copies
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* make style and improve tests
* up
* up
* fix more
* fix cfg test
* tests for callbacks
* fix for real
* update
* lcm img2img
* add doc
* add doc page to index
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2023-11-05 20:00:41 +01:00
M. Tolga Cangöz
a35e72b032
[Docs] Fix typos, improve, update at Using Diffusers' Tecniques page ( #5627 )
...
Fix typos, improve, update; better visualization
2023-11-03 13:51:41 +01:00
M. Tolga Cangöz
b91d5ddd1a
[Docs] Fix typos, improve, update at Using Diffusers' Loading & Hub page ( #5584 )
...
* Fix typos, improve, update
* Change to trending and apply some Grammarly fixes
* Grammarly fixes
* Update loading_adapters.md
* Update loading_adapters.md
* Update other-formats.md
* Update push_to_hub.md
* Update loading_adapters.md
* Update loading.md
* Update docs/source/en/using-diffusers/push_to_hub.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update schedulers.md
* Update docs/source/en/using-diffusers/loading.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/loading_adapters.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update A1111 LoRA files part
* Update other-formats.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-02 11:05:43 -07:00
M. Tolga Cangöz
9ced7844da
[Docs] Fix typos, improve, update at Conceptual Guides page ( #5585 )
...
* Fix typos, improve, update
* Update docs/source/en/conceptual/contribution.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/conceptual/contribution.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update philosophy.md
* Update philosophy.md
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/controlling_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/controlling_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Remove e.g.; some Grammarly fixes
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update contribution.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-02 12:55:23 +01:00
Sayak Paul
b81f709fb6
[remote code] document trust remote code. ( #5620 )
...
document trust remote code.
2023-11-02 12:02:31 +01:00
Steven Liu
75ea54a151
[docs] Kandinsky guide ( #4555 )
...
* kandinsky 2.1 first draft
* add kandinsky 2.2
* fix identical section headers
* try hfoptions syntax
* add img2img
* add inpaint
* add interpolate
* fix tag
* more cleanups
* typo
* update hfoptions id
* align hfoptions tags
2023-11-01 15:36:22 -07:00
M. Tolga Cangöz
5c75a5fbc4
[Docs] Fix typos, improve, update at Tutorials page ( #5586 )
...
* Fix typos, improve, update
* Update autopipeline.md
* Update docs/source/en/tutorials/using_peft_for_inference.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/tutorials/using_peft_for_inference.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/tutorials/using_peft_for_inference.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-01 10:40:47 -07:00
M. Tolga Cangöz
442017ccc8
[Docs] Fix typos ( #5583 )
...
* Add Copyright info
* Fix typos, improve, update
* Update deepfloyd_if.md
* Update ldm3d_diffusion.md
* Update opt_overview.md
2023-10-31 10:04:08 -07:00
Steven Liu
bc8a08f67c
[docs] Loader docs ( #5473 )
...
* first draft
* make fix-copies
* add peft section
* manual fix
* make fix-copies again
* manually revert changes to other files
2023-10-25 09:45:05 -07:00
Steven Liu
7c3a75a1ce
[docs] General updates ( #5378 )
...
* first draft
* feedback
* feedback
2023-10-24 11:51:55 -07:00
Kyunghwan Kim
6e608d8a35
Fix typo in controlnet docs ( #5486 )
2023-10-23 20:36:35 +02:00
Susheel Thapa
324d18fba2
Chore: Typo fixed in multiple files ( #5422 )
2023-10-17 08:17:03 -07:00
Heinz-Alexander Fuetterer
0ea78f9707
chore: fix typos ( #5386 )
...
* chore: fix typos
* Update src/diffusers/pipelines/shap_e/renderer.py
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
2023-10-16 15:23:37 +02:00
Steven Liu
cf03f5b718
[docs] Minor fixes ( #5369 )
...
minor fixes
2023-10-11 17:18:29 -07:00
Soumik Rakshit
e00df25aee
Fix StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial ( #5367 )
...
fix: StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial
2023-10-11 13:07:53 +02:00
Steven Liu
a139213578
[docs] Create a mask for inpainting ( #5322 )
...
add mask making section
2023-10-10 08:29:27 -07:00
TimothyAlexisVass
016866792d
Minor fixes ( #5309 )
...
tiny fixes
2023-10-06 11:20:06 -07:00
Steven Liu
f0a2c63753
[docs] Improved inpaint docs ( #5210 )
...
* start
* finish draft
* add section
* edits
* feedback
* make fix-copies
* rebase
2023-10-06 09:44:24 -07:00
Kadir Nar
84b82a6cb7
✨ [Core] Add FreeU mechanism ( #5164 )
...
* ✨ Added Fourier filter function to upsample blocks
* 🔧 Update Fourier_filter for float16 support
* ✨ Added UNetFreeUConfig to UNet model for FreeU adaptation 🛠️
* move unet to its original form and add fourier_filter to torch_utils.
* implement freeU enable mechanism
* implement disable mechanism
* resolution index.
* correct resolution idx condition.
* fix copies.
* no need to use resolution_idx in vae.
* spell out the kwargs
* proper config property
* fix attribution setting
* place unet hasattr properly.
* fix: attribute access.
* proper disable
* remove validation method.
* debug
* debug
* debug
* debug
* debug
* debug
* potential fix.
* add: doc.
* fix copies
* add: tests.
* add: support freeU in SDXL.
* set default value of resolution idx.
* set default values for resolution_idx.
* fix copies
* fix rest.
* fix copies
* address PR comments.
* run fix-copies
* move apply_free_u to utils and other minors.
* introduce support for video (unet3D)
* minor ups
* consistent fix-copies.
* consistent stuff
* fix-copies
* add: rest
* add: docs.
* fix: tests
* fix: doc path
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* style up
* move to techniques.
* add: slow test for sd freeu.
* add: slow test for sd freeu.
* add: slow test for sd freeu.
* add: slow test for sd freeu.
* add: slow test for sd freeu.
* add: slow test for sd freeu.
* add: slow test for video with freeu
* add: slow test for video with freeu
* add: slow test for video with freeu
* style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-10-05 10:37:04 +02:00
Steven Liu
fd1c54abf2
[docs] Improved text-to-image guide ( #4938 )
...
* first draft
* edits
* feedback
2023-09-26 09:20:19 -07:00
Mishig
48664d62b8
Delete duplicatd doc file ( #5169 )
2023-09-24 19:58:13 +02:00
Steven Liu
06b316ef5c
[docs] Improved image-to-image guide ( #5020 )
...
* finish first draft
* feedback
* feedback
2023-09-22 13:20:30 -07:00
Patrick von Platen
abc47dece6
[SDXL, Docs] Textual inversion ( #5039 )
...
* [SDXL, Docs] Textual inversion
* Update docs/source/en/using-diffusers/sdxl.md
* finish
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-09-15 12:51:36 +02:00
Steven Liu
19edca82f1
[docs] Create clearer optimization sections ( #4870 )
...
* refactor
* update general optim sections
* update more sections
* few more updates
* benchmark code
2023-09-13 15:21:15 -07:00
Dhruv Nair
b6e0b016ce
Lazy Import for Diffusers ( #4829 )
...
* initial commit
* move modules to import struct
* add dummy objects and _LazyModule
* add lazy import to schedulers
* clean up unused imports
* lazy import on models module
* lazy import for schedulers module
* add lazy import to pipelines module
* lazy import altdiffusion
* lazy import audio diffusion
* lazy import audioldm
* lazy import consistency model
* lazy import controlnet
* lazy import dance diffusion ddim ddpm
* lazy import deepfloyd
* lazy import kandinksy
* lazy imports
* lazy import semantic diffusion
* lazy imports
* lazy import stable diffusion
* move sd output to its own module
* clean up
* lazy import t2iadapter
* lazy import unclip
* lazy import versatile and vq diffsuion
* lazy import vq diffusion
* helper to fetch objects from modules
* lazy import sdxl
* lazy import txt2vid
* lazy import stochastic karras
* fix model imports
* fix bug
* lazy import
* clean up
* clean up
* fixes for tests
* fixes for tests
* clean up
* remove import of torch_utils from utils module
* clean up
* clean up
* fix mistake import statement
* dedicated modules for exporting and loading
* remove testing utils from utils module
* fixes from merge conflicts
* Update src/diffusers/pipelines/kandinsky2_2/__init__.py
* fix docs
* fix alt diffusion copied from
* fix check dummies
* fix more docs
* remove accelerate import from utils module
* add type checking
* make style
* fix check dummies
* remove torch import from xformers check
* clean up error message
* fixes after upstream merges
* dummy objects fix
* fix tests
* remove unused module import
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-09-11 09:56:22 +02:00
dg845
b76274cb53
[docs] Fix typo in Inpainting force unmasked area unchanged example ( #4910 )
...
Fix typo by replacing init_image_arr and repainted_image_arr with init_image and repainted_image, respectively.
2023-09-06 10:49:01 +02:00
Steven Liu
946bb53c56
[docs] Add stronger warning for SDXL height/width ( #4867 )
...
* add size warning
* feedback
2023-09-05 10:50:42 -07:00
Steven Liu
2c45a53aef
[docs] Shap-E guide ( #4700 )
...
* first draft
* fixes
* more fixes
* fix toctree
2023-09-01 19:52:41 -07:00
Steven Liu
22ea35cf23
[docs] DiffEdit guide ( #4722 )
...
* first draft
* minor edits
2023-09-01 14:18:41 -07:00
dg845
5f740d0f55
[docs] Add inpainting example for forcing the unmasked area to remain unchanged to the docs ( #4536 )
...
* Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__.
* Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs.
* Use original mask to preserve unmasked pixels in pixel space rather than latent space.
* make style
* start working on note in docs to force unmasked area to be unchanged
* Add example of forcing the unmasked area to remain unchanged.
* Revert "make style"
This reverts commit fa7759293a .
* Revert "Use original mask to preserve unmasked pixels in pixel space rather than latent space."
This reverts commit 092bd0e9e9 .
* Revert "Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs."
This reverts commit ff41cf43c5 .
* Revert "Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__."
This reverts commit 989979752a .
---------
Co-authored-by: Will Berman <wlbberman@gmail.com >
2023-08-31 21:29:16 -07:00
Steven Liu
aedd78767c
[docs] ControlNet guide ( #4640 )
...
* first draft
* finish first draft
* feedback and remove sections from API pages
* clean docstrings
* add full code example
2023-08-31 10:02:02 -04:00
Steven Liu
a1fdfca36f
[docs] SDXL ( #4428 )
...
* first draft
* reorg toctree
* note about minsdxl
* feedback
* fix
* micro-conditionings
* add tip
* fix section levels
* d'oh fix pipeline names
* feedback
* remove old section
2023-08-30 11:34:55 -04:00
Shauray Singh
fd35689f25
[WIP] Add Fabric ( #4201 )
...
* empty PR
* init
* changes
* starting with the pipeline
* stable diff
* prev
* more things, getting started
* more functions
* makeing it more readable
* almost done testing
* var changes
* testing
* device
* device support
* maybe
* device malfunctions
* new new
* register
* testing
* exec does not work
* float
* change info
* change of architecture
* might work
* testing with colab
* more attn atuff
* stupid additions
* documenting and testing
* writing tests
* more docs
* tests and docs
* remove test
* empty PR
* init
* changes
* starting with the pipeline
* stable diff
* prev
* more things, getting started
* more functions
* makeing it more readable
* almost done testing
* var changes
* testing
* device
* device support
* maybe
* device malfunctions
* new new
* register
* testing
* exec does not work
* float
* change info
* change of architecture
* might work
* testing with colab
* more attn atuff
* stupid additions
* documenting and testing
* writing tests
* more docs
* tests and docs
* remove test
* change cross attention
* revert back
* tests
* reverting back to orig
* changes
* test passing
* pipeline changes
* before quality
* quality checks pass
* remove print statements
* doc fixes
* __init__ error something
* update docs, working on dim
* working on encoding
* doc fix
* more fixes
* no more dependent on 512*512
* update docs
* fixes
* test passing
* remove comment
* fixes and migration
* simpler tests
* doc changes
* green CI
* changes
* more docs
* changes
* new images
* to community examples
* selete
* more fixes
* changes
* fix
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-08-28 09:10:55 +02:00
Steven Liu
fed88195e3
[docs] Fix syntax for compel ( #4794 )
...
* fix syntax
* update image
2023-08-26 11:33:10 -07:00
realliujiaxu
124e76ddc6
[docs] add variant="fp16" flag ( #4678 )
2023-08-23 10:00:34 -07:00
Steven Liu
4ff7264d9b
[docs] PushToHubMixin ( #4622 )
...
* push to hub docs
* fix typo
* feedback
* make style
2023-08-16 13:20:59 -06:00
Sayak Paul
aaef41b5fe
[Docs] fix links in the controlling generation doc. ( #4612 )
...
* fix links in the controlling generation doc.
* more fixes.
2023-08-15 20:27:13 +05:30
Claire Froelich
32963c24c5
Fix git-lfs command typo in docs ( #4586 )
...
fix typo in git-lfs command
added missing hyphen. "git lfs" is not a command
2023-08-14 17:21:45 +05:30
Sayak Paul
d67eba0f31
[Utility] adds an image grid utility ( #4576 )
...
* add: utility for image grid.
* add: return type.
* change necessary places.
* add to utility page.
2023-08-12 10:34:51 +05:30
Steven Liu
cd7071e750
[docs] Add safetensors flag ( #4245 )
...
* add safetensors flag
* apply review
2023-08-10 12:37:23 -07:00
Steven Liu
3bd5e073cb
[docs] Expand prompt weighting ( #4516 )
...
* add more weighting/blend/conjunction
* finish blend/conjunction
* add textual inversion example
* add dreambooth
2023-08-10 10:56:53 -07:00
jere357
3c1b4933bd
Changed code that converts tensors to PIL images in the write_your_own_pipeline notebook ( #4489 )
...
changed code that converts tensors to PIL images
2023-08-09 15:00:51 +05:30
Patrick von Platen
1a8843f93e
add sdxl to prompt weighting ( #4439 )
...
* add sdxl to prompt weighting
* Update docs/source/en/using-diffusers/weighted_prompts.md
* Update docs/source/en/using-diffusers/weighted_prompts.md
* add sdxl to prompt weighting
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Apply suggestions from code review
* Update docs/source/en/using-diffusers/weighted_prompts.md
* Apply suggestions from code review
* correct
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-08-03 21:41:48 +02:00
Steven Liu
5989a85edb
[docs] Distilled SD ( #4442 )
...
* first draft
* add blog link
2023-08-03 11:03:42 -07:00
Sayak Paul
ba43ce3476
minor doc fixes. ( #4380 )
2023-07-31 12:15:56 +05:30
camenduru
c6ae9b7df6
Where did this 'x' come from, Elon? ( #4277 )
...
* why mdx?
* why mdx?
* why mdx?
* no x for kandinksy either
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-07-26 18:18:14 +02:00
Steven Liu
5470a4fce3
[docs] Other modalities ( #4205 )
...
remove coming soon, rl pipeline
2023-07-24 10:51:24 -07:00
Cris
fa356bd4da
[docs] Changed path for ControlNet in docs ( #4215 )
...
docs: changed path for control net
2023-07-24 10:13:10 -07:00