huggingface / huggingface/diffusers
FLUX.1-Fill-dev running problem
- Lenguaje dominante
- Python
- Estrellas
- 34.5k
- Forks
- 7.3k
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 91
Descripción
### Describe the bug
I don't know why, but the loading has remained stationary at this step. I'm running it on a 4090-24G graphics card. But it seems that it has been stuck since loading the pipe
(worldgen) lqz27@rise:~/.../WorldGen/flux$ python flux.py
Loading checkpoint shards: 100%|█████████████████| 2/2 [00:00<00:00, 149.45it/s]
Loading checkpoint shards: 100%|██████████████████| 3/3 [00:00<00:00, 95.33it/s]
Loading pipeline components...: 57%|███████▍ | 4/7 [00:00<00:00, 36.35it/s]You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
Loading pipeline components...: 100%|█████████████| 7/7 [00:00<00:00, 26.22it/s]
### Reproduction
import torch
from diffusers import FluxFillPipeline
from diffusers.utils import load_image
image = load_image("https://huggingface.co/datasets/diffusers/diffusers-images-docs/resolve/main/cup.png")
mask = load_image("https://huggingface.co/datasets/diffusers/diffusers-images-docs/resolve/main/cup_mask.png")
pipe = FluxFillPipeline.from_pretrained("black-forest-labs/FLUX.1-Fill-dev", torch_dtype=torch.bfloat16).to("cuda")
image = pipe(
prompt="a white paper cup",
image=image,
mask_image=mask,
height=1632,
width=1232,
guidance_scale=30,
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
image.save(f"flux-fill-dev.png")
### Logs
```shell
```
### System Info
The latest diffusers ,python=3.11
### Who can help?
_No response_
Guía de contribución
Línea de trabajo
Comienza ejecutando la reproducción proporcionada de FluxFillPipeline en la configuración 4090-24G indicada y comprueba dónde se detiene la carga del pipeline después del mensaje de progreso del 57 %. Compara el comportamiento con el entorno indicado de Python y latest diffusers; se considera completado cuando se haya identificado la causa y confirmado que el ejemplo llega correctamente a image.save.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python, pytorch
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100