• galbria's avatar
    Bria fibo (#12545) · 84e16575
    galbria authored
    
    
    * Bria FIBO pipeline
    
    * style fixs
    
    * fix CR
    
    * Refactor BriaFibo classes and update pipeline parameters
    
    - Updated BriaFiboAttnProcessor and BriaFiboAttention classes to reflect changes from Flux equivalents.
    - Modified the _unpack_latents method in BriaFiboPipeline to improve clarity.
    - Increased the default max_sequence_length to 3000 and added a new optional parameter do_patching.
    - Cleaned up test_pipeline_bria_fibo.py by removing unused imports and skipping unsupported tests.
    
    * edit the docs of FIBO
    
    * Remove unused BriaFibo imports and update CPU offload method in BriaFiboPipeline
    
    * Refactor FIBO classes to BriaFibo naming convention
    
    - Updated class names from FIBO to BriaFibo for consistency across the module.
    - Modified instances of FIBOEmbedND, FIBOTimesteps, TextProjection, and TimestepProjEmbeddings to reflect the new naming.
    - Ensured all references in the BriaFiboTransformer2DModel are updated accordingly.
    
    * Add BriaFiboTransformer2DModel import to transformers module
    
    * Remove unused BriaFibo imports from modular pipelines and add BriaFiboTransformer2DModel and BriaFiboPipeline classes to dummy objects for enhanced compatibility with torch and transformers.
    
    * Update BriaFibo classes with copied documentation and fix import typo in pipeline module
    
    - Added documentation comments indicating the source of copied code in BriaFiboTransformerBlock and _pack_latents methods.
    - Corrected the import statement for BriaFiboPipeline in the pipelines module.
    
    * Remove unused BriaFibo imports from __init__.py to streamline modular pipelines.
    
    * Refactor documentation comments in BriaFibo classes to indicate inspiration from existing implementations
    
    - Updated comments in BriaFiboAttnProcessor, BriaFiboAttention, and BriaFiboPipeline to reflect that the code is inspired by other modules rather than copied.
    - Enhanced clarity on the origins of the methods to maintain proper attribution.
    
    * change Inspired by to Based on
    
    * add reference link and fix trailing whitespace
    
    * Add BriaFiboTransformer2DModel documentation and update comments in BriaFibo classes
    
    - Introduced a new documentation file for BriaFiboTransformer2DModel.
    - Updated comments in BriaFiboAttnProcessor, BriaFiboAttention, and BriaFiboPipeline to clarify the origins of the code, indicating copied sources for better attribution.
    
    ---------
    Co-authored-by: default avatarsayakpaul <spsayakpaul@gmail.com>
    84e16575
dummy_pt_objects.py 64 KB