"vscode:/vscode.git/clone" did not exist on "ed89da92b48a33df80b4e472898acad4cb45d28e"
  1. 23 Nov, 2022 2 commits
  2. 22 Nov, 2022 3 commits
  3. 21 Nov, 2022 1 commit
  4. 20 Nov, 2022 2 commits
    • Patrick von Platen's avatar
      make style · ab1f01e6
      Patrick von Platen authored
      ab1f01e6
    • Victor Schmidt's avatar
      Handle batches and Tensors in... · 3bec90ff
      Victor Schmidt authored
      
      Handle batches and Tensors in `pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image` (#1003)
      
      * Handle batches and Tensors in `prepare_mask_and_masked_image`
      
      * `blackfy`
      upgrade `black`
      
      * handle mask as `np.array`
      
      * add docstring
      
      * revert `black` changes with smaller line length
      
      * missing ValueError in docstring
      
      * raise `TypeError` for image as tensor but not mask
      
      * typo in mask shape selection
      
      * check for batch dim
      
      * fix: wrong indentation
      
      * add tests
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3bec90ff
  5. 19 Nov, 2022 1 commit
  6. 18 Nov, 2022 6 commits
  7. 17 Nov, 2022 8 commits
  8. 16 Nov, 2022 6 commits
  9. 15 Nov, 2022 3 commits
  10. 14 Nov, 2022 4 commits
    • Joshua Lochner's avatar
      Fix documentation typo for `UNet2DModel` and `UNet2DConditionModel` (#1275) · 57525bb4
      Joshua Lochner authored
      * Fix documentation typo
      
      * Fix other typo
      57525bb4
    • Nathan Lambert's avatar
      Add UNet 1d for RL model for planning + colab (#105) · 7c5fef81
      Nathan Lambert authored
      
      
      * re-add RL model code
      
      * match model forward api
      
      * add register_to_config, pass training tests
      
      * fix tests, update forward outputs
      
      * remove unused code, some comments
      
      * add to docs
      
      * remove extra embedding code
      
      * unify time embedding
      
      * remove conv1d output sequential
      
      * remove sequential from conv1dblock
      
      * style and deleting duplicated code
      
      * clean files
      
      * remove unused variables
      
      * clean variables
      
      * add 1d resnet block structure for downsample
      
      * rename as unet1d
      
      * fix renaming
      
      * rename files
      
      * add get_block(...) api
      
      * unify args for model1d like model2d
      
      * minor cleaning
      
      * fix docs
      
      * improve 1d resnet blocks
      
      * fix tests, remove permuts
      
      * fix style
      
      * add output activation
      
      * rename flax blocks file
      
      * Add Value Function and corresponding example script to Diffuser implementation (#884)
      
      * valuefunction code
      
      * start example scripts
      
      * missing imports
      
      * bug fixes and placeholder example script
      
      * add value function scheduler
      
      * load value function from hub and get best actions in example
      
      * very close to working example
      
      * larger batch size for planning
      
      * more tests
      
      * merge unet1d changes
      
      * wandb for debugging, use newer models
      
      * success!
      
      * turns out we just need more diffusion steps
      
      * run on modal
      
      * merge and code cleanup
      
      * use same api for rl model
      
      * fix variance type
      
      * wrong normalization function
      
      * add tests
      
      * style
      
      * style and quality
      
      * edits based on comments
      
      * style and quality
      
      * remove unused var
      
      * hack unet1d into a value function
      
      * add pipeline
      
      * fix arg order
      
      * add pipeline to core library
      
      * community pipeline
      
      * fix couple shape bugs
      
      * style
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNathan Lambert <nathan@huggingface.co>
      
      * update post merge of scripts
      
      * add mdiblock / outblock architecture
      
      * Pipeline cleanup (#947)
      
      * valuefunction code
      
      * start example scripts
      
      * missing imports
      
      * bug fixes and placeholder example script
      
      * add value function scheduler
      
      * load value function from hub and get best actions in example
      
      * very close to working example
      
      * larger batch size for planning
      
      * more tests
      
      * merge unet1d changes
      
      * wandb for debugging, use newer models
      
      * success!
      
      * turns out we just need more diffusion steps
      
      * run on modal
      
      * merge and code cleanup
      
      * use same api for rl model
      
      * fix variance type
      
      * wrong normalization function
      
      * add tests
      
      * style
      
      * style and quality
      
      * edits based on comments
      
      * style and quality
      
      * remove unused var
      
      * hack unet1d into a value function
      
      * add pipeline
      
      * fix arg order
      
      * add pipeline to core library
      
      * community pipeline
      
      * fix couple shape bugs
      
      * style
      
      * Apply suggestions from code review
      
      * clean up comments
      
      * convert older script to using pipeline and add readme
      
      * rename scripts
      
      * style, update tests
      
      * delete unet rl model file
      
      * remove imports in src
      Co-authored-by: default avatarNathan Lambert <nathan@huggingface.co>
      
      * Update src/diffusers/models/unet_1d_blocks.py
      
      * Update tests/test_models_unet.py
      
      * RL Cleanup v2 (#965)
      
      * valuefunction code
      
      * start example scripts
      
      * missing imports
      
      * bug fixes and placeholder example script
      
      * add value function scheduler
      
      * load value function from hub and get best actions in example
      
      * very close to working example
      
      * larger batch size for planning
      
      * more tests
      
      * merge unet1d changes
      
      * wandb for debugging, use newer models
      
      * success!
      
      * turns out we just need more diffusion steps
      
      * run on modal
      
      * merge and code cleanup
      
      * use same api for rl model
      
      * fix variance type
      
      * wrong normalization function
      
      * add tests
      
      * style
      
      * style and quality
      
      * edits based on comments
      
      * style and quality
      
      * remove unused var
      
      * hack unet1d into a value function
      
      * add pipeline
      
      * fix arg order
      
      * add pipeline to core library
      
      * community pipeline
      
      * fix couple shape bugs
      
      * style
      
      * Apply suggestions from code review
      
      * clean up comments
      
      * convert older script to using pipeline and add readme
      
      * rename scripts
      
      * style, update tests
      
      * delete unet rl model file
      
      * remove imports in src
      
      * add specific vf block and update tests
      
      * style
      
      * Update tests/test_models_unet.py
      Co-authored-by: default avatarNathan Lambert <nathan@huggingface.co>
      
      * fix quality in tests
      
      * fix quality style, split test file
      
      * fix checks / tests
      
      * make timesteps closer to main
      
      * unify block API
      
      * unify forward api
      
      * delete lines in examples
      
      * style
      
      * examples style
      
      * all tests pass
      
      * make style
      
      * make dance_diff test pass
      
      * Refactoring RL PR (#1200)
      
      * init file changes
      
      * add import utils
      
      * finish cleaning files, imports
      
      * remove import flags
      
      * clean examples
      
      * fix imports, tests for merge
      
      * update readmes
      
      * hotfix for tests
      
      * quality
      
      * fix some tests
      
      * change defaults
      
      * more mps test fixes
      
      * unet1d defaults
      
      * do not default import experimental
      
      * defaults for tests
      
      * fix tests
      
      * fix-copies
      
      * fix
      
      * changes per Patrik's comments (#1285)
      
      * changes per Patrik's comments
      
      * update conversion script
      
      * fix renaming
      
      * skip more mps tests
      
      * last test fix
      
      * Update examples/rl/README.md
      Co-authored-by: default avatarBen Glickenhaus <benglickenhaus@gmail.com>
      7c5fef81
    • Suraj Patil's avatar
      [StableDiffusionInpaintPipeline] fix batch_size for mask and masked latents (#1279) · a8d09777
      Suraj Patil authored
      fix bs for mask and masked latents
      a8d09777
    • Lime-Cakes's avatar
      Edited attention.py for older xformers (#1270) · 33d7e89c
      Lime-Cakes authored
      Older versions of xformers require query, key, value to be contiguous, this calls .contiguous() on q/k/v before passing to xformers.
      33d7e89c
  11. 13 Nov, 2022 2 commits
  12. 10 Nov, 2022 1 commit
  13. 09 Nov, 2022 1 commit
    • Anton Lozhkov's avatar
      [Tests] Fix mps+generator fast tests (#1230) · 0feb21a1
      Anton Lozhkov authored
      * [Tests] Fix mps+generator fast tests
      
      * mps for Euler
      
      * retry
      
      * warmup issue again?
      
      * fix reproducible initial noise
      
      * Revert "fix reproducible initial noise"
      
      This reverts commit f300d05cb9782ed320064a0c58577a32d4139e6d.
      
      * fix reproducible initial noise
      
      * fix device
      0feb21a1