diffusers
diffusers copied to clipboard
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
Hi, @patrickvonplaten @patil-suraj . I tried to use `mixed_precision` to accelerate finetune but found that the time costs are the same between fp32 and bf16. The accelerator only works for...
Hi, Thanks for the amazing project for diffusion models! I'm interested in Seq2Seq generation with diffusion models. Thus is it possible to use VersatileDiffusion model for Seq2Seq generation training? Or...
Traceback (most recent call last): File "train_text_to_image.py", line 17, in from datasets import load_dataset ModuleNotFoundError: No module named 'datasets' Traceback (most recent call last): File "/usr/local/bin/accelerate", line 8, in sys.exit(main())...
### Describe the bug The `StableDiffusionInpaintPipeline` seems to support `torch.Tensor` as inputs. However, the code contains a bug that made the inference fail. The bug is located at line 654...
**What API design would you like to have changed or added to the library? Why?** Would be nice to have some way of getting the appropriate scale value for the...
I saw it here https://huggingface.co/riffusion/riffusion-model-v1/tree/main/unet_traced and found here https://huggingface.co/docs/diffusers/optimization/fp16 and here https://pytorch.org/docs/stable/generated/torch.jit.trace.html  If it is compiled version of the model it should be faster right? is this...
Allows saving mapping_dict when loading pytorch model through from_pretrained(from_pt=True), which can be used to save flax model in pytorch bin format. Add new option `return_mapping_dict` to from_pretrained. When set to...
### Describe the bug When creating a flax model, `dtype` needs to be defined as a required arg for the model definition. It should be possible to define them without...
### Describe the bug When trying dream booth training I get this error ### Reproduction accelerate launch train_dreambooth.py --mixed_precision="fp16" --pretrained_model_name_or_path="stabilityai/stable-diffusion-2-1-base" --train_text_encoder --instance_data_dir="C:\Users\VERTIGO\Documents\my_concept" --class_data_dir="C:\Users\VERTIGO\Documents\classdata" --output_dir="C:\Users\VERTIGO\dreambooth-concept" --with_prior_preservation --prior_loss_weight=1.0 --instance_prompt="a graphical illustration by...
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.) , i have the server with gpu its A100 80gb