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

Bump diffusers from 0.27.2 to 0.29.2 #6

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2024

Bumps diffusers from 0.27.2 to 0.29.2.

Release notes

Sourced from diffusers's releases.

v0.29.2: fix deprecation and LoRA bugs 🐞

All commits

  • [SD3] Fix mis-matched shape when num_images_per_prompt > 1 using without T5 (text_encoder_3=None) by @​Dalanke in #8558
  • [LoRA] refactor lora conversion utility. by @​sayakpaul in #8295
  • [LoRA] fix conversion utility so that lora dora loads correctly by @​sayakpaul in #8688
  • [Chore] remove deprecation from transformer2d regarding the output class. by @​sayakpaul in #8698
  • [LoRA] fix vanilla fine-tuned lora loading. by @​sayakpaul in #8691
  • Release: v0.29.2 by @​sayakpaul (direct commit on v0.29.2-patch)

v0.29.1: SD3 ControlNet, Expanded SD3 from_single_file support, Using long Prompts with T5 Text Encoder & Bug fixes

SD3 CntrolNet

import torch
from diffusers import StableDiffusion3ControlNetPipeline
from diffusers.models import SD3ControlNetModel, SD3MultiControlNetModel
from diffusers.utils import load_image
controlnet = SD3ControlNetModel.from_pretrained("InstantX/SD3-Controlnet-Canny", torch_dtype=torch.float16)
pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
"stabilityai/stable-diffusion-3-medium-diffusers", controlnet=controlnet, torch_dtype=torch.float16
)
pipe.to("cuda")
control_image = load_image("https://huggingface.co/InstantX/SD3-Controlnet-Canny/resolve/main/canny.jpg")
prompt = "A girl holding a sign that says InstantX"
image = pipe(prompt, control_image=control_image, controlnet_conditioning_scale=0.7).images[0]
image.save("sd3.png")

📜 Refer to the official docs here to learn more about it.

Thanks to @​haofanwang @​wangqixun from the @​ResearcherXman team for contributing this pipeline!

Expanded single file support

We now support all available single-file checkpoints for sd3 in diffusers! To load the single file checkpoint with t5

import torch
from diffusers import StableDiffusion3Pipeline
pipe = StableDiffusion3Pipeline.from_single_file(
"https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/sd3_medium_incl_clips_t5xxlfp8.safetensors",
torch_dtype=torch.float16,
)
pipe.enable_model_cpu_offload()
image = pipe("a picture of a cat holding a sign that says hello world").images[0]
</tr></table>

... (truncated)

Commits
  • c586aad Release: v0.29.2
  • 1479729 [LoRA] fix vanilla fine-tuned lora loading. (#8691)
  • 64b2050 [Chore] remove deprecation from transformer2d regarding the output class. (#8...
  • aa2b3a3 [LoRA] fix conversion utility so that lora dora loads correctly (#8688)
  • edc1c89 [LoRA] refactor lora conversion utility. (#8295)
  • a0a5427 [SD3] Fix mis-matched shape when num_images_per_prompt > 1 using without T5 (...
  • dc74c7e fix from_single_file for checkpoints with t5 (#8631)
  • 2eafde7 Support SD3 ControlNet and Multi-ControlNet. (#8566)
  • 7ec060d Fix gradient checkpointing issue for Stable Diffusion 3 (#8542)
  • 828e364 [SD3 Inference] T5 Token limit (#8506)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [diffusers](https://github.com/huggingface/diffusers) from 0.27.2 to 0.29.2.
- [Release notes](https://github.com/huggingface/diffusers/releases)
- [Commits](huggingface/diffusers@v0.27.2...v0.29.2)

---
updated-dependencies:
- dependency-name: diffusers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 2, 2024
@K0ntr4 K0ntr4 merged commit e417a0e into main Jul 2, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/pip/diffusers-0.29.2 branch July 2, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant