• Ilya Drobyshevskiy's avatar
    fix flux controlnet bug (#11152) · 6a7c2d0a
    Ilya Drobyshevskiy authored
    Before this if txt_ids was 3d tensor, line with txt_ids[:1] concat txt_ids by batch dim. Now we first check that txt_ids is 2d tensor (or take first batch element) and then concat by token dim
    6a7c2d0a
controlnet_flux.py 22.2 KB