Example from front page. What goes into "transformer"? from_pretrained(..., transformer=transformer
#3
by
niknah
- opened
In the example on the front page. What do I put in "transformer"?
pipe = Flux2Pipeline.from_pretrained(
repo_id, transformer=transformer, text_encoder=None, torch_dtype=torch_dtype
).to(device)
Mine just sits at 0%, not doing anything.
The example has been updated: https://huggingface.co/black-forest-labs/FLUX.2-dev#using-with-diffusers-🧨
Im not sure what would go there, but if i had to geuss, since its the transformers library, problably something related to how it handles text.
The new example works, thanks. I just need a better GPU.
niknah
changed discussion status to
closed