• Sayak Paul's avatar
    [Refactor] refactor `loaders.py` to make it cleaner and leaner. (#5771) · ded93f79
    Sayak Paul authored
    
    
    * refactor loaders.py to make it cleaner and leaner.
    
    * refactor loaders init
    
    * inits.
    
    * textual inversion to the init.
    
    * inits.
    
    * remove certain modules from the main init.
    
    * AttnProcsLayers
    
    * fix imports
    
    * avoid circular import.
    
    * fix circular import pt 2.
    
    * address PR comments
    
    * imports
    
    * fix: imports.
    
    * remove from main init for avoiding circular deps.
    
    * remove spurious deps.
    
    * fix-copies.
    
    * fix imports.
    
    * more debug
    
    * more debug
    
    * Apply suggestions from code review
    
    * Apply suggestions from code review
    
    ---------
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    ded93f79
utils.py 2.37 KB