Sayak Paul
e135b4dadf
post release v0.28.0 ( #8286 )
...
* post release v0.28.0
* style
2024-12-23 13:02:12 +05:30
Sajad Norouzi
b52b0d247e
Add Kohya fix to SD pipeline for high resolution generation ( #7633 )
...
add kohya high resolution fix.
2024-12-23 13:02:12 +05:30
Tolga Cangöz
d8d7a0e307
Fix CPU Offloading Usage & Typos ( #8230 )
...
* Fix typos
* Fix `pipe.enable_model_cpu_offload()` usage
* Fix cpu offloading
* Update numbers
2024-12-23 13:02:12 +05:30
Tolga Cangöz
c69aff7798
Fix a grammatical error in the raise messages ( #8272 )
...
Fix grammatical error
2024-12-23 13:02:12 +05:30
Yifan Zhou
ae1fb33d4c
[Community Pipeline] FRESCO: Spatial-Temporal Correspondence for Zero-Shot Video Translation ( #8239 )
...
* code and doc
* update paper link
* remove redundant codes
* add example video
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:12 +05:30
Sai-Suraj-27
2f6b1ecde2
fix: Fixed few docstrings according to the Google Style Guide ( #7717 )
...
Fixed few docstrings according to the Google Style Guide.
2024-12-23 13:02:12 +05:30
Sai-Suraj-27
ce6503f1d8
refactor: Refactored code by Merging isinstance calls ( #7710 )
...
* Merged isinstance calls to make the code simpler.
* Corrected formatting errors using ruff.
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-12-23 13:02:11 +05:30
Jingyang Zhang
7ae28c17ef
[Pipeline] Adding BoxDiff to community examples ( #7947 )
...
add boxdiff to community examples
2024-12-23 13:02:11 +05:30
Mark Van Aken
2243c67f09
#7535 Update FloatTensor type hints to Tensor ( #7883 )
...
* find & replace all FloatTensors to Tensor
* apply formatting
* Update torch.FloatTensor to torch.Tensor in the remaining files
* formatting
* Fix the rest of the places where FloatTensor is used as well as in documentation
* formatting
* Update new file from FloatTensor to Tensor
2024-12-23 13:02:11 +05:30
Tolga Cangöz
01d03e3020
Remove dead code and fix f-string issue ( #7720 )
...
* Remove dead code
* PylancereportGeneralTypeIssues: Strings nested within an f-string cannot use the same quote character as the f-string prior to Python 3.12.
* Remove dead code
2024-12-23 13:02:11 +05:30
Hyoungwon Cho
ee1b41e1fe
Modification on the PAG community pipeline (re) ( #7876 )
...
* edited_pag_implementation
* update
---------
Co-authored-by: yiyixuxu <yixu310@gmail.com >
2024-12-23 13:02:11 +05:30
YiYi Xu
e560f7a6b8
update the logic of is_sequential_cpu_offload ( #7788 )
...
* up
* add comment to the tests + fix dit
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:11 +05:30
Nilesh
9388258704
Check for latents, before calling prepare_latents - sdxlImg2Img ( #7582 )
...
* Check for latents, before calling prepare_latents - sdxlImg2Img
* Added latents check for all the img2img pipeline
* Fixed silly mistake while checking latents as None
2024-12-23 13:02:11 +05:30
Abhinav Gopal
024fb640e0
Animatediff Controlnet Community Pipeline IP Adapter Fix ( #7413 )
...
* fixed encode_image function signature in controlnet animatediff
* copied encode_image from stable diffusion pipeline
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-12-23 13:02:10 +05:30
Sai-Suraj-27
20b5919ab2
fix: Fixed type annotations for compatability with python 3.8 ( #7648 )
...
* Fixed type annotations for compatability with python 3.8
* Add required imports.
2024-12-23 13:02:10 +05:30
Dhruv Nair
5f5c806d9c
Cast height, width to int inside prepare latents ( #7691 )
...
update
2024-12-23 13:02:10 +05:30
Fabio Rigano
c5a2b97bff
Move IP Adapter Face ID to core ( #7186 )
...
* Switch to peft and multi proj layers
* Move Face ID loading and inference to core
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:10 +05:30
Álvaro Somoza
df5c0d7f4e
[Community pipeline] SDXL Differential Diffusion Img2Img Pipeline ( #7550 )
...
* initial-commit pipeline created
* updated README.md
2024-12-23 13:02:10 +05:30
YiYi Xu
aa2f59fd64
add a from_pipe method to DiffusionPipeline ( #7241 )
...
* add from_pipe
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-12-23 13:02:10 +05:30
haikmanukyan
a8edfc1ad8
add HD-Painter pipeline ( #7520 )
...
* add HD-Painter pipeline
* style fixing
* refactor, change doc, fix ruff
* fix docs
* used correct ruff version
---------
Co-authored-by: Hayk Manukyan <youremail@yourdomain.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:10 +05:30
Bingxin Ke
e4ddf83e09
[Community pipeline] Marigold depth estimation update -- align with marigold v0.1.5 ( #7524 )
...
* add resample option; check denoise_step; update ckpt path
* Add seeding in pipeline to increase reproducibility
* fix typo
* fix typo
2024-12-23 13:02:10 +05:30
Hyoungwon Cho
5079c85ca8
Perturbed-Attention Guidance ( #7512 )
...
* pag_initial
* pag_docs
* edit_docs
* custom
* typo
* delete_docs
* whitespace
* make style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:10 +05:30
Linoy Tsaban
a39ed98659
add Instant id sdxl image2image pipeline ( #7507 )
...
* initial commit - instantid img2img
* adapting to img2img
* change add_time_ids
* change add_time_ids
* WIP changes
* add strength to timesteps
* check insightface import
* style
* check insightface import changed to warning
* check insightface import changed to warning
* style
---------
Co-authored-by: apolinário <joaopaulo.passos@gmail.com >
2024-12-23 13:02:10 +05:30
Long(Tony) Lian
1a6049b5dc
Fix missing raise statements in check_inputs ( #7473 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:09 +05:30
estelleafl
7d41741f0d
Small ldm3d fix ( #7464 )
...
* fixed typo
* updated doc to be consistent in naming
* make style/quality
* preprocessing for 4 channels and not 6
* make style
* test for 4c
* make style/quality
* fixed test on cpu
* fixed doc typo
* changed default ckpt to 4c
* Update pipeline_stable_diffusion_ldm3d.py
* fix bug
---------
Co-authored-by: Aflalo <estellea@isl-iam1.rr.intel.com >
Co-authored-by: Aflalo <estellea@isl-gpu33.rr.intel.com >
Co-authored-by: Aflalo <estellea@isl-gpu38.rr.intel.com >
2024-12-23 13:02:09 +05:30
M. Tolga Cangöz
9feab900e2
[Docs] Fix typos ( #7451 )
...
* Fix typos
* Fix typos
* Fix typos
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:09 +05:30
YiYi Xu
e6d2af229d
add a "Community Scripts" section ( #7358 )
...
* add
* add tiling
* fix
* fix
* fix
* give community script its own readme
* Update examples/community/README_community_scripts.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update examples/community/README_community_scripts.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update examples/community/README_community_scripts.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update examples/community/README_community_scripts.md
---------
Co-authored-by: Alexis Rolland <alexis.rolland@ubisoft.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-12-23 13:02:09 +05:30
M. Tolga Cangöz
651dac5447
Fix typos ( #7411 )
...
* Fix typos
* Fix typo in SVD.md
2024-12-23 13:02:09 +05:30
Sayak Paul
c2c884a9e6
[LoRA test suite] refactor the test suite and cleanse it ( #7316 )
...
* cleanse and refactor lora testing suite.
* more cleanup.
* make check_if_lora_correctly_set a utility function
* fix: typo
* retrigger ci
* style
2024-12-23 13:02:09 +05:30
M. Tolga Cangöz
950c7085f5
Update access of configuration attributes ( #7343 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:09 +05:30
M. Tolga Cangöz
4e546762ab
Fix Typos ( #7325 )
...
* Fix PyTorch's convention for inplace functions
* Fix import structure in __init__.py and update config loading logic in test_config.py
* Update configuration access
* Fix typos
* Trim trailing white spaces
* Fix typo in logger name
* Revert "Fix PyTorch's convention for inplace functions"
This reverts commit f65dc4afcb .
* Fix typo in step_index property description
* Revert "Update configuration access"
This reverts commit 8d44e870b8 .
* Revert "Fix import structure in __init__.py and update config loading logic in test_config.py"
This reverts commit 2ad5e8bca2 .
* Fix typos
* Fix typos
* Fix typos
* Fix a typo: tranform -> transform
2024-12-23 13:02:09 +05:30
Sayak Paul
08a03e1641
post-release v0.27.0 ( #7329 )
...
* post-release
* quality
2024-12-23 13:02:09 +05:30
Beinsezii
e6851daf70
Change step_offset scheduler docstrings ( #7128 )
...
* Change step_offset scheduler docstrings
* Mention it may be needed by some models
* More docstrings
These ones failed literal S&R because I performed it case-sensitive
which is fun.
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:09 +05:30
Sayak Paul
dc7e9809a9
[Chore] switch to logger.warning ( #7289 )
...
switch to logger.warning
2024-12-23 13:02:09 +05:30
pravdomil
87ce979fb6
Inline InputPadder ( #6582 )
...
inline InputPadder
2024-12-23 13:02:09 +05:30
pravdomil
1abab1d268
Fix gmflow_dir ( #6583 )
...
* remove sys.path
* update readme
2024-12-23 13:02:09 +05:30
Aryan
77961cefcb
[docs/nits] Fix return values based on return_dict and minor doc updates ( #7105 )
...
* fix returns and docs
* handle latent output_type correctly
* revert to old tensor2vid impl
* make fix-copies
* fix return in community animatediff pipes
* fix return docstring
* fix return docs
* add missing quote
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-12-23 13:02:09 +05:30
qqii
b31c77fcb3
[Community Pipeline] Skip Marigold depth_colored with color_map=None ( #7170 )
...
[Community Pipeline] Skip Marigold depth_colored generation by passing color_map=None
2024-12-23 13:02:09 +05:30
pravdomil
ffc485f3d9
use self.device ( #6595 )
...
* use self.device
* use device
* fix
* fix
2024-12-23 13:02:08 +05:30
Paakhhi
50b6c20e06
Refactor Prompt2Prompt: Inherit from DiffusionPipeline ( #7211 )
...
refactor: inherit from DiffusionPipeline instead of StableDiffusionPipeline
2024-12-23 13:02:08 +05:30
M. Tolga Cangöz
06de6e0b0f
Fix typos ( #7181 )
...
* Fix typos
* Fix typos
* Fix typos and update documentation in lora.md
2024-12-23 13:02:08 +05:30
YiYi Xu
f38417fe30
[ip-adapter] refactor prepare_ip_adapter_image_embeds and skip load image_encoder ( #7016 )
...
* add
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:08 +05:30
elucida
14bb45e4e8
refactor: move model helper function in pipeline to a mixin class ( #6571 )
...
* move model helper function in pipeline to EfficiencyMixin
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:08 +05:30
Aryan
be2e28383a
[Community] Bug fix + Latest IP-Adapter impl. for AnimateDiff img2vid/controlnet ( #7086 )
...
* fix img2vid; update to latest ip-adapter impl
* update README
* update animatediff controlnet to latest impl
2024-12-23 13:02:08 +05:30
Aryan
23e6b32139
Fix truthy-ness condition in pipelines that use denoising_start ( #6912 )
...
* fix denoising start
* fix tests
* remove debug
2024-12-23 13:02:08 +05:30
M. Tolga Cangöz
302b3c6b79
[Refactor] StableDiffusionReferencePipeline inheriting from DiffusionPipeline ( #7071 )
...
Refactor StableDiffusionReferencePipeline to inherit from DiffusionPipeline rather than StableDiffusionPipeline
2024-12-23 13:02:08 +05:30
caiyueliang
bc9b342fa4
fix: TensorRTStableDiffusionPipeline cannot set guidance_scale ( #7065 )
2024-12-23 13:02:08 +05:30
Chong-U Lim
eba9562560
Fix docstring of community pipeline imagic ( #7062 )
2024-12-23 13:02:08 +05:30
M. Tolga Cangöz
d38521afa2
Fix typos ( #7068 )
2024-12-23 13:02:08 +05:30
Lincoln Stein
2f7c83fefb
Update checkpoint_merger pipeline to pass the "variant" argument ( #6670 )
...
* make checkpoint_merger pipeline pass the "variant" argument to from_pretrained()
* make style
---------
Co-authored-by: Lincoln Stein <lstein@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-12-23 13:02:08 +05:30