- 01 Sep, 2022 1 commit
-
-
Patrick von Platen authored
-
- 31 Aug, 2022 6 commits
-
-
Patrick von Platen authored
* [Refactor] Remove set_seed and class attributes * apply anton's suggestiosn * fix * Apply suggestions from code review Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * up * update * make style * Apply suggestions from code review Co-authored-by:
Anton Lozhkov <anton@huggingface.co> * make fix-copies * make style * make style and new copies Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Anton Lozhkov <anton@huggingface.co>
-
Patrick von Platen authored
-
Patrick von Platen authored
fix line type
-
Nouamane Tazi authored
* format timesteps attrs to np arrays in pndm scheduler because lists don't get formatted to tensors in `self.set_format` * convert to long type to use timesteps as indices for tensors * add scheduler set_format test * fix `_timesteps` type * make style with black 22.3.0 and isort 5.10.1 Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Kirill authored
Fix img2img link
-
Patrick von Platen authored
* [Type hint] Karras VE pipeline * Apply suggestions from code review Co-authored-by:
Anton Lozhkov <anton@huggingface.co> Co-authored-by:
Anton Lozhkov <anton@huggingface.co>
-
- 30 Aug, 2022 4 commits
-
-
Richard Löwenström authored
* Helpful exception if inference steps not set in schedulers (#263) * Apply suggestions from codereview by patrickvonplaten * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
Patrick von Platen authored
* [README] Add readme for SD * fix * fix * up * uP
-
Patrick von Platen authored
* [Examples readme] * Improve * more * save * save * save more * up * up * Apply suggestions from code review Co-authored-by:
Nathan Lambert <nathan@huggingface.co> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * up * make deterministic * up * better * up * add generator to img2img pipe * save * make pipelines deterministic * Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py Co-authored-by:
Anton Lozhkov <anton@huggingface.co> * apply all changes * more correctnios * finish * improve table * more fixes * up * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> * Apply suggestions from code review Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Suraj Patil <surajp815@gmail.com> Co-authored-by:
Anton Lozhkov <anton@huggingface.co> * Update src/diffusers/pipelines/README.md Co-authored-by:
Suraj Patil <surajp815@gmail.com> * add better links * fix more * finish Co-authored-by:
Nathan Lambert <nathan@huggingface.co> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Anton Lozhkov <anton@huggingface.co> Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
hysts authored
* Refactor progress bar of pipeline __call__ * Make any tqdm configs available * remove init * add some tests * remove file * finish * make style * improve progress bar test Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 29 Aug, 2022 2 commits
-
-
Anton Lozhkov authored
* Support K-LMS in img2img * Apply review suggestions
-
nicolas-dufour authored
* Fixed add_noise in LMSDiscreteScheduler * Linting * Update src/diffusers/schedulers/scheduling_lms_discrete.py Co-authored-by:
Anton Lozhkov <aglozhkov@gmail.com> Co-authored-by:
Anton Lozhkov <aglozhkov@gmail.com>
-
- 26 Aug, 2022 1 commit
-
-
Anton Lozhkov authored
* Init CI * clarify cpu * style * Check scripts quality too * Drop smi for cpu tests * Run PR tests on cpu docker envs * Update .github/workflows/push_tests.yml Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Try minimal python container * Print env, install stable GPU torch * Manual torch install * remove deprecated platform.dist() Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 25 Aug, 2022 3 commits
-
-
Pedro Cuenca authored
* Accept latents as input for StableDiffusionPipeline. * Notebook to demonstrate reusable seeds (latents). * More accurate type annotation Co-authored-by:
Suraj Patil <surajp815@gmail.com> * Review comments: move to device, raise instead of assert. * Actually commit the test notebook. I had mistakenly pushed an empty file instead. * Adapt notebook to Colab. * Update examples readme. * Move notebook to personal repo. Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
Anton Lozhkov authored
Pin black==22.3
-
Patrick von Platen authored
* CleanResNet * refactor more * correct
-
- 23 Aug, 2022 1 commit
-
-
Yih-Dar authored
remove dead code in resnet.py Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
- 22 Aug, 2022 7 commits
-
-
anton-l authored
-
anton-l authored
-
Patrick von Platen authored
-
anton-l authored
-
anton-l authored
-
Suraj Patil authored
add add_noise method in more schedulers
-
Pedro Cuenca authored
Restore `is_modelcards_available` in `.utils`. Otherwise attempting to import `hub_utils` (in training scripts, for example), fails. This was removed during the refactor in df90f0ce.
-
- 21 Aug, 2022 1 commit
-
-
Patrick von Platen authored
-
- 19 Aug, 2022 3 commits
-
-
Pedro Cuenca authored
* Implement `pipeline.to(device)` * DiffusionPipeline.to() decides best device on None. * Breaking change: torch_device removed from __call__ `pipeline.to()` now has PyTorch semantics. * Use kwargs and deprecation notice Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Apply torch_device compatibility to all pipelines. * style Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
anton-l <anton@huggingface.co>
-
Suraj Patil authored
-
Suraj Patil authored
* add SafetyChecker * better name, fix checker * add checker in main init * remove from main init * update logic to detect pipeline module * style * handle all safety logic in safety checker * draw text * can't draw * small fixes * treat special care as nsfw * remove commented lines * update safety checker
-
- 18 Aug, 2022 1 commit
-
-
Anton Lozhkov authored
* Support one-string prompts in LDM * Add other features from SD too
-
- 17 Aug, 2022 3 commits
-
-
Anton Lozhkov authored
* Add is_<framework>_available, refactor import utils * deps * quality
-
Anton Lozhkov authored
* Revive Make utils * Add datasets for training too
-
Suraj Patil authored
use default params in __call__
-
- 16 Aug, 2022 7 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
-
anton-l authored
-
Patrick von Platen authored
-
anton-l authored
-
Pedro Cuenca authored
* Allow passing non-default modules to pipeline. Override modules are recognized and replaced in the pipeline. However, no check is performed about mismatched classes yet. This is because the override module is already instantiated and we have no library or class name to compare against. * up * add test Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Anton Lozhkov authored
* test LMS with LDM * test LMS with LDM * Interchangeable sigma and timestep. Added dummy objects * Debug * cuda generator * Fix derivatives * Update tests * Rename Lms->LMS
-