diffusers
diffusers copied to clipboard
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
### Describe the bug **code is :** #DiffusionPipeline import torch from diffusers import StableDiffusionXLPipeline, StableDiffusionXLImg2ImgPipeline, AutoPipelineForText2Image prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" #加载SDXL...
I was thinking about Sayak's suggestion lately that the training examples are too long, and went through looking for redundant/unnecessary code sections that can be reduced or eliminated for readability....
**Is your feature request related to a problem? Please describe.** While working with various codebase that rely on different diffuser versions I find it challenging to pinpoint when a given...
File "Z:\software\python11\Lib\site-packages\diffusers\configuration_utils.py", line 436, in load_config raise EnvironmentError(f"It looks like the config file at '{config_file}' is not a valid JSON file.") OSError: It looks like the config file at 'X:\test\dreamshaper_8.safetensors'...
### Describe the bug I get this error when I use the xformers parameter. ```bash File "/root/projects/vton_train/train_text_to_image_sdxl.py", line 43, in from torchvision import transforms File "/usr/local/lib/python3.10/dist-packages/torchvision/__init__.py", line 6, in from...
# What does this PR do? Fixes # (issue) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if...
# What does this PR do? Fixes #7920 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if...
# What does this PR do? Changes the SD and SDXL pipelines to use the strength parameter of the scheduler when possible Fixes # (issue) #7651 ## Who can review?...
### Describe the bug When running the code snippet from [https://huggingface.co/docs/diffusers/api/pipelines/ledits_pp#diffusers.LEditsPPPipelineStableDiffusionXL](https://huggingface.co/docs/diffusers/api/pipelines/ledits_pp#diffusers.LEditsPPPipelineStableDiffusionXL) I get a RuntimeError for as mismatch between the type of the input image and the VAE used to...
Continuation of #7817 (see comment [here](https://github.com/huggingface/diffusers/pull/7817#pullrequestreview-2048708715)) that refactors scheduler features for inference to their own doc. It includes: - custom `timesteps` and `sigmas` showcasing AYS - Karras sigmas - `rescale_betas_zero_snr`