• Chanchana Sornsoontorn's avatar
    Fix typo and format BasicTransformerBlock attributes (#2953) · 52c4d32d
    Chanchana Sornsoontorn authored
    * ️chore(train_controlnet) fix typo in logger message
    
    * ️chore(models) refactor modules order; make them the same as calling order
    
    When printing the BasicTransformerBlock to stdout, I think it's crucial that the attributes order are shown in proper order. And also previously the "3. Feed Forward" comment was not making sense. It should have been close to self.ff but it's instead next to self.norm3
    
    * correct many tests
    
    * remove bogus file
    
    * make style
    
    * correct more tests
    
    * finish tests
    
    * fix one more
    
    * make style
    
    * make unclip deterministic
    
    * 
    
    ️chore(models/attention) reorganize comments in BasicTransformerBlock class
    
    ---------
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    52c4d32d
attention.py 20 KB