- 13 Mar, 2024 7 commits
-
-
Dhruv Nair authored
* updates * update * update * Update docs/source/en/api/pipelines/stable_cascade.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * update * update * update * update --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Kashif Rasul <kashif.rasul@gmail.com>
-
Sayak Paul authored
clean residue from copy-pasting
-
Dhruv Nair authored
* update * update * update * update
-
Dhruv Nair authored
* update * update * update * update
-
Dhruv Nair authored
* update * update * update * update * update * update --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
* fix PyTorch classes and start deprecsation cycles. * remove args crafting for accommodating scale. * remove scale check in feedforward. * assert against nn.Linear and not CompatibleLinear. * remove conv_cls and lineaR_cls. * remove scale *
👋 scale. * fix: unet2dcondition * fix attention.py * fix: attention.py again * fix: unet_2d_blocks. * fix-copies. * more fixes. * fix: resnet.py * more fixes * fix i2vgenxl unet. * depcrecate scale gently. * fix-copies * Apply suggestions from code review Co-authored-by:YiYi Xu <yixu310@gmail.com> * quality * throw warning when scale is passed to the the BasicTransformerBlock class. * remove scale from signature. * cross_attention_kwargs, very nice catch by Yiyi * fix: logger.warn * make deprecation message clearer. * address final comments. * maintain same depcrecation message and also add it to activations. * address yiyi * fix copies * Apply suggestions from code review Co-authored-by:
YiYi Xu <yixu310@gmail.com> * more depcrecation * fix-copies --------- Co-authored-by:
YiYi Xu <yixu310@gmail.com>
-
Sayak Paul authored
switch to logger.warning
-
- 12 Mar, 2024 1 commit
-
-
Dhruv Nair authored
update Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 11 Mar, 2024 1 commit
-
-
erliding authored
remove sigma scaling when computing cfg Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 09 Mar, 2024 7 commits
-
-
Haofan Wang authored
* update latents_mean and latents_std * fix typos * Update src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py * format --------- Co-authored-by:
ResearcherXman <xhs.research@gmail.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
YiYi Xu <yixu310@gmail.com>
-
Sayak Paul authored
remove tf mention
-
Aryan authored
* 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>
-
Xiaodong Wang authored
[UNet_Spatio_Temporal_Condition] fix default num_attention_heads in unet_spatio_temporal_condition (#7205) fix default num_attention_heads in unet_spatio_temporal_condition Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
YiYi Xu authored
* update the signature of from_single_file * Update src/diffusers/loaders/single_file.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update src/diffusers/loaders/single_file.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update src/diffusers/loaders/single_file.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update src/diffusers/loaders/single_file.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by:
yiyixuxu <yixu310@gmail,com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com> Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Mengqing Cao authored
* Add npu support * fix for code quality check * fix for code quality check
-
UmerHA authored
* Initial commit * Removed copy hints, as in original SDXLControlNetPipeline Removed copy hints, as in original SDXLControlNetPipeline, as the `make fix-copies` seems to have issues with the @property decorator. * Reverted changes to ControlNetXS * Addendum to: Removed changes to ControlNetXS * Added test+docs for mixture of denoiser * Update docs/source/en/using-diffusers/controlnet.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/using-diffusers/controlnet.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
- 08 Mar, 2024 6 commits
-
-
Steven Liu authored
* update * fix parameter name * feedback * add no mask version --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
* debig * cast tuples to lists. * debug * handle upcast attention * handle downblock types for vae. * remove print. * address Dhruv's comments. * fix: upblock types. * upcast attention * debug * debug * debug * better guarding. * style
-
Chi authored
* I added a new doc string to the class. This is more flexible to understanding other developers what are doing and where it's using. * Update src/diffusers/models/unet_2d_blocks.py This changes suggest by maintener. Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Update src/diffusers/models/unet_2d_blocks.py Add suggested text Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Update unet_2d_blocks.py I changed the Parameter to Args text. * Update unet_2d_blocks.py proper indentation set in this file. * Update unet_2d_blocks.py a little bit of change in the act_fun argument line. * I run the black command to reformat style in the code * Update unet_2d_blocks.py similar doc-string add to have in the original diffusion repository. * Fix bug for mention in this issue section #6901 * Update src/diffusers/schedulers/scheduling_ddim_flax.py Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * Fix linter * Restore empty line --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
Martin Müller authored
* make mid block optional for flax UNet * make style
-
Sayak Paul authored
* copied from for t2i pipelines without ip adapter support. * two more pipelines with proper copied from comments. * revert to the original implementation
-
Sayak Paul authored
* throw error when patch inputs and layernorm are provided for transformers2d. * add comment on supported norm_types in transformers2d * more check * fix: norm _type handling
-
- 07 Mar, 2024 4 commits
-
-
Dhruv Nair authored
update
-
Sayak Paul authored
* fix: support for loading playground v2.5 single file checkpoint. * remove is_playground_model. * fix: edm key * apply Dhruv's comments but errors. * fix: things. * delegate model_type inference to a function. * address Dhruv's comment. * address rest of the comments. * fix: kwargs * fix * update --------- Co-authored-by:DN6 <dhruv.nair@gmail.com>
-
Rinne authored
fix: remove duplicate code in TemporalBasicTransformerBlock. Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
move out the utilities from pipeline_utils.py
-
- 06 Mar, 2024 2 commits
-
-
Kashif Rasul authored
* initial diffNext v3 * move to v3 folder * imports * dry up the unets * no switch_level * fix init * add switch_level tp config * Fixed some things * Added pooled text embeddings * Initial work on adding image encoder * changes from @dome272 * Stuff for the image encoder processing and variable naming in decoder * fix arg name * inference fixes * inference fixes * default TimestepBlock without conds * c_skip=0 by default * fix bfloat16 to cpu * use config * undo temp change * fix gen_c_embeddings args * change text encoding * text encoding * undo print * undo .gitignore change * Allow WuerstchenV3PriorPipeline to use the base DDPM & DDIM schedulers * use WuerstchenV3Unet in both pipelines * fix imports * initial failing tests * cleanup * use scheduler.timesterps * some fixes to the tests, still not fully working * fix tests * fix prior tests * add dropout to the model_kwargs * more tests passing * update expected_slice * initial rename * rename tests * rename class names * make fix-copies * initial docs * autodocs * typos * fix arg docs * add text_encoder info * combined pipeline has optional image arg * fix documentation * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * use self.config * Update src/diffusers/pipelines/stable_cascade/modeling_stable_cascade_common.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * c_in -> in_channels * removed kwargs from unet's forward * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * remove older callback api * removed kwargs and fixed decoder guidance > 1 * decoder takes emeds * check and use image_embeds * fixed all but one decoder test * fix decoder tests * update callback api * fix some more combined tests * push combined pipeline * initial docs * fix doc_string * update combined api * no test_callback_inputs test for combined pipeline * add optional components * fix ordering of components * fix combined tests * update convert script * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * fix imports * move effnet out of deniosing loop * prompt_embeds_pooled only when doing guidance * Fix repeat shape * move StableCascadeUnet to models/unets/ * more descriptive names * converted when numpy() * StableCascadePriorPipelineOutput docs * rename StableCascadeUNet * add slow tests * fix slow tests * update * update * updated model_path * add args for weights * set push_to_hub to false * update * update * update * update * update * update * update * update * update * update * update * update * update * update --------- Co-authored-by:
Dominic Rampas <d6582533@gmail.com> Co-authored-by:
Pablo Pernias <pablo@pernias.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
YiYi Xu <yixu310@gmail.com> Co-authored-by:
99991 <99991@users.noreply.github.com> Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com>
-
Jinay Jain authored
* [bug] Fix float/int guidance scale not working in `StableVideoDiffusionPipeline` * Add test to disable CFG on SVD --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 05 Mar, 2024 2 commits
-
-
Michael authored
* add: support TCD scheduler --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
errors should be caught as soon as possible.
-
- 04 Mar, 2024 6 commits
-
-
Aryan authored
* update svd docs * fix example doc string * update return type hints/docs * update type hints * Fix typos in pipeline_stable_video_diffusion.py * make style && make fix-copies * Update src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * update based on suggestion --------- Co-authored-by:
M. Tolga Cangöz <mtcangoz@gmail.com> Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Thiago Crepaldi authored
* Enable FakeTensorMode for EulerDiscreteScheduler scheduler PyTorch's FakeTensorMode does not support `.numpy()` or `numpy.array()` calls. This PR replaces `sigmas` numpy tensor by a PyTorch tensor equivalent Repro ```python with torch._subclasses.FakeTensorMode() as fake_mode, ONNXTorchPatcher(): fake_model = DiffusionPipeline.from_pretrained(model_name, low_cpu_mem_usage=False) ``` that otherwise would fail with `RuntimeError: .numpy() is not supported for tensor subclasses.` * Address comments -
M. Tolga Cangöz authored
* Fix typos * Fix typos * Fix typos and update documentation in lora.md
-
fpgaminer authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
YiYi Xu authored
* fix * fix * update comment --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
Vinh H. Pham authored
* refactor callback * run make style * add copy --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 03 Mar, 2024 2 commits
-
-
Álvaro Somoza authored
* initial * check_inputs fix to the rest of pipelines * add fix for no cfg too * use of variable --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Junsong Chen authored
* feat 256px diffusers inference bug * change the max_length of T5 to pipeline config file * fix bug in convert_pixart_alpha_to_diffusers.py * Update scripts/convert_pixart_alpha_to_diffusers.py Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * remove multi_scale_train parser * Update src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * Update src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py Co-authored-by:
YiYi Xu <yixu310@gmail.com> * styling * change `model_token_max_length` to call argument. * Refactoring * add: max_sequence_length to the docstring. --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
YiYi Xu <yixu310@gmail.com>
-
- 01 Mar, 2024 1 commit
-
-
YiYi Xu authored
* add Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> --------- Co-authored-by:
yiyixuxu <yixu310@gmail,com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 28 Feb, 2024 1 commit
-
-
Aryan authored
update
-