• hlky's avatar
    Support Flux IP Adapter (#10261) · be207099
    hlky authored
    
    
    * Flux IP-Adapter
    
    * test cfg
    
    * make style
    
    * temp remove copied from
    
    * fix test
    
    * fix test
    
    * v2
    
    * fix
    
    * make style
    
    * temp remove copied from
    
    * Apply suggestions from code review
    Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
    
    * Move encoder_hid_proj to inside FluxTransformer2DModel
    
    * merge
    
    * separate encode_prompt, add copied from, image_encoder offload
    
    * make
    
    * fix test
    
    * fix
    
    * Update src/diffusers/pipelines/flux/pipeline_flux.py
    
    * test_flux_prompt_embeds change not needed
    
    * true_cfg -> true_cfg_scale
    
    * fix merge conflict
    
    * test_flux_ip_adapter_inference
    
    * add fast test
    
    * FluxIPAdapterMixin not test mixin
    
    * Update pipeline_flux.py
    Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
    
    ---------
    Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
    be207099
attention_processor.py 252 KB