Quentin Gallouédec
c8bb1ff53e
Use HF Papers ( #11567 )
...
* Use HF Papers
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-19 06:22:33 -10:00
Kashif Rasul
6b04d61cf6
[Styling] stylify using ruff ( #5841 )
...
* ruff format
* not need to use doc-builder's black styling as the doc is styled in ruff
* make fix-copies
* comment
* use run_ruff
2023-11-20 11:48:34 +01:00
Patrick von Platen
bdd16116f3
[Schedulers] Fix callback steps ( #5261 )
...
* fix all
* make fix copies
* make fix copies
2023-10-02 19:52:53 +02:00
Anh71me
28254c79b6
Fix type annotation ( #5146 )
...
* Fix type annotation on Scheduler.from_pretrained
* Fix type annotation on PIL.Image
2023-09-25 19:26:39 +02:00
Patrick von Platen
8b451eb63b
Fix config prints and save, load of pipelines ( #2849 )
...
* [Config] Fix config prints and save, load
* Only use potential nn.Modules for dtype and device
* Correct vae image processor
* make sure in_channels is not accessed directly
* make sure in channels is only accessed via config
* Make sure schedulers only access config attributes
* Make sure to access config in SAG
* Fix vae processor and make style
* add tests
* uP
* make style
* Fix more naming issues
* Final fix with vae config
* change more
2023-04-11 13:35:42 +02:00
Aki Sakurai
0f14335af3
StableDiffusionLongPromptWeightingPipeline: Do not hardcode pad token ( #2832 )
2023-03-28 16:00:56 +01:00
Pedro Cuenca
1d7b4b60b7
Ruff: apply same rules as in transformers ( #2827 )
...
* Apply same ruff settings as in transformers
See https://github.com/huggingface/transformers/blob/main/pyproject.toml
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
* Apply new style rules
* Style
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
* style
* remove list, ruff wouldn't auto fix.
---------
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
2023-03-27 16:18:57 +02:00
Naoki Ainoya
14e3a28c12
Rename 'CLIPFeatureExtractor' class to 'CLIPImageProcessor' ( #2732 )
...
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.
2023-03-23 13:49:22 +01:00
Patrick von Platen
3231712b7d
Post release 0.14
2023-02-17 23:57:46 +02:00
Patrick von Platen
91925fbb76
Fix callback type hints - no optional function argument ( #2357 )
...
replace type hints
2023-02-14 14:35:05 -08:00
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
09779cbb40
[Bump version] 0.13.0dev0 & Deprecate predict_epsilon ( #2109 )
...
* [Bump version] 0.13
* Bump model up
* up
2023-01-25 17:59:02 +01:00
Patrick von Platen
29b2c93c90
Make repo structure consistent ( #1862 )
...
* move files a bit
* more refactors
* fix more
* more fixes
* fix more onnx
* make style
* upload
* fix
* up
* fix more
* up again
* up
* small fix
* Update src/diffusers/__init__.py
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* correct
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-12-30 11:51:08 +01:00
Anton Lozhkov
8331da4683
Bump to 0.12.0.dev0 ( #1771 )
2022-12-19 18:44:08 +01:00
SkyTNT
f242eba4fd
Fix lpw stable diffusion pipeline compatibility ( #1622 )
2022-12-09 08:30:26 +01:00
SkyTNT
4eb9ad0d1c
[Community Pipeline] fix lpw_stable_diffusion ( #1570 )
...
* fix lpw_stable_diffusion
* rollback preprocess_mask resample
2022-12-07 11:20:01 +01:00
fboulnois
52eb0348e5
Standardize on using image argument in all pipelines ( #1361 )
...
* feat: switch core pipelines to use image arg
* test: update tests for core pipelines
* feat: switch examples to use image arg
* docs: update docs to use image arg
* style: format code using black and doc-builder
* fix: deprecate use of init_image in all pipelines
2022-12-01 16:55:22 +01:00
Patrick von Platen
245e9cc7ff
fix make style
2022-11-17 15:03:31 +01:00
Pedro Cuenca
1138d63b51
Temporary local test for PIL_INTERPOLATION ( #1317 )
...
* Temporary local test for PIL_INTERPOLATION
* Fix examples too.
2022-11-16 18:42:21 +01:00
Patrick von Platen
65d136e067
Add improved handling of pil ( #1309 )
...
* Better error message for transformers dummy
* [PIL] Better deprecation functionality
* up
2022-11-16 15:58:22 +01:00
SkyTNT
a480229463
[Community Pipeline] lpw_stable_diffusion: add xformers_memory_efficient_attention and sequential_cpu_offload ( #1130 )
...
lpw_stable_diffusion: xformers and cpu_offload
2022-11-04 18:38:37 +01:00
rafael
bdbcaa9852
lpw_stable_diffusion: Add is_cancelled_callback ( #1053 )
...
* [Community Pipelines] lpw_stable_diffusion: Add is_cancelled_callback
* [Community pipelines] lpw_stable_diffusion_onnx: Add is_cancelled_callback
2022-11-02 11:51:18 +01:00
Yuta Hayashibe
cc436087d3
Fix typos ( #978 )
2022-10-26 15:32:47 +02:00
SkyTNT
ba74a8be7a
[Community Pipelines] Fix pad_tokens_and_weights in lpw_stable_diffusion ( #925 )
...
[Community Pipelines] fix pad_tokens_and_weights in lpw_stable_diffusion
2022-10-20 19:26:04 +02:00
SkyTNT
2a0c823527
[Community Pipelines] Long Prompt Weighting Stable Diffusion Pipelines ( #907 )
...
* [Community Pipelines] Long Prompt Weighting
* Update README.md
* fix
* style
* fix style
* Update examples/community/README.md
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-10-19 22:30:46 +02:00