Aryan V S
9df566e6da
[Community] StyleAligned Pipeline ( #6489 )
...
* add stylealigned sdxl pipeline
* bugfix
* update docs
* remove einops dependency
* update README
* update example docstring
2024-01-11 14:35:55 +01:00
Yifan Zhou
fc63ebdd3a
[Community Pipeline] Rerender-A-Video: Zero-Shot Video-to-Video Translation ( #6332 )
...
* upload codes and doc
* lint
* lint
* lint
* update code
* remove blank lines
* Fix load url
2024-01-09 14:55:34 +01:00
Vinh H. Pham
3848606c7e
[Community Pipeline] Add gluegen ( #6433 )
...
* init works
* add gluegen pipeline
* add gluegen code
* add another way to load language adapter
* make style
* Update README.md
* change doc
2024-01-05 13:05:40 +01:00
Sayak Paul
9d945b2b90
0.25.0 post release ( #6358 )
...
* post release
* style
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-05 16:13:27 +05:30
Junsheng121
d184291c7d
null-text-inversion-pipeline-implementation ( #6329 )
...
* null-text-inversion-implementation
* edited
* edited
* edited
* edited
* edited
* edit
* makestyle
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-05 11:35:21 +01:00
Aryan V S
e30b661437
Update lpw_xl pipeline to latest diffusers ( #6411 )
...
* add clip_skip, freeu, qkv
* fix
* add ip-adapter support
* callback on step end
* update
* fix NoneType bug
* fix
* add guidance scale embedding
* add textual inversion
2024-01-02 16:28:45 +01:00
Jianqi Pan
c751449011
fix: use retrieve_latents ( #6337 )
2023-12-27 10:44:26 +05:30
Jianqi Pan
84c403aedb
fix: cannot set guidance_scale ( #6326 )
...
fix: set guidance_scale
2023-12-25 21:16:57 +05:30
Bingxin Ke
3369bc810a
[Community Pipeline] Add Marigold Monocular Depth Estimation ( #6249 )
...
* [Community Pipeline] Add Marigold Monocular Depth Estimation
- add single-file pipeline
- update README
* fix format - add one blank line
* format script with ruff
* use direct image link in example code
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-22 15:41:46 +05:30
hako-mikan
ff43dba7ea
[Fix] Fix Regional Prompting Pipeline ( #6188 )
...
* Update regional_prompting_stable_diffusion.py
* reformat
* reformat
* reformat
* reformat
* reformat
* reformat
* reformat
* regormat
* reformat
* reformat
* reformat
* reformat
* Update regional_prompting_stable_diffusion.py
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-20 10:37:19 +05:30
Aryan V S
67b3d3267e
Support img2img and inpaint in lpw-xl ( #6114 )
...
* add img2img and inpaint support to lpw-xl
* update community README
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-18 19:19:11 +01:00
Monohydroxides
c46711e895
[Community] Add SDE Drag pipeline ( #6105 )
...
* Add community pipeline: sde_drag.py
* Update README.md
* Update README.md
Update example code and visual example
* Update sde_drag.py
Update code example.
2023-12-14 20:47:20 +05:30
M. Tolga Cangöz
0a401b95b7
[Docs] Fix typos ( #6122 )
...
Fix typos and trim trailing whitespaces
2023-12-11 10:55:28 -08:00
Aryan V S
978dec9014
[Community] AnimateDiff + Controlnet Pipeline ( #5928 )
...
* begin work on animatediff + controlnet pipeline
* complete todos, uncomment multicontrolnet, input checks
Co-Authored-By: EdoardoBotta <botta.edoardo@gmail.com >
* update
Co-Authored-By: EdoardoBotta <botta.edoardo@gmail.com >
* add example
* update community README
* Update examples/community/README.md
---------
Co-authored-by: EdoardoBotta <botta.edoardo@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-12-06 21:01:41 -10:00
Lucain
75ada25048
Harmonize HF environment variables + deprecate use_auth_token ( #6066 )
...
* Harmonize HF environment variables + deprecate use_auth_token
* fix import
* fix
2023-12-06 22:22:31 +01:00
Radamés Ajna
eacf5e34eb
Fix demofusion ( #6049 )
...
* Update pipeline_demofusion_sdxl.py
* Update README.md
2023-12-05 18:10:46 +05:30
RuoyiDu
c36f1c3160
[Community Pipeline] DemoFusion: Democratising High-Resolution Image Generation With No $$$ ( #6022 )
...
* Add files via upload
* Update README.md
* Update pipeline_demofusion_sdxl.py
* Update pipeline_demofusion_sdxl.py
* Update examples/community/README.md
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-04 19:44:57 +05:30
gujing
bf92e746c0
fix StableDiffusionTensorRT super args error ( #6009 )
2023-12-04 10:06:23 +05:30
Long(Tony) Lian
618260409f
LLMGroundedDiffusionPipeline: inherit from DiffusionPipeline and fix peft ( #6023 )
...
* LLMGroundedDiffusionPipeline: inherit from DiffusionPipeline and fix peft
* Use main in the revision in the examples
* Add "Copied from" statements in comments
* Fix formatting with ruff
2023-12-01 09:58:25 -10:00
Patrick von Platen
0f55c17e17
fix style
2023-12-01 15:59:34 +00:00
hako-mikan
46c751e970
[Community Pipeline] Regional Prompting Pipeline ( #6015 )
...
* Update README.md
* Update README.md
* Add files via upload
* Update README.md
* Update examples/community/README.md
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-12-01 16:22:59 +01:00
Kristian Mischke
141cd52d56
Fix LLMGroundedDiffusionPipeline super class arguments ( #5993 )
...
* make `requires_safety_checker` a kwarg instead of a positional argument as it's more future-proof
* apply `make style` formatting edits
* add image_encoder to arguments and pass to super constructor
2023-11-30 10:15:14 -10:00
Andrés Romero
79dc7df03e
[bug fix] Inpainting for MultiAdapter ( #5922 )
...
* bug in MultiAdapter for Inpainting
* adapter_input is a list for MultiAdapter
---------
Co-authored-by: andres <andres@hax.ai >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-11-29 15:46:26 +01:00
estelleafl
5ae3c3a56b
[ldm3d] Ldm3d upscaler to community pipeline ( #5870 )
...
---------
Co-authored-by: Aflalo <estellea@isl-gpu27.rr.intel.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2023-11-28 09:00:39 -10:00
T. Xu
14a0d21d2e
[Community Pipeline] Diffusion Posterior Sampling for General Noisy Inverse Problems ( #5939 )
...
* [community pipeline] dps impl
* add type checking
* pass ruff check
* ruff formatter
2023-11-27 14:29:42 +01:00
Viktor Grygorchuk
20f0cbc88f
fix: error on device for lpw_stable_diffusion_xl pipeline if pipe.enable_sequential_cpu_offload() enabled ( #5885 )
...
fix: set device for pipe.enable_sequential_cpu_offload()
2023-11-27 13:47:47 +01:00
ginjia
d3cda804e7
add LoRA weights load and fuse support for IPEX pipeline ( #5920 )
...
add IPEX pipeline LoRA weights loading support
2023-11-27 13:32:43 +01:00
Andrés Romero
93f1a14cab
ControlNet+Adapter pipeline, and ControlNet+Adapter+Inpaint pipeline ( #5869 )
...
* ControlNet+Adapter pipeline, and +Inpaint pipeline
---------
Co-authored-by: andres <andres@hax.ai >
2023-11-21 08:59:29 -10:00
co63oc
ee519cfef5
Update README.md ( #5855 )
2023-11-21 11:56:13 +01:00
Patrick von Platen
3303aec5f8
make style
2023-11-20 12:54:52 +01:00
ginjia
4abbbff618
fix an issue that ipex occupy too much memory, it will not impact per… ( #5625 )
...
* fix an issue that ipex occupy too much memory, it will not impact performance
* make style
---------
Co-authored-by: root <jun.chen@intel.com >
Co-authored-by: Meng Guoqing <guoqing.meng@intel.com >
2023-11-20 12:43:29 +01:00
Aryan V S
3ab921166d
[Community] [WIP] LCM Interpolation Pipeline ( #5767 )
...
* wip: add interpolate pipeline for lcm
* update documentation
* update documentation
2023-11-20 12:18:17 +01:00
Kashif Rasul
6b04d61cf6
[Styling] stylify using ruff ( #5841 )
...
* ruff format
* not need to use doc-builder's black styling as the doc is styled in ruff
* make fix-copies
* comment
* use run_ruff
2023-11-20 11:48:34 +01:00
MilkClouds
3517fb9430
fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl (community pipeline) ( #5807 )
...
* fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl
* style: fixed isort
2023-11-15 07:40:29 -10:00
Kadir Nar
c7260ce253
🔧 Fix import codes in diffusers library ( #5792 )
...
* 🔧 Fix import codes in diffusers library
* ✨ Refactor imports in community examples
2023-11-14 11:37:59 -08:00
co63oc
069123f66e
Update checkpoint_merger.py ( #5780 )
2023-11-14 10:46:11 +01:00
Long(Tony) Lian
5b231aa38b
Fix the pipeline name in the examples for LMD+ pipeline. Add a colab link to pipeline README. ( #5775 )
...
* Fix the pipeline name in the examples for LMD+ pipeline
* Add LMD+ colab link
* Apply code formatting
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-11-14 07:43:37 +05:30
Patrick von Platen
ef7787ea59
make style
2023-11-13 18:54:53 +01:00
Jianqi Pan
1ce4b5f3e3
fix: fix forward function signature of controlnet reference_only pipeline example ( #5717 )
...
fix: ignore other args
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-13 18:54:21 +01:00
Long(Tony) Lian
b1fbef544c
Add LLM-grounded Diffusion (LMD+) pipeline ( #5634 )
...
* Add LLM-grounded Diffusion (LMD+) pipeline
* Update the formatting
* Applied formatting
2023-11-11 12:51:05 +05:30
Jincheng Miao
ed00ead345
[Community Pipelines] add textual inversion support for stable_diffusion_ipex ( #5571 )
2023-10-31 11:54:16 +05:30
Patrick von Platen
d420d71398
make style
2023-10-25 16:12:14 +02:00
Logan
a1fad8286f
Add a new community pipeline ( #5477 )
...
* Add a new community pipeline
examples/community/latent_consistency_img2img.py
which can be called like this
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"SimianLuo/LCM_Dreamshaper_v7", custom_pipeline="latent_consistency_txt2img", custom_revision="main")
# To save GPU memory, torch.float16 can be used, but it may compromise image quality.
pipe.to(torch_device="cuda", torch_dtype=torch.float32)
img2img=LatentConsistencyModelPipeline_img2img(
vae=pipe.vae,
text_encoder=pipe.text_encoder,
tokenizer=pipe.tokenizer,
unet=pipe.unet,
#scheduler=pipe.scheduler,
scheduler=None,
safety_checker=None,
feature_extractor=pipe.feature_extractor,
requires_safety_checker=False,
)
img = Image.open("thisismyimage.png")
result = img2img(prompt,img,strength,num_inference_steps=4)
* Apply suggestions from code review
Fix name formatting for scheduler
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* update readme (and run formatter on latent_consistency_img2img.py)
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-10-25 16:11:56 +02:00
Andrei Filatov
16851efa0f
Update README.md ( #5497 )
...
Right now, only "main" branch has this community pipeline code. So, adding it manually into pipeline
2023-10-23 18:57:43 +02:00
Patrick von Platen
85dccab7fd
Add latent consistency ( #5438 )
...
* Add latent consistency
* Update examples/community/README.md
* Add latent consistency
* make fix copies
* Apply suggestions from code review
2023-10-18 14:18:31 +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
Patrick von Platen
bdd16116f3
[Schedulers] Fix callback steps ( #5261 )
...
* fix all
* make fix copies
* make fix copies
2023-10-02 19:52:53 +02:00
Benjamin Paine
693a0d08e4
Remove Offensive Language from Community Pipelines ( #5206 )
...
* Update run_onnx_controlnet.py
* Update run_tensorrt_controlnet.py
2023-09-27 22:02:25 +02:00
Bagheera
539846a7d5
SDXL microconditioning documentation should indicate the correct default order of parameters, so that developers know ( #5155 )
...
* SDXL microconditioning documentation should indicate the correct default order of parameters, so that developers know
* SDXL microconditioning documentation should indicate the correct default order of parameters, so that developers know
* empty
---------
Co-authored-by: bghira <bghira@users.github.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-09-25 20:22:09 +02:00