"csrc/git@developer.sourcefind.cn:OpenDAS/torch-sparce.git" did not exist on "8cc819d5a2b855ab90c35d5c7ffd5b05a6e5a2d9"
  1. 14 Nov, 2022 1 commit
  2. 09 Nov, 2022 2 commits
  3. 08 Nov, 2022 1 commit
  4. 03 Nov, 2022 1 commit
    • Will Berman's avatar
      VQ-diffusion (#658) · ef2ea33c
      Will Berman authored
      
      
      * Changes for VQ-diffusion VQVAE
      
      Add specify dimension of embeddings to VQModel:
      `VQModel` will by default set the dimension of embeddings to the number
      of latent channels. The VQ-diffusion VQVAE has a smaller
      embedding dimension, 128, than number of latent channels, 256.
      
      Add AttnDownEncoderBlock2D and AttnUpDecoderBlock2D to the up and down
      unet block helpers. VQ-diffusion's VQVAE uses those two block types.
      
      * Changes for VQ-diffusion transformer
      
      Modify attention.py so SpatialTransformer can be used for
      VQ-diffusion's transformer.
      
      SpatialTransformer:
      - Can now operate over discrete inputs (classes of vector embeddings) as well as continuous.
      - `in_channels` was made optional in the constructor so two locations where it was passed as a positional arg were moved to kwargs
      - modified forward pass to take optional timestep embeddings
      
      ImagePositionalEmbeddings:
      - added to provide positional embeddings to discrete inputs for latent pixels
      
      BasicTransformerBlock:
      - norm layers were made configurable so that the VQ-diffusion could use AdaLayerNorm with timestep embeddings
      - modified forward pass to take optional timestep embeddings
      
      CrossAttention:
      - now may optionally take a bias parameter for its query, key, and value linear layers
      
      FeedForward:
      - Internal layers are now configurable
      
      ApproximateGELU:
      - Activation function in VQ-diffusion's feedforward layer
      
      AdaLayerNorm:
      - Norm layer modified to incorporate timestep embeddings
      
      * Add VQ-diffusion scheduler
      
      * Add VQ-diffusion pipeline
      
      * Add VQ-diffusion convert script to diffusers
      
      * Add VQ-diffusion dummy objects
      
      * Add VQ-diffusion markdown docs
      
      * Add VQ-diffusion tests
      
      * some renaming
      
      * some fixes
      
      * more renaming
      
      * correct
      
      * fix typo
      
      * correct weights
      
      * finalize
      
      * fix tests
      
      * Apply suggestions from code review
      Co-authored-by: default avatarAnton Lozhkov <aglozhkov@gmail.com>
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * finish
      
      * finish
      
      * up
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarAnton Lozhkov <aglozhkov@gmail.com>
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      ef2ea33c
  5. 26 Oct, 2022 1 commit
  6. 25 Oct, 2022 2 commits
  7. 19 Oct, 2022 2 commits
  8. 18 Oct, 2022 1 commit
  9. 07 Oct, 2022 1 commit
  10. 05 Oct, 2022 2 commits
  11. 04 Oct, 2022 1 commit
  12. 21 Sep, 2022 1 commit
  13. 16 Sep, 2022 1 commit
  14. 15 Sep, 2022 1 commit
    • Suraj Patil's avatar
      Stable diffusion text2img conversion script. (#154) · 039958ea
      Suraj Patil authored
      
      
      * begin text2img conversion script
      
      * add fn to convert config
      
      * create config if not provided
      
      * update imports and use UNet2DConditionModel
      
      * fix imports, layer names
      
      * fix unet coversion
      
      * add function to convert VAE
      
      * fix vae conversion
      
      * update main
      
      * create text model
      
      * update config creating logic for unet
      
      * fix config creation
      
      * update script to create and save pipeline
      
      * remove unused imports
      
      * fix checkpoint loading
      
      * better name
      
      * save progress
      
      * finish
      
      * up
      
      * up
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      039958ea
  15. 08 Sep, 2022 1 commit
  16. 05 Sep, 2022 1 commit
  17. 25 Aug, 2022 1 commit
  18. 28 Jul, 2022 1 commit
  19. 21 Jul, 2022 1 commit
  20. 20 Jul, 2022 2 commits
  21. 19 Jul, 2022 6 commits
  22. 18 Jul, 2022 1 commit
  23. 15 Jul, 2022 2 commits
  24. 13 Jul, 2022 1 commit
  25. 01 Jul, 2022 2 commits
  26. 22 Jun, 2022 1 commit
  27. 21 Jun, 2022 1 commit