1. 23 Mar, 2023 4 commits
    • Naoki Ainoya's avatar
      Rename 'CLIPFeatureExtractor' class to 'CLIPImageProcessor' (#2732) · 14e3a28c
      Naoki Ainoya authored
      The 'CLIPFeatureExtractor' class name has been renamed to 'CLIPImageProcessor' in order to comply with future deprecation. This commit includes the necessary changes to the affected files.
      14e3a28c
    • Mishig's avatar
      [doc wip] literalinclude (#2718) · 8e35ef01
      Mishig authored
      8e35ef01
    • Sayak Paul's avatar
      [Examples] InstructPix2Pix instruct training script (#2478) · 9dc84448
      Sayak Paul authored
      
      
      * add: initial implementation of the pix2pix instruct training script.
      
      * shorten cli arg.
      
      * fix: main process check.
      
      * fix: dataset column names.
      
      * simplify tokenization.
      
      * proper placement of null conditions.
      
      * apply styling.
      
      * remove debugging message for conditioning do.
      
      * complete license.
      
      * add: requirements.tzt
      
      * wandb column name order.
      
      * fix: augmentation.
      
      * change: dataset_id.
      
      * fix: convert_to_np() call.
      
      * fix: reshaping.
      
      * fix: final ema copy.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * address PR comments.
      
      * add: readme details.
      
      * config fix.
      
      * downgrade version.
      
      * reduce image width in the readme.
      
      * note on hyperparameters during generation.
      
      * add: output images.
      
      * update readme.
      
      * minor edits to readme.
      
      * debugging statement.
      
      * explicitly placement of the pipeline.
      
      * bump minimum diffusers version.
      
      * fix: device attribute error.
      
      * weight dtype.
      
      * debugging.
      
      * add dtype inform.
      
      * add seoarate te and vae.
      
      * add: explicit casting/
      
      * remove casting.
      
      * up.
      
      * up 2.
      
      * up 3.
      
      * autocast.
      
      * disable mixed-precision in the final inference.
      
      * debugging information.
      
      * autocasting.
      
      * add: instructpix2pix training section to the docs.
      
      * Empty-Commit
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      9dc84448
    • Haofan Wang's avatar
      Support for Offset Noise in examples (#2753) · e0d8c9ef
      Haofan Wang authored
      * add noise offset
      
      * make style
      e0d8c9ef
  2. 22 Mar, 2023 1 commit
    • Patrick von Platen's avatar
      [MS Text To Video] Add first text to video (#2738) · ca1a2229
      Patrick von Platen authored
      
      
      * [MS Text To Video} Add first text to video
      
      * upload
      
      * make first model example
      
      * match unet3d params
      
      * make sure weights are correcctly converted
      
      * improve
      
      * forward pass works, but diff result
      
      * make forward work
      
      * fix more
      
      * finish
      
      * refactor video output class.
      
      * feat: add support for a video export utility.
      
      * fix: opencv availability check.
      
      * run make fix-copies.
      
      * add: docs for the model components.
      
      * add: standalone pipeline doc.
      
      * edit docstring of the pipeline.
      
      * add: right path to TransformerTempModel
      
      * add: first set of tests.
      
      * complete fast tests for text to video.
      
      * fix bug
      
      * up
      
      * three fast tests failing.
      
      * add: note on slow tests
      
      * make work with all schedulers
      
      * apply styling.
      
      * add slow tests
      
      * change file name
      
      * update
      
      * more correction
      
      * more fixes
      
      * finish
      
      * up
      
      * Apply suggestions from code review
      
      * up
      
      * finish
      
      * make copies
      
      * fix pipeline tests
      
      * fix more tests
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * apply suggestions
      
      * up
      
      * revert
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      ca1a2229
  3. 21 Mar, 2023 2 commits
  4. 17 Mar, 2023 1 commit
  5. 16 Mar, 2023 1 commit
  6. 15 Mar, 2023 2 commits
  7. 14 Mar, 2023 2 commits
  8. 10 Mar, 2023 1 commit
  9. 08 Mar, 2023 2 commits
  10. 07 Mar, 2023 4 commits
    • Michael Gartsbein's avatar
    • zxypro's avatar
      f0b661b8
    • Isamu Isozaki's avatar
      Added multitoken training for textual inversion. Issue 369 (#661) · 8552fd7e
      Isamu Isozaki authored
      * Added multitoken training for textual inversion
      
      * Updated assertion
      
      * Removed duplicate save code
      
      * Fixed undefined bug
      
      * Fixed save
      
      * Added multitoken clip model +util helper
      
      * Removed code splitting
      
      * Removed class
      
      * Fixed errors
      
      * Fixed errors
      
      * Added loading functionality
      
      * Loading via dict instead
      
      * Fixed bug of invalid index being loaded
      
      * Fixed adding placeholder token only adding 1 token
      
      * Fixed bug when initializing tokens
      
      * Fixed bug when initializing tokens
      
      * Removed flawed logic
      
      * Fixed vector shuffle
      
      * Fixed tokenizer's inconsistent __call__ method
      
      * Fixed tokenizer's inconsistent __call__ method
      
      * Handling list input
      
      * Added exception for adding invalid tokens to token map
      
      * Removed unnecessary files and started working on progressive tokens
      
      * Set at minimum load one token
      
      * Changed to global step
      
      * Added method to load automatic1111 tokens
      
      * Fixed bug in load
      
      * Quality+style fixes
      
      * Update quality/style fixes
      
      * Cast embeddings to fp16 when loading
      
      * Fixed quality
      
      * Started moving things over
      
      * Clearing diffs
      
      * Clearing diffs
      
      * Moved everything
      
      * Requested changes
      8552fd7e
    • Pedro Cuenca's avatar
      Support revision in Flax text-to-image training (#2567) · d3ce6f4b
      Pedro Cuenca authored
      Support revision in Flax text-to-image training.
      d3ce6f4b
  11. 06 Mar, 2023 6 commits
  12. 03 Mar, 2023 3 commits
  13. 02 Mar, 2023 1 commit
  14. 01 Mar, 2023 1 commit
  15. 24 Feb, 2023 1 commit
  16. 23 Feb, 2023 1 commit
  17. 17 Feb, 2023 5 commits
  18. 16 Feb, 2023 2 commits