Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
539 commits
Select commit Hold shift + click to select a range
9d20ed3
Perturbed-Attention Guidance (#7512)
HyoungwonCho Mar 30, 2024
f0c8156
Add `final_sigma_zero` to UniPCMultistep (#7517)
Beinsezii Mar 30, 2024
ca61287
Fix IP Adapter Support for SAG Pipeline (#7260)
stephen-iezzi Mar 30, 2024
c2e8786
[Community pipeline] Marigold depth estimation update -- align with m…
markkua Mar 30, 2024
7aa4514
Fix typo in CPU offload test (#7542)
DN6 Apr 1, 2024
9bef9f4
Fix SVD bug (shape of `time_context`) (#7268)
KimbingNg Apr 1, 2024
7f724a9
fix the cpu offload tests (#7544)
yiyixuxu Apr 1, 2024
5266ab7
add HD-Painter pipeline (#7520)
haikmanukyan Apr 1, 2024
7956c36
add a `from_pipe` method to `DiffusionPipeline` (#7241)
yiyixuxu Apr 1, 2024
73ba810
[Community pipeline] SDXL Differential Diffusion Img2Img Pipeline (#7…
asomoza Apr 2, 2024
5d21d4a
Fix FreeU tests (#7540)
DN6 Apr 2, 2024
5d83f50
[Release tests] make nightly workflow dispatchable. (#7541)
sayakpaul Apr 2, 2024
000fa82
[Chore] remove class assignments for linear and conv. (#7553)
sayakpaul Apr 2, 2024
2b04ec2
[Tests] Speed up fast pipelines part II (#7521)
sayakpaul Apr 2, 2024
8e963d1
7529 do not disable autocast for cuda devices (#7530)
bghira Apr 2, 2024
4a34307
add: utility to format our docs too 📜 (#7314)
sayakpaul Apr 2, 2024
19ab04f
UniPC Multistep fix tensor dtype/device on order=3 (#7532)
Beinsezii Apr 3, 2024
aa19025
UniPC Multistep add `rescale_betas_zero_snr` (#7531)
Beinsezii Apr 3, 2024
a9a5b14
[Core] refactor transformers 2d into multiple init variants. (#7491)
sayakpaul Apr 3, 2024
ad55ce6
[Chore] increase number of workers for the tests. (#7558)
sayakpaul Apr 3, 2024
35db2fd
Update pipeline_animatediff_video2video.py (#7457)
AbhinavGopal Apr 3, 2024
71f49a5
Skip `test_freeu_enabled ` on MPS (#7570)
UmerHA Apr 4, 2024
1c60e09
[Tests] reduce block sizes of UNet and VAE tests (#7560)
sayakpaul Apr 5, 2024
6133d98
[IF| add set_begin_index for all IF pipelines (#7577)
yiyixuxu Apr 5, 2024
56a7608
Add AudioLDM2 TTS (#5381)
tuanh123789 Apr 8, 2024
7e39516
Allow more arguments to be passed to convert_from_ckpt (#7222)
w4ffl35 Apr 8, 2024
7e808e7
[Docs] fix bugs in callback docs (#7594)
Adenialzz Apr 8, 2024
8e46d97
Add missing restore() EMA call in train SDXL script (#7599)
christopher-beckham Apr 9, 2024
a341b53
disable test_conversion_when_using_device_map (#7620)
yiyixuxu Apr 9, 2024
a0cf607
Multi-image masking for single IP Adapter (#7499)
fabiorigano Apr 9, 2024
ac7ff7d
add utilities for updating diffusers pipeline metadata. (#7573)
sayakpaul Apr 10, 2024
44f6b85
[Core] refactor `transformer_2d` forward logic into meaningful condit…
sayakpaul Apr 10, 2024
c827e94
[Workflows] remove installation of `libsndfile1-dev` and `libgl1` fro…
sayakpaul Apr 10, 2024
3e4a6bd
[Core] add "balanced" `device_map` support to pipelines (#6857)
sayakpaul Apr 10, 2024
b99b161
add the option of upsample function for tiny vae (#7604)
IDKiro Apr 10, 2024
a402431
[docs] remove duplicate tip block. (#7625)
sayakpaul Apr 10, 2024
37e9d69
Modularize instruct_pix2pix SD inferencing during and after training …
satani99 Apr 10, 2024
b2323aa
[Tests] reduce the model sizes in the SD fast tests (#7580)
sayakpaul Apr 10, 2024
1d48029
[docs] Prompt enhancer (#7565)
stevhliu Apr 10, 2024
d95b993
[docs] T2I (#7623)
stevhliu Apr 11, 2024
aa1f00f
Fix cpu offload related slow tests (#7618)
yiyixuxu Apr 11, 2024
33c5d12
[Core] fix img2img pipeline for Playground (#7627)
sayakpaul Apr 11, 2024
42f25d6
Skip PEFT LoRA Scaling if the scale is 1.0 (#7576)
stevenjlm Apr 11, 2024
0bee4d3
LCM Distill Scripts Fix Bug when Initializing Target U-Net (#6848)
dg845 Apr 11, 2024
8e14535
Fixed YAML loading. (#7579)
YiqinZhao Apr 11, 2024
279de3c
fix: Replaced deprecated `logger.warn` with `logger.warning` (#7643)
Sai-Suraj-27 Apr 11, 2024
2523390
FIX Setting device for DoRA parameters (#7655)
BenjaminBossan Apr 12, 2024
2f23437
Add (Scheduled) Pseudo-Huber Loss training scripts to research projec…
kabachuha Apr 13, 2024
08bf754
make docker-buildx mandatory. (#7652)
sayakpaul Apr 13, 2024
1c000d4
fix: metadata token (#7631)
sayakpaul Apr 15, 2024
cf6e040
don't install peft from the source with uv for now. (#7679)
sayakpaul Apr 15, 2024
fda1531
Fixing implementation of ControlNet-XS (#6772)
UmerHA Apr 16, 2024
9d50f7e
[Core] `is_cosxl_edit` arg in SDXL ip2p. (#7650)
sayakpaul Apr 16, 2024
a68503f
[Docs] Add TGATE in section `optimization` (#7639)
WentianZhang-ML Apr 17, 2024
c726d02
fix: Updated `ruff` configuration to avoid deprecated configuration w…
Sai-Suraj-27 Apr 17, 2024
f0fa17d
Don't install PEFT with UV in slow tests (#7697)
DN6 Apr 17, 2024
30c977d
[Workflows] remove installation of redundant modules from flax PR tes…
sayakpaul Apr 17, 2024
9132ce7
[Docs] Update TGATE in section `optimization`. (#7698)
WentianZhang-ML Apr 17, 2024
7635d3d
[docs] Pipeline loading (#7684)
stevhliu Apr 17, 2024
e23c27e
Add tailscale action to push_test (#7709)
glegendre01 Apr 18, 2024
b5c8b55
Move IP Adapter Face ID to core (#7186)
fabiorigano Apr 19, 2024
e567401
adding back test_conversion_when_using_device_map (#7704)
yiyixuxu Apr 19, 2024
90250d9
Cast height, width to int inside prepare latents (#7691)
DN6 Apr 19, 2024
3cfe187
Cleanup ControlnetXS (#7701)
DN6 Apr 19, 2024
db969cc
fix: Fixed `type annotations` for compatability with python 3.8 (#7648)
Sai-Suraj-27 Apr 19, 2024
ae05050
fix/add tailscale key in case of failure (#7719)
glegendre01 Apr 19, 2024
d1e3f48
Animatediff Controlnet Community Pipeline IP Adapter Fix (#7413)
AbhinavGopal Apr 20, 2024
9100652
Update Wuerschten Test (#7700)
DN6 Apr 22, 2024
a9dd860
Fix Kandinksy V22 tests (#7699)
DN6 Apr 22, 2024
33b363e
[docs] AutoPipeline (#7714)
stevhliu Apr 22, 2024
0912984
Remove redundant lines (#7396)
philipbutler Apr 22, 2024
21c747f
Support InstantStyle (#7668)
JY-Joy Apr 22, 2024
065f251
Restore AttnProcessor2_0 in unload_ip_adapter (#7727)
fabiorigano Apr 22, 2024
fc9fecc
fix: Fixed a wrong decorator by modifying it to `@classmethod` (#7653)
Sai-Suraj-27 Apr 23, 2024
5a69227
[Metadat utils] fix: json lines ordering. (#7744)
sayakpaul Apr 23, 2024
7404f1e
[docs] Clean up toctree (#7715)
stevhliu Apr 23, 2024
88018fc
Fix failing VAE tiling test (#7747)
DN6 Apr 24, 2024
9ef43f3
Fix test for consistency decoder. (#7746)
DN6 Apr 24, 2024
39215aa
PixArt-Sigma Implementation (#7654)
lawrence-cj Apr 24, 2024
e963621
[PixArt] fix small nits in pixart sigma (#7767)
sayakpaul Apr 25, 2024
b833d0f
[Tests] mark UNetControlNetXSModelTests::test_forward_no_control to b…
sayakpaul Apr 25, 2024
142f353
Fix lora device test (#7738)
sayakpaul Apr 25, 2024
1816880
[docs] Reproducible pipelines (#7769)
stevhliu Apr 25, 2024
fa750a1
[docs] Refactor image quality docs (#7758)
stevhliu Apr 25, 2024
ebc99a7
Convert RGB to BGR for the SDXL watermark encoder (#7013)
btlorch Apr 26, 2024
e24e54f
[docs] Fix AutoPipeline docstring (#7779)
stevhliu Apr 26, 2024
0d2d424
Add PixArtSigmaPipeline to AutoPipeline mapping (#7783)
Beinsezii Apr 26, 2024
8e4ca1b
[Docs] Update image masking and face id example (#7780)
fabiorigano Apr 26, 2024
9d16daa
Add DREAM training (#6381)
AmericanPresidentJimmyCarter Apr 27, 2024
56bd7e6
[Scheduler] introduce sigma schedule. (#7649)
sayakpaul Apr 27, 2024
5029673
Update InstantStyle usage in IP-Adapter documentation (#7806)
JY-Joy Apr 28, 2024
235d34c
Check for latents, before calling prepare_latents - sdxlImg2Img (#7582)
nileshkokane01 Apr 29, 2024
b1c5817
Add debugging workflow (#7778)
DN6 Apr 29, 2024
a38dd79
[Pipeline] Fix error of SVD pipeline when num_videos_per_prompt > 1 (…
wuyushuwys Apr 29, 2024
eb96ff0
Safetensor loading in AnimateDiff conversion scripts (#7764)
DN6 Apr 29, 2024
8af793b
Adding TextualInversionLoaderMixin for the controlnet_inpaint_sd_xl p…
jschoormans Apr 29, 2024
83ae24c
Added get_velocity function to EulerDiscreteScheduler. (#7733)
RuiningLi Apr 29, 2024
f53352f
Set main_input_name in StableDiffusionSafetyChecker to "clip_input" (…
clinty Apr 29, 2024
31d9f9e
[Tests] reduce the model size in the ddim fast test (#7803)
ariG23498 Apr 30, 2024
21f023e
[Tests] reduce the model size in the ddpm fast test (#7797)
ariG23498 Apr 30, 2024
b02e211
[Tests] reduce the model size in the amused fast test (#7804)
ariG23498 Apr 30, 2024
3fd31ee
[Core] introduce _no_split_modules to `ModelMixin` (#6396)
sayakpaul Apr 30, 2024
26a7851
Add B-Lora training option to the advanced dreambooth lora script (#7…
linoytsaban Apr 30, 2024
725ead2
SSH Runner Workflow Update (#7822)
DN6 Apr 30, 2024
b8ccb46
Fix CPU offload in docstring (#7827)
tolgacangoz Apr 30, 2024
0d08370
[docs] Community pipelines (#7819)
stevhliu Apr 30, 2024
c1edb03
Fix for pipeline slow test fetcher (#7824)
DN6 May 1, 2024
8909ab4
[Tests] fix: device map tests for models (#7825)
sayakpaul May 1, 2024
21a7ff1
update the logic of `is_sequential_cpu_offload` (#7788)
yiyixuxu May 1, 2024
5915c29
[ip-adapter] fix ip-adapter for StableDiffusionInstructPix2PixPipelin…
yiyixuxu May 1, 2024
435d37c
[Tests] reduce the model size in the audioldm fast test (#7833)
ariG23498 May 2, 2024
c1b2a89
Fix key error for dictionary with randomized order in convert_ldm_une…
yunseongcho May 2, 2024
3ffa7b4
Fix hanging pipeline fetching (#7837)
DN6 May 2, 2024
03ca113
Update download diff format tests (#7831)
DN6 May 2, 2024
3c85a57
Update CI cache (#7832)
DN6 May 2, 2024
44ba90c
move to new runners (#7839)
glegendre01 May 2, 2024
ce97d7e
Change GPU Runners (#7840)
glegendre01 May 2, 2024
0d7c479
Update deps for pipe test fetcher (#7838)
DN6 May 2, 2024
fa489ea
[Tests] reduce the model size in the blipdiffusion fast test (#7849)
ariG23498 May 3, 2024
6a47958
Respect `resume_download` deprecation (#7843)
Wauplin May 3, 2024
3e35628
Remove installing python again in container (#7852)
DN6 May 3, 2024
5823736
Add Ascend NPU support for SDXL fine-tuning and fix the model saving …
HelloWorldBeginner May 3, 2024
49b959b
[docs] LCM (#7829)
stevhliu May 3, 2024
7fa3e5b
Ci - change cache folder (#7867)
glegendre01 May 6, 2024
0d23645
[docs] Distilled inference (#7834)
stevhliu May 6, 2024
23e0915
Fix for "no lora weight found module" with some loras (#7875)
asomoza May 7, 2024
8edaf3b
7879 - adjust documentation to use naruto dataset, since pokemon is n…
bghira May 7, 2024
c221714
Modification on the PAG community pipeline (re) (#7876)
HyoungwonCho May 8, 2024
d50baf0
Fix image upcasting (#7858)
tolgacangoz May 8, 2024
f29b934
Check shape and remove deprecated APIs in scheduling_ddpm_flax.py (#7…
ppham27 May 8, 2024
818f760
[Pipeline] AnimateDiff SDXL (#6721)
a-r-r-o-w May 8, 2024
35358a2
fix offload test (#7868)
yiyixuxu May 8, 2024
75aab34
Allow users to save SDXL LoRA weights for only one text encoder (#7607)
dulacp May 8, 2024
c1c4269
Remove dead code and fix f-string issue (#7720)
tolgacangoz May 8, 2024
caf9e98
Fix several imports (#7712)
tolgacangoz May 9, 2024
cb0f3b4
[Refactor] Better align `from_single_file` logic with `from_pretraine…
DN6 May 9, 2024
305f2b4
[Tests] fix things after #7013 (#7899)
sayakpaul May 9, 2024
1087a51
Set max parallel jobs on slow test runners (#7878)
DN6 May 9, 2024
5ed3abd
fix `_optional_components` in `StableCascadeCombinedPipeline` (#7894)
yiyixuxu May 9, 2024
b934215
[scheduler] support custom `timesteps` and `sigmas` (#7817)
yiyixuxu May 9, 2024
6695635
upgrade to python 3.10 in the Dockerfiles (#7893)
sayakpaul May 10, 2024
82be58c
add missing image processors to the docs (#7910)
sayakpaul May 10, 2024
04f4bd5
[Core] introduce videoprocessor. (#7776)
sayakpaul May 10, 2024
be4afa0
#7535 Update FloatTensor type hints to Tensor (#7883)
vanakema May 10, 2024
0267c52
fix bugs when using deepspeed in sdxl (#7917)
HelloWorldBeginner May 11, 2024
e4f8dca
add custom sigmas and timesteps for StableDiffusionXLControlNet pipel…
neuron-party May 12, 2024
ec9e881
fix: Fixed a wrong link to supported python versions in `contributing…
Sai-Suraj-27 May 12, 2024
5bb3858
[Core] fix offload behaviour when device_map is enabled. (#7919)
sayakpaul May 12, 2024
98ba18b
Add Ascend NPU support for SDXL. (#7916)
HelloWorldBeginner May 12, 2024
fdb05f5
Official callbacks (#7761)
asomoza May 13, 2024
44aa9e5
fix AnimateDiff creation with a unet loaded with IP Adapter (#7791)
fabiorigano May 13, 2024
95d3748
[LoRA] Fix LoRA tests (side effects of RGB ordering) part ii (#7932)
sayakpaul May 13, 2024
b41ce1e
fix multicontrolnet `save_pretrained` logic for compatibility (#7821)
rebel-kblee May 13, 2024
9e7bae9
Update requirements.txt for text_to_image (#7892)
ktakita1011 May 14, 2024
5b830aa
Bump transformers from 4.36.0 to 4.38.0 in /examples/research_project…
dependabot[bot] May 14, 2024
cdda94f
fix VAE loading issue in train_dreambooth (#7632)
bssrdf May 14, 2024
a1245c2
Expansion proposal of `diffusers-cli env` (#7403)
tolgacangoz May 14, 2024
cbea5d1
update to use hf-workflows for reporting the Docker build statuses (#…
sayakpaul May 14, 2024
e0e8c58
[Core] separate the loading utilities in modeling similar to pipeline…
sayakpaul May 14, 2024
b2140a8
Fix `added_cond_kwargs` when using IP-Adapter in StableDiffusionXLCon…
detkov May 14, 2024
69fdb87
[Pipeline] Adding BoxDiff to community examples (#7947)
May 14, 2024
72780ff
[tests] decorate StableDiffusion21PipelineSingleFileSlowTests with sl…
sayakpaul May 15, 2024
d27e996
Adding VQGAN Training script (#5483)
isamu-isozaki May 15, 2024
4dd7aaa
move to GH hosted M1 runner (#7949)
glegendre01 May 15, 2024
0f111ab
[Workflows] add a workflow that can be manually triggered on a PR. (#…
sayakpaul May 15, 2024
2afea72
refactor: Refactored code by Merging `isinstance` calls (#7710)
Sai-Suraj-27 May 16, 2024
746f603
Fix the text tokenizer name in logger warning of PixArt pipelines (#7…
liang-hou May 16, 2024
1221b28
Fix AttributeError in train_lcm_distill_lora_sdxl_wds.py (#7923)
jainalphin May 16, 2024
6c60e43
Consistent SDXL Controlnet callback tensor inputs (#7958)
asomoza May 16, 2024
70f8d4b
remove unsafe workflow. (#7967)
sayakpaul May 17, 2024
fb7ae01
[tests] fix Pixart Sigma tests (#7966)
sayakpaul May 19, 2024
d6ca120
Fix typo in "attention" (#7977)
jacobmarks May 20, 2024
19df9f3
Update pipeline_controlnet_inpaint_sd_xl.py (#7983)
detkov May 20, 2024
0f0defd
[docs] add doc for PixArtSigmaPipeline (#7857)
lawrence-cj May 20, 2024
a7bf77f
Passing `cross_attention_kwargs` to `StableDiffusionInstructPix2PixPi…
AlexeyZhuravlev May 20, 2024
df2bc5e
fix: Fixed few `docstrings` according to the Google Style Guide (#7717)
Sai-Suraj-27 May 20, 2024
6529ee6
Make VAE compatible to torch.compile() (#7984)
rootonchair May 20, 2024
fdb1baa
[docs] VideoProcessor (#7965)
stevhliu May 21, 2024
e1df77e
Use HF_TOKEN env var in CI (#7993)
Wauplin May 21, 2024
509741a
fix: Attribute error in Logger object (logger.warning) (#8183)
AMohamedAakhil May 22, 2024
baab065
Remove unnecessary single file tests for SD Cascade UNet (#7996)
DN6 May 22, 2024
67b3fe0
Fix resize issue in SVD pipeline with VideoProcessor (#8229)
DN6 May 23, 2024
5cd45c2
Create custom container for doc builder (#8263)
DN6 May 24, 2024
370146e
Use `freedesktop_os_release()` in diffusers cli for Python >=3.10 (#8…
DN6 May 24, 2024
46a9db0
[Community Pipeline] FRESCO: Spatial-Temporal Correspondence for Zero…
SingleZombie May 24, 2024
9941f1f
[Chore] run the documentation workflow in a custom container. (#8266)
sayakpaul May 24, 2024
edf5ba6
Respect `resume_download` deprecation V2 (#8267)
Wauplin May 24, 2024
cef4a51
Clean up `from_single_file` docs (#8268)
DN6 May 24, 2024
1096f88
sampling bug fix in diffusers tutorial "basic_training.md" (#8223)
yue-here May 24, 2024
db33af0
Fix a grammatical error in the `raise` messages (#8272)
tolgacangoz May 24, 2024
0ab63ff
Fix CPU Offloading Usage & Typos (#8230)
tolgacangoz May 24, 2024
4d40c91
Add details about 1-stage implementation in I2VGen-XL docs (#8282)
dhaivat1729 May 27, 2024
6a5ba1b
[Workflows] add a more secure way to run tests from a PR. (#7969)
sayakpaul May 27, 2024
b82f9f5
Add zip package to doc builder image (#8284)
DN6 May 27, 2024
b3d10d6
[Pipeline] Marigold depth and normals estimation (#7847)
toshas May 27, 2024
fe5f035
install wget. (#8285)
sayakpaul May 27, 2024
ba82414
[docs] Add controlnet example to marigold (#8289)
asomoza May 28, 2024
80cfaeb
Fix typo in `philosophy.md` (#8303)
mreraser May 28, 2024
e6df8ed
[LoRA] attempt at fixing onetrainer lora. (#8242)
sayakpaul May 28, 2024
aa676c6
change to yiyi's address. (#7981)
sayakpaul May 28, 2024
67bef20
Add Kohya fix to SD pipeline for high resolution generation (#7633)
sajadn May 28, 2024
b2030a2
Fix object has no attribute 'flush' when using without a console (#8271)
asomoza May 28, 2024
0ab6dc0
[docs] Scheduler features (#7990)
stevhliu May 28, 2024
1fa8dbc
[docs] Outpaint (#7964)
stevhliu May 28, 2024
3393c01
fix pixart-sigma negative prompt handling (#8299)
vladmandic May 28, 2024
3a28e36
[Post release 0.28.0] remove deprecated blocks. (#8291)
sayakpaul May 29, 2024
5edd0b3
move `vqmodel` to `models.autoencoders`. (#8292)
sayakpaul May 29, 2024
ba1bfac
[Core] Refactor `IPAdapterPlusImageProjection` a bit (#7994)
sayakpaul May 29, 2024
581d8aa
post release v0.28.0 (#8286)
sayakpaul May 29, 2024
3bc3b48
Modularize train_text_to_image_lora SD inferencing during and after t…
satani99 May 29, 2024
f4a44b7
Simplify `platform_info` assignment in `diffusers-cli env` (#8298)
tolgacangoz May 29, 2024
f7a4626
[docs] DeepFloyd training (#8224)
stevhliu May 29, 2024
9e00b72
[docs] Files and formats (#7874)
stevhliu May 29, 2024
a2ecce2
Fix Copying Mechanism typo/bug (#8232)
tolgacangoz May 29, 2024
42cae93
Fix StableDiffusionPipeline when `text_encoder=None` (#8297)
DN6 May 29, 2024
3511a96
fix(training): lr scheduler doesn't work properly in distributed scen…
geniuspatrick May 30, 2024
352d96e
Modularize train_text_to_image_lora_sdxl inferencing during and after…
satani99 May 30, 2024
05be622
Fix depth pipeline "input/weight type should be the same" error at fp…
jonahclarsen May 30, 2024
f9fa8a8
Change checkpoint key used to identify CLIP models in single file che…
DN6 May 31, 2024
983dec3
[Core] Introduce class variants for `Transformer2DModel` (#7647)
sayakpaul May 31, 2024
86555c9
Fix marigold documentation (#8372)
toshas May 31, 2024
bc108e1
Fix DREAM training (#8302)
AmericanPresidentJimmyCarter Jun 1, 2024
4136044
Tencent Hunyuan Team: add HunyuanDiT related updates (#8240)
gnobitab Jun 1, 2024
174cf86
Tencent Hunyuan Team - Updated Doc for HunyuanDiT (#8383)
gnobitab Jun 3, 2024
4d633bf
Update slow test actions (#8381)
DN6 Jun 3, 2024
dc89434
Update transformer2d.md title (#8375)
salcc Jun 4, 2024
6be43bd
Fix AsymmetricAutoencoderKL forward (#8378)
townwish4git Jun 4, 2024
3ff39e8
[HunyuanDiT] minor docs changes in hunyuandit (#8395)
sayakpaul Jun 4, 2024
6ddbf62
[Transformer2DModel] Handle `norm_type` safely while remapping (#8370)
sayakpaul Jun 4, 2024
07cd200
Update code example in pipeline_stable_unclip_img2img.py EXAMPLE_DOC_…
ltejedor Jun 5, 2024
14f7b54
[Hunyuan DiT] feat: enable fusing qkv projections when doing attentio…
sayakpaul Jun 5, 2024
a8ad666
[Hunyuan] feat: support chunked ff. (#8397)
sayakpaul Jun 5, 2024
a0542c1
[LoRA] Remove legacy LoRA code and related adjustments (#8316)
sayakpaul Jun 5, 2024
2f6f426
[Hunyuan] allow Hunyuan DiT to run under 6GB for GPU VRAM (#8399)
sayakpaul Jun 5, 2024
48207d6
[Scheduler] fix: EDM schedulers when using the exp sigma schedule. (#…
sayakpaul Jun 5, 2024
d3881f3
Gligen training (#7906)
Hzzone Jun 5, 2024
7ebd359
Update tailscale action to main (#8403)
glegendre01 Jun 5, 2024
98730c5
Errata (#8322)
tolgacangoz Jun 5, 2024
867a2b0
[Hunyuan] add optimization related sections to the hunyuan dit docs. …
sayakpaul Jun 6, 2024
a3faf3f
[Core] fix: legacy model mapping (#8416)
sayakpaul Jun 6, 2024
151a56b
[docs] Single file usage (#8412)
stevhliu Jun 6, 2024
ec1aded
Optimize test files by fixing CPU-offloading usage (#8409)
tolgacangoz Jun 6, 2024
e0fae6f
Mirror `./examples/community` folder on HF (#8417)
Wauplin Jun 7, 2024
5fd6825
Fix mirror_community_pipeline.yml name (#8425)
Wauplin Jun 7, 2024
716b206
Fix mirror community pipeline (#8426)
Wauplin Jun 7, 2024
b63c956
Final fix for mirror community pipeline (#8427)
Wauplin Jun 7, 2024
7d88711
[Core] support saving and loading of sharded checkpoints (#7830)
sayakpaul Jun 7, 2024
0d68ddf
Move away from `cached_download` (#8419)
Wauplin Jun 7, 2024
83bc6c9
feat(ci): add trufflehog secrets detection (#8430)
McPatate Jun 8, 2024
9578d7e
Merge branch 'main' into clement/update/merge-main
clementchadebec Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 19 additions & 19 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,40 +66,40 @@ body:
Questions on DiffusionPipeline (Saving, Loading, From pretrained, ...):

Questions on pipelines:
- Stable Diffusion @yiyixuxu @DN6 @sayakpaul @patrickvonplaten
- Stable Diffusion XL @yiyixuxu @sayakpaul @DN6 @patrickvonplaten
- Kandinsky @yiyixuxu @patrickvonplaten
- ControlNet @sayakpaul @yiyixuxu @DN6 @patrickvonplaten
- T2I Adapter @sayakpaul @yiyixuxu @DN6 @patrickvonplaten
- IF @DN6 @patrickvonplaten
- Text-to-Video / Video-to-Video @DN6 @sayakpaul @patrickvonplaten
- Wuerstchen @DN6 @patrickvonplaten
- Stable Diffusion @yiyixuxu @DN6 @sayakpaul
- Stable Diffusion XL @yiyixuxu @sayakpaul @DN6
- Kandinsky @yiyixuxu
- ControlNet @sayakpaul @yiyixuxu @DN6
- T2I Adapter @sayakpaul @yiyixuxu @DN6
- IF @DN6
- Text-to-Video / Video-to-Video @DN6 @sayakpaul
- Wuerstchen @DN6
- Other: @yiyixuxu @DN6

Questions on models:
- UNet @DN6 @yiyixuxu @sayakpaul @patrickvonplaten
- VAE @sayakpaul @DN6 @yiyixuxu @patrickvonplaten
- Transformers/Attention @DN6 @yiyixuxu @sayakpaul @DN6 @patrickvonplaten
- UNet @DN6 @yiyixuxu @sayakpaul
- VAE @sayakpaul @DN6 @yiyixuxu
- Transformers/Attention @DN6 @yiyixuxu @sayakpaul @DN6

Questions on Schedulers: @yiyixuxu @patrickvonplaten
Questions on Schedulers: @yiyixuxu

Questions on LoRA: @sayakpaul @patrickvonplaten
Questions on LoRA: @sayakpaul

Questions on Textual Inversion: @sayakpaul @patrickvonplaten
Questions on Textual Inversion: @sayakpaul

Questions on Training:
- DreamBooth @sayakpaul @patrickvonplaten
- Text-to-Image Fine-tuning @sayakpaul @patrickvonplaten
- Textual Inversion @sayakpaul @patrickvonplaten
- ControlNet @sayakpaul @patrickvonplaten
- DreamBooth @sayakpaul
- Text-to-Image Fine-tuning @sayakpaul
- Textual Inversion @sayakpaul
- ControlNet @sayakpaul

Questions on Tests: @DN6 @sayakpaul @yiyixuxu

Questions on Documentation: @stevhliu

Questions on JAX- and MPS-related things: @pcuenca

Questions on audio pipelines: @DN6 @patrickvonplaten
Questions on audio pipelines: @DN6



Expand Down
10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ members/contributors who may be interested in your PR.

Core library:

- Schedulers: @yiyixuxu and @patrickvonplaten
- Pipelines: @patrickvonplaten and @sayakpaul
- Training examples: @sayakpaul and @patrickvonplaten
- Docs: @stevhliu and @yiyixuxu
- Schedulers: @yiyixuxu
- Pipelines: @sayakpaul @yiyixuxu @DN6
- Training examples: @sayakpaul
- Docs: @stevhliu and @sayakpaul
- JAX and MPS: @pcuenca
- Audio: @sanchit-gandhi
- General functionalities: @patrickvonplaten and @sayakpaul
- General functionalities: @sayakpaul @yiyixuxu @DN6

Integrations:

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Benchmarking tests

on:
workflow_dispatch:
schedule:
- cron: "30 1 1,15 * *" # every 2 weeks on the 1st and the 15th of every month at 1:30 AM

Expand Down Expand Up @@ -30,15 +31,15 @@ jobs:
nvidia-smi
- name: Install dependencies
run: |
apt-get update && apt-get install libsndfile1-dev libgl1 -y
python -m pip install -e .[quality,test]
python -m pip install pandas
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m uv pip install -e [quality,test]
python -m uv pip install pandas peft
- name: Environment
run: |
python utils/print_env.py
- name: Diffusers Benchmarking
env:
HUGGING_FACE_HUB_TOKEN: ${{ secrets.DIFFUSERS_BOT_TOKEN }}
HF_TOKEN: ${{ secrets.DIFFUSERS_BOT_TOKEN }}
BASE_PATH: benchmark_outputs
run: |
export TOTAL_GPU_MEMORY=$(python -c "import torch; print(torch.cuda.get_device_properties(0).total_memory / (1024**3))")
Expand Down
63 changes: 56 additions & 7 deletions .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,57 @@
name: Build Docker images (nightly)
name: Test, build, and push Docker images

on:
pull_request: # During PRs, we just check if the changes Dockerfiles can be successfully built
branches:
- main
paths:
- "docker/**"
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # every day at midnight

concurrency:
group: docker-image-builds
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
REGISTRY: diffusers
CI_SLACK_CHANNEL: ${{ secrets.CI_DOCKER_CHANNEL }}

jobs:
build-docker-images:
runs-on: ubuntu-latest
test-build-docker-images:
runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]
if: github.event_name == 'pull_request'
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Check out code
uses: actions/checkout@v3

- name: Find Changed Dockerfiles
id: file_changes
uses: jitterbit/get-changed-files@v1
with:
format: 'space-delimited'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Changed Docker Images
run: |
CHANGED_FILES="${{ steps.file_changes.outputs.all }}"
for FILE in $CHANGED_FILES; do
if [[ "$FILE" == docker/*Dockerfile ]]; then
DOCKER_PATH="${FILE%/Dockerfile}"
DOCKER_TAG=$(basename "$DOCKER_PATH")
echo "Building Docker image for $DOCKER_TAG"
docker build -t "$DOCKER_TAG" "$DOCKER_PATH"
fi
done
if: steps.file_changes.outputs.all != ''

build-and-push-docker-images:
runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]
if: github.event_name != 'pull_request'

permissions:
contents: read
Expand All @@ -32,21 +69,33 @@ jobs:
- diffusers-flax-tpu
- diffusers-onnxruntime-cpu
- diffusers-onnxruntime-cuda
- diffusers-doc-builder

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ env.REGISTRY }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
with:
no-cache: true
context: ./docker/${{ matrix.image-name }}
push: true
tags: ${{ env.REGISTRY }}/${{ matrix.image-name }}:latest

- name: Post to a Slack channel
id: slack
uses: huggingface/hf-workflows/.github/actions/post-slack@main
with:
# Slack channel id, channel name, or user id to post message.
# See also: https://api.slack.com/methods/chat.postMessage#channels
slack_channel: ${{ env.CI_SLACK_CHANNEL }}
title: "🤗 Results of the ${{ matrix.image-name }} Docker Image build"
status: ${{ job.status }}
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- doc-builder*
- v*-release
- v*-patch
paths:
- "src/diffusers/**.py"
- "examples/**"
- "docs/**"

jobs:
build:
Expand All @@ -17,7 +21,7 @@ jobs:
package: diffusers
notebook_folder: diffusers_doc
languages: en ko zh ja pt

custom_container: diffusers/diffusers-doc-builder
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
5 changes: 5 additions & 0 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Build PR Documentation

on:
pull_request:
paths:
- "src/diffusers/**.py"
- "examples/**"
- "docs/**"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -16,3 +20,4 @@ jobs:
install_libgl1: true
package: diffusers
languages: en ko zh ja pt
custom_container: diffusers/diffusers-doc-builder
89 changes: 89 additions & 0 deletions .github/workflows/mirror_community_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Mirror Community Pipeline

on:
# Push changes on the main branch
push:
branches:
- main
paths:
- 'examples/community/**.py'

# And on tag creation (e.g. `v0.28.1`)
tags:
- '*'

# Manual trigger with ref input
workflow_dispatch:
inputs:
ref:
description: "Either 'main' or a tag ref"
required: true
default: 'main'

jobs:
mirror_community_pipeline:
runs-on: ubuntu-latest
steps:
# Checkout to correct ref
# If workflow dispatch
# If ref is 'main', set:
# CHECKOUT_REF=refs/heads/main
# PATH_IN_REPO=main
# Else it must be a tag. Set:
# CHECKOUT_REF=refs/tags/{tag}
# PATH_IN_REPO={tag}
# If not workflow dispatch
# If ref is 'refs/heads/main' => set 'main'
# Else it must be a tag => set {tag}
- name: Set checkout_ref and path_in_repo
run: |
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
if [ -z "${{ github.event.inputs.ref }}" ]; then
echo "Error: Missing ref input"
exit 1
elif [ "${{ github.event.inputs.ref }}" == "main" ]; then
echo "CHECKOUT_REF=refs/heads/main" >> $GITHUB_ENV
echo "PATH_IN_REPO=main" >> $GITHUB_ENV
else
echo "CHECKOUT_REF=refs/tags/${{ github.event.inputs.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=${{ github.event.inputs.ref }}" >> $GITHUB_ENV
fi
elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=main" >> $GITHUB_ENV
else
# e.g. refs/tags/v0.28.1 -> v0.28.1
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=${${{ github.ref }}#refs/tags/}" >> $GITHUB_ENV
fi
- name: Print env vars
run: |
echo "CHECKOUT_REF: ${{ env.CHECKOUT_REF }}"
echo "PATH_IN_REPO: ${{ env.PATH_IN_REPO }}"
- uses: actions/checkout@v3
with:
ref: ${{ env.CHECKOUT_REF }}

# Setup + install dependencies
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade huggingface_hub

# Check secret is set
- name: whoami
run: huggingface-cli whoami
env:
HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}

# Push to HF! (under subfolder based on checkout ref)
# https://huggingface.co/datasets/diffusers/community-pipelines-mirror
- name: Mirror community pipeline to HF
run: huggingface-cli upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
env:
PATH_IN_REPO: ${{ env.PATH_IN_REPO }}
HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
Loading