diffusers
diffusers copied to clipboard
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
### Describe the bug I have access to a machine with several NVIDIA A100s. Initially I was using multiple GPUs for Dreambooth training under the idea that it would speed...
https://github.com/huggingface/diffusers/blob/acd317810bc138b3a78fa30e1b3da1006c1d60ad/examples/unconditional_image_generation/train_unconditional.py#L421-L428 1. Big issue: `alpha_t / (1 - alpha_t)` is the **signal-to-noise ratio (SNR)**. The weighting scheme `snr_weights` is different from the paper and doesn't make sense because the weight...
:hugs: Transformers now also includes an image super resolution/restoration model: Swin2SR (based on Swinv2) :fire: models on the hub: https://huggingface.co/caidas docs: https://huggingface.co/docs/transformers/main/en/model_doc/swin2sr We could combine this very nicely with `diffusers`...
The wheels will have PyTorch pinned to the latest stable version: https://github.com/facebookresearch/xformers/issues/533#issuecomment-1355162407 For older versions, we can recommend to install from source.
Script to store original images from unconditional training datasets as a collection of images. This script can be used before computing FID scores with tools like torch-fidelity.
Thanks for all the work first of all, I appreciate that we have all these pretrained models freely available open-source. I'm a bit confused by the relationship between sampler implementations...
Hi @thedarkzeno @patil-suraj I'm trying to run the script here, https://github.com/huggingface/diffusers/tree/main/examples/research_projects/dreambooth_inpaint (ty for this) with similar setup as with training regular text=>image dreambooth. I'm finding that the quality of the...
### Describe the bug Commit [c18941b](https://github.com/huggingface/diffusers/commit/c18941b01ad0ea6b07d020f353d81153c632a374) introduced hardcoded model names in the example scripts. Most of them should probably be replaced by `args.pretrained_model_name_or_path`. ### Reproduction Run one of the scripts...
I tried to convert the cifar10 ncsnpp original checkpoint [here](https://drive.google.com/drive/folders/1b0gy_LLgO_DaQBgoWXwlVnL_rcAUgREh) to the diffusers model using `convert_ncsnpp_original_checkpoint_to_diffusers.py` but found an error: `Traceback (most recent call last): File "convert_ncsnpp_original_checkpoint_to_diffusers.py", line 171, in...
Small performance improvements to `dpmsolver_multistep` and `euler_ancestral_discrete` by avoiding redundant calculations. Vectorized the loop in `lms_discrete`. Some example benchmarks with code below: **DPMSolverMultistepScheduler** > 100 steps: > before: 3.6375 sec...