diffusers
diffusers copied to clipboard
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
Hi, When I use stable cascade model with long prompt, I get below error. `Token indices sequence length is longer than the specified maximum sequence length for this model (165...
### Describe the bug Components of custom pipelines (defined via custom_pipeline parameter) do not seem to be cached. I have a multistep system where I'm loading all my components and...
### Describe the bug I have this Dockerfile to download the checkpoint from Dreamshaper XL Turbo but when I tried to load the checkpoint with `AutoPipelineForText2Image.from_pretrained` I got the following...
# What does this PR do? Fixes https://github.com/huggingface/diffusers/actions/runs/9055285304/job/24876182073#step:7:3821
### Describe the bug /home/pcl/Minconda/conda3/envs/DIFT/bin/python3.10 /home/pcl/DETR/SDAseg/others/DIFT-main/demo.py Traceback (most recent call last): File "/home/pcl/Minconda/conda3/envs/DIFT/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 337, in load_config config_file = hf_hub_download( File "/home/pcl/Minconda/conda3/envs/DIFT/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File...
**Unloading LoRA raises errors on refiner SDXL models when employing only ONE text encoder:** https://github.com/huggingface/diffusers/blob/7f551e29ff4ad05615cb38530a8940811f9e5936/src/diffusers/loaders/lora.py#L967C9-L967C28 on self._remove_text_encoder_monkey_patch() https://github.com/huggingface/diffusers/blob/7f551e29ff4ad05615cb38530a8940811f9e5936/src/diffusers/loaders/lora.py#L1539 ```python def _remove_text_encoder_monkey_patch(self): if USE_PEFT_BACKEND: recurse_remove_peft_layers(self.text_encoder) ``` **Handling of LoRA loading and...
### Model/Pipeline/Scheduler description `Animatediff` is a great technique with exploding interest and advancements; additional custom models start popping around in `ckpt` format, which cannot be loaded to `diffusers` in the...
### Describe the bug I have arrived at this conclusion after experimenting with the LCM models/schedulers, and I believe it applies to all schedulers and img2img pipelines. For longer diffusion...
# What does this PR do? Add dockerfile for Ascend NPU, based on PyTorch. ## Before submitting - [N/A] This PR fixes a typo or improves the docs (you can...