1. 09 Jan, 2024 1 commit
    • jiqing-feng's avatar
      enable stable-xl textual inversion (#6421) · aa1797e1
      jiqing-feng authored
      
      
      * enable stable-xl textual inversion
      
      * check if optimizer_2 exists
      
      * check text_encoder_2 before using
      
      * add textual inversion for sdxl in a single file
      
      * fix style
      
      * fix example style
      
      * reset for error changes
      
      * add readme for sdxl
      
      * fix style
      
      * disable autocast as it will cause cast error when weight_dtype=bf16
      
      * fix spelling error
      
      * fix style and readme and 8bit optimizer
      
      * add README_sdxl.md link
      
      * add tracker key on log_validation
      
      * run style
      
      * rm the second center crop
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      aa1797e1