Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge changes #157

Merged
merged 56 commits into from
May 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
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
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update download diff format tests (huggingface#7831)
update

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
DN6 and sayakpaul authored May 2, 2024
commit 03ca11318e61de5f41c4406ac455d926b32e5714
10 changes: 5 additions & 5 deletions tests/pipelines/stable_diffusion/test_stable_diffusion.py
Original file line number Diff line number Diff line change
@@ -1257,8 +1257,8 @@ def tearDown(self):

def test_download_from_hub(self):
ckpt_paths = [
"https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.ckpt",
"https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix/AbyssOrangeMix_base.ckpt",
"https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.safetensors",
"https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix/AbyssOrangeMix.safetensors",
]

for ckpt_path in ckpt_paths:
@@ -1271,7 +1271,7 @@ def test_download_from_hub(self):
assert image_out.shape == (512, 512, 3)

def test_download_local(self):
ckpt_filename = hf_hub_download("runwayml/stable-diffusion-v1-5", filename="v1-5-pruned-emaonly.ckpt")
ckpt_filename = hf_hub_download("runwayml/stable-diffusion-v1-5", filename="v1-5-pruned-emaonly.safetensors")
config_filename = hf_hub_download("runwayml/stable-diffusion-v1-5", filename="v1-inference.yaml")

pipe = StableDiffusionPipeline.from_single_file(
@@ -1285,7 +1285,7 @@ def test_download_local(self):
assert image_out.shape == (512, 512, 3)

def test_download_ckpt_diff_format_is_same(self):
ckpt_path = "https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.ckpt"
ckpt_path = "https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.safetensors"

sf_pipe = StableDiffusionPipeline.from_single_file(ckpt_path)
sf_pipe.scheduler = DDIMScheduler.from_config(sf_pipe.scheduler.config)
@@ -1310,7 +1310,7 @@ def test_download_ckpt_diff_format_is_same(self):
def test_single_file_component_configs(self):
pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")

ckpt_path = "https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.ckpt"
ckpt_path = "https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.safetensors"
single_file_pipe = StableDiffusionPipeline.from_single_file(ckpt_path, load_safety_checker=True)

for param_name, param_value in single_file_pipe.text_encoder.config.to_dict().items():