diffusers
be207099 - Support Flux IP Adapter (#10261)

Commit
242 days ago
Support Flux IP Adapter (#10261) * 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: YiYi 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: YiYi Xu <yixu310@gmail.com> --------- Co-authored-by: YiYi Xu <yixu310@gmail.com>
Author
Parents
  • scripts
    • File
      convert_flux_xlabs_ipadapter_to_diffusers.py
  • src/diffusers
    • loaders
      • File
        __init__.py
      • File
        ip_adapter.py
      • File
        transformer_flux.py
    • models
      • File
        attention_processor.py
      • File
        embeddings.py
      • transformers
        • File
          transformer_flux.py
    • pipelines/flux
      • File
        pipeline_flux.py
      • File
        pipeline_flux_control.py
  • tests
    • models/transformers
      • File
        test_models_transformer_flux.py
    • pipelines
      • flux
        • File
          test_pipeline_flux.py
      • File
        test_pipelines_common.py