black-forest-labs / flux

Official inference repo for FLUX.1 models
Apache License 2.0
15.34k stars 1.1k forks source link

creating embedding for prompt using t5-xxl takes forever #161

Open arushijain45 opened 1 month ago

arushijain45 commented 1 month ago

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. I waited for 2 hours but it is still processing at this particular line. Can you help me understand the issue. Please note, I also tried using t5-large model instead of t5-xxl model but ofcourse then I get trapped into shape issues.