Patrick von Platen
a7ca03aa85
Replace flake8 with ruff and update black ( #2279 )
...
* before running make style
* remove left overs from flake8
* finish
* make fix-copies
* final fix
* more fixes
2023-02-07 23:46:23 +01:00
Patrick von Platen
6ba2231d72
Reproducibility 3/3 ( #1924 )
...
* make tests deterministic
* run slow tests
* prepare for testing
* finish
* refactor
* add print statements
* finish more
* correct some test failures
* more fixes
* set up to correct tests
* more corrections
* up
* fix more
* more prints
* add
* up
* up
* up
* uP
* uP
* more fixes
* uP
* up
* up
* up
* up
* fix more
* up
* up
* clean tests
* up
* up
* up
* more fixes
* Apply suggestions from code review
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* make
* correct
* finish
* finish
Co-authored-by: Suraj Patil <surajp815@gmail.com>
2023-01-25 13:44:22 +01:00
Anton Lozhkov
02d83c9ff1
Standardize fast pipeline tests with PipelineTestMixin ( #1526 )
...
* [WIP] Standardize fast pipeline tests with PipelineTestMixin
* refactor the sd tests a bit
* add more common tests
* add xformers
* add progressbar test
* cleanup
* upd fp16
* CycleDiffusionPipelineFastTests
* DanceDiffusionPipelineFastTests
* AltDiffusionPipelineFastTests
* StableDiffusion2PipelineFastTests
* StableDiffusion2InpaintPipelineFastTests
* StableDiffusionImageVariationPipelineFastTests
* StableDiffusionImg2ImgPipelineFastTests
* StableDiffusionInpaintPipelineFastTests
* remove unused mixins
* quality
* add missing inits
* try to fix mps tests
* fix mps tests
* add mps warmups
* skip for some pipelines
* style
* Update tests/test_pipelines_common.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2022-12-06 18:35:30 +01:00
Patrick von Platen
05a36d5c1a
Upscaling fixed ( #1402 )
...
* Upscaling fixed
* up
* more fixes
* fix
* more fixes
* finish again
* up
2022-11-24 20:33:52 +01:00
Patrick von Platen
e0e86b7470
Make height and width optional ( #1401 )
...
* fix
* add test
* fix test
* uP
* up
* fix some tests
2022-11-24 18:23:59 +01:00
Manuel Brack
e50c25d808
Add Safe Stable Diffusion Pipeline ( #1244 )
...
* Add pipeline_stable_diffusion_safe.py to pipelines
* Fix repository consistency
Ran make fix-copies after adding new pipline
* Add Paper/Equation reference for parameters to doc string
* Ensure code style and quality
* Perform code refactoring
* Fix copies inherited from merge with huggingface/main
* Add docs
* Fix code style
* Fix errors in documentation
* Fix refactoring error
* remove debugging print statement
* added Safe Latent Diffusion tests
* Fix style
* Fix style
* Add pre-defined safety configurations
* Fix line-break
* fix some tests
* finish
* Change safety checker
* Add missing safety_checker.py file
* Remove unused imports
Co-authored-by: PatrickSchrML <patrick_schramowski@hotmail.de>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2022-11-22 11:51:30 +01:00