diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.

Results 1193 diffusers issues
Sort by recently updated
recently updated
newest added

This PR hanldes https://github.com/huggingface/diffusers/issues/2363 and part of https://github.com/huggingface/diffusers/issues/2326. In summary, given a LoRA weight in safetensors format, we can merge it into a stable diffusion model in diffusers. It is...

I based this on the in progress sampling in https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/train_dreambooth_lora.py due to the suggestion on https://github.com/huggingface/diffusers/pull/2030 that that was a good example to follow. Unfortunately, this code doesn't work at...

Fix #2424 Enables flake8-comprehension checks in ruff and adds the automatically generated fixes. This should strictly improve performance by removing unnecessary lookups, iterations, and function calls. It should also help...

I think I have a working implemention of an `OnnxStableDiffusionUpscalePipeline`, which extends `StableDiffusionUpscalePipeline` to be compatible with `OnnxRuntimeModel`. I'm hoping to get some feedback on whether this is the right...

### Model/Pipeline/Scheduler description We are working on the training script for [Muse](https://muse-model.github.io/) by google, the progress can be seen [here](https://github.com/lucidrains/muse-maskgit-pytorch/pull/25). I'm trying to make it in the huggingface format as...

### Model/Pipeline/Scheduler description [ControlNet](https://github.com/lllyasviel/ControlNet) by @lllyasviel is a neural network structure to control diffusion models by adding extra conditions. It has integration with Stable Diffusion and [8 pre-trained models](https://huggingface.co/lllyasviel/ControlNet/tree/main/models) that...

good first issue
New pipeline/model

Leaving message in will lead to "got an unexpected keyword argument" error `deprecate` does not have explicit message argument stated https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/deprecation_utils.py#L8 Error Message: ![image](https://user-images.githubusercontent.com/51011489/219955362-907459d2-de7c-4dfe-b6db-3199ac5b1e77.png)

**Is your feature request related to a problem? Please describe.** Enable flake8-comprehensions which is particularly trivial since the ruff linter was recently installed. It removes useless or inefficient Python comprehensions...

Some enhancements for the checkpoint_merger community pipeline cc @Abhinay1997 * Different modules can be merged with different alphas via the `module_override_alphas` kwarg (eg `{'unet': 0.2, 'text_encoder': 0.6}`) * Block-weighted merges,...