flux
flux copied to clipboard
Official inference repo for FLUX.1 models
I am trying to run the code in my machine. Though FluxPipeleine works nice but using the code.. the line `txt = t5(prompt)` in prepare() of sampling.py takes longer time....
This is the real life quality I'm aiming to achieve:  But.... I don't know why in my case flux is generating squishy, warped images like this:  prompt: "A...
txt_ids = torch.zeros(bs, txt.shape[1], 3) in sampling.py
So how long can it process the prompt?
Hello, How can I use FLUX.1 Pro locally on Windows 11? Is there a tutorial to install it, perhaps I can use it on ComfyUI. Thanks in advance
**I cannot loading components for the flux1-dev checkpoint.** Here is my code: pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16) pipe.enable_model_cpu_offload() pipe.to(torch.float16) prompt = "Create a commercial poster for restaurant" out = pipe( prompt=prompt,...
I did everything according to the instructions ``` git clone https://github.com/black-forest-labs/flux python -m venv .venv source .venv/Scripts/activate pip install -e “.[all]” ``` then run the model with ```python -m flux...
Can I get some advice on how to choose which drive the weights are downloaded to?
Hi, I’ve been trying to use FLUX dev and schnell VAE in order to decode averaged latents. A full, example workflow is: 1. Open two images 2. Get their respective...
Is it possible add a lora or checkpoint model, and use it to generate images?