Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
0 votes
0 answers
53 views

I am trying to visualize the latent representation produced by the VAE inside a Stable Diffusion pipeline from diffusers import StableDiffusionPipeline import torch # A CUDA ordinal is simply the ...
Yilmaz's user avatar
  • 51k
0 votes
0 answers
91 views

After failing to make the QwenImageEditPlus run (https://huggingface.co/spaces/discord-community/README/discussions/9#68d260e32053323e6bfab30c), I tried a different approach (thanks to all the example ...
Siladittya's user avatar
  • 1,215
1 vote
0 answers
387 views

I'm encountering an error AttibuteError: module 'torch' has no attribute 'xpu' when running the diffusers library in a Google Colab environment with a CUDA GPU. I'm trying to use DiffusionPipleline....
Beverly Sellers-Robinson's user avatar
2 votes
1 answer
109 views

I need to stop hugging face pipeline operation. I tried to achieve this using a method from the following question, but it didn't work. I set the breakpoint on the line return flag and expected ...
Intolighter's user avatar
0 votes
1 answer
162 views

Discussion HuggingFace accelerate's init_empty_weights() properly loads all text encoders I tested to the PyTorch meta device and consumes no apparent memory or disk space while loaded. However, it ...
Matthew Ross's user avatar
0 votes
0 answers
212 views

I came from these two links, https://huggingface.co/h94/IP-Adapter-FaceID https://stable-diffusion-art.com/consistent-face/ They all mentioned I can preserve face id with the controlnet model. So I ...
daisy's user avatar
  • 23.7k
5 votes
1 answer
24k views

huggingface_hub==0.27.1 diffusers==0.28.0 I am getting this error: Traceback (most recent call last): File "/data/om/Lotus/infer.py", line 11, in <module> from diffusers.utils ...
Om Rastogi's user avatar
  • 1,067
0 votes
1 answer
2k views

when I use the diffusers in the https://github.com/alvinliu0/HumanGaussian project, I got the error : Traceback (most recent call last): File "launch.py", line 239, in <module> ...
x k G's user avatar
  • 1
0 votes
0 answers
182 views

I want to use an implementation of InstantID with Ipadapter using Diffusers library. So far I got : import diffusers from diffusers.utils import load_image from diffusers.models import ControlNetModel ...
Felox's user avatar
  • 502
1 vote
1 answer
148 views

I have been reading about Unets and Stable diffusion and want to train one. I understand the original architecture for unets and how its channels, height and width evolve over down blocks and up ...
Krishna Dave's user avatar
2 votes
1 answer
428 views

I have a g4dn.xlarge AWS GPU instance, it has 16GB memory + 48GB swap, and a Tesla T4 GPU Instance with 16GB vRAM. According to the stability blog, it should be sufficient to run SD3.5 Medium model. ...
daisy's user avatar
  • 23.7k
1 vote
1 answer
474 views

I have a Flux-Dev base model which has been trained with the LoRA technique using the SimpleTuner framework (https://github.com/bghira/SimpleTuner/blob/main/documentation/quickstart/FLUX.md). The ...
user1875136's user avatar
0 votes
1 answer
823 views

So, I tried to train a prompt based image generation model using FLUX.1-schnell. I used Lightning AI Studio (an alternate to Google Colab), that helped me to access to L40 GPU, that came with 48gb ...
ACHINTYA GUPTA's user avatar
4 votes
2 answers
2k views

import torch from diffusers import FluxPipeline pipe = FluxPipeline.from_pretrained('C:\\Python\\Projects\\test1\\flux1dev', torch_dtype=torch.bfloat16) pipe.enable_sequential_cpu_offload() prompt = ...
Donald Moore's user avatar
1 vote
1 answer
325 views

I am trying to train diffusers/UNet2DConditionModel from scratch. Currently I have error on unet forwarding: mat1 and mat2 shapes cannot be multiplied (288x512 and 1280x512). I noticed that mat1 first ...
u1ug's user avatar
  • 11

15 30 50 per page