Sayak Paul
0c7d56d6f4
[ci] fix misnamed test steps in push_tests.yml ( #15094 )
...
* [ci] fix misnamed test steps in push_tests.yml
* remove xformers.
2026-10-21 19:25:00 +05:30
Sayak Paul
a5eb4c1364
Fix PyArrow compatibility in CPU CI ( #15082 )
2026-10-20 19:24:14 +05:30
Sayak Paul
efe46a5b17
ci: move to python 3.11. ( #15030 )
...
* move to python 3.11.
* update setup.py along with others.
* fix(ci): pin GitHub Actions to commit SHAs (#15030 ) (#15033 )
fix(ci): pin actions in workflows flagged on #15030
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>
* up
* fix(ci): pin GitHub Actions to commit SHAs (#15030 ) (#15036 )
fix(ci): pin actions in workflows flagged on #15030
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>
* up
---------
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>
2026-10-14 20:11:45 +05:30
Sayak Paul
4ac08e9408
[diffusers-cli] add a dockerfile for diffusers cli hf jobs ( #14550 )
...
* add a dockerfile for diffusers cli hf jobs
* up
* up
* use diffusers from pypi
* fix(ci): harden GitHub Actions workflows (#14550 ) (#14851 )
fix(ci): harden workflow files flagged on #14550
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>
* Apply batched suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* lower bound for tokenizers.
---------
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2026-09-29 16:50:36 +05:30
Sayak Paul
ecfbf7662c
[tests] AOT compilation failure fixes ( #14553 )
...
compilation failure fixes
2026-08-22 13:13:03 +05:30
Sayak Paul
d5baa4fb54
tests: fix cuda model tests. ( #14464 )
...
* tests: fix cuda model tests.
* up
* up
* up
* add to docstrings.
* restore previous beehaviour.
---------
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com >
2026-08-15 16:56:06 +02:00
Sayak Paul
c4123258d2
diffusers test installation package ( #14078 )
2026-07-03 08:04:28 +05:30
Sayak Paul
537b7fc57b
Pin torchvision, torch, and torchaudio versions ( #13757 )
...
up
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2026-05-29 07:33:51 +05:30
Sayak Paul
2375f70f67
[core] minimum torch version is 2.6 ( #13725 )
...
minimum torch version is 2.6
2026-05-15 15:12:07 +09:00
Sayak Paul
314cfddf3a
[ci] uniform run times and wheels for pytorch cuda. ( #13047 )
...
* uniform run times and wheels for pytorch cuda.
* 12.9
* change to 24.04.
* change to 24.04.
2026-01-29 19:22:30 +05:30
Sayak Paul
2c669e8480
change to CUDA 12.9. ( #13045 )
...
* change to CUDA 12.9.
* up
* change runtime base
* FROM
2026-01-28 17:22:27 +05:30
Sayak Paul
bff672f47f
fix Dockerfiles for cuda and xformers. ( #13022 )
2026-01-23 16:45:14 +05:30
vb
57636ad4f4
purge HF_HUB_ENABLE_HF_TRANSFER; promote Xet ( #12497 )
...
* purge HF_HUB_ENABLE_HF_TRANSFER; promote Xet
* purge HF_HUB_ENABLE_HF_TRANSFER; promote Xet x2
* restrict docker build test to the ones we actually use in CI.
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-10-22 00:59:20 +05:30
Sayak Paul
a9df12ab45
Update Dockerfile to include zip wget for doc-builder ( #12451 )
2025-10-09 15:25:03 +05:30
Sayak Paul
a519272d97
[ci] revisit the installations in CI. ( #12450 )
...
* revisit the installations in CI.
* up
* up
* up
* empty
* up
* up
* up
2025-10-08 19:21:24 +05:30
Sayak Paul
35e538d46a
fix dockerfile definitions. ( #12424 )
...
* fix dockerfile definitions.
* python 3.10 slim.
* up
* up
* up
* up
* up
* revert pr_tests.yml changes
* up
* up
* reduce python version for torch 2.1.0
2025-10-08 09:46:18 +05:30
Sayak Paul
532f41c999
Deprecate Flax support ( #12151 )
...
* start removing flax stuff.
* add deprecation warning.
* add warning messages.
* more warnings.
* remove dockerfiles.
* remove more.
* Update src/diffusers/models/attention_flax.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* up
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-08-26 09:58:16 +02:00
Sayak Paul
be23f7df00
[Docker] update doc builder dockerfile to include quant libs. ( #11728 )
...
update doc builder dockerfile to include quant libs.
2025-07-09 12:27:22 +05:30
Sayak Paul
4af76d0d7d
[tests] Changes to the torch.compile() CI and tests ( #11508 )
...
* remove compile cuda docker.
* replace compile cuda docker path.
* better manage compilation cache.
* propagate similar to the pipeline tests.
* remove unneeded compile test.
* small.
* don't check for deleted files.
2025-05-26 08:31:04 -07:00
Sayak Paul
3252d7ad11
unpin torch versions for onnx Dockerfile ( #11290 )
...
unpin torch versions for onnx
2025-04-16 08:16:38 +05:30
Dhruv Nair
854a04659c
[CI] Add minimal testing for legacy Torch versions ( #10479 )
...
* update
* update
2025-01-07 18:51:41 +05:30
Dhruv Nair
ea40933f36
[CI] Unpin torch<2.5 in CI ( #9961 )
...
* update
* update
2024-11-19 18:50:46 +05:30
Sayak Paul
2a1d2f6218
[Docker] pin torch versions in the dockerfiles. ( #9721 )
...
* pin torch versions in the dockerfiles.
* more
2024-10-20 10:44:09 +05:30
Sayak Paul
28f9d84549
[CI] allow faster downloads from the Hub in CI. ( #9478 )
...
* allow faster downloads from the Hub in CI.
* HF_HUB_ENABLE_HF_TRANSFER: 1
* empty
* empty
* remove ENV HF_HUB_ENABLE_HF_TRANSFER=1.
* empty
2024-09-24 09:42:11 +05:30
Dhruv Nair
5fbb4d32d5
[CI] Slow Test Updates ( #8870 )
...
* update
* update
* update
2024-07-25 16:00:43 +05:30
Sayak Paul
3b37fefee9
[Docker] include python3.10 dev and solve header missing problem ( #8865 )
...
include python3.10 dev and solve header missing problem
2024-07-16 16:02:39 +05:30
Sayak Paul
7db8c3ec40
Benchmarking workflow fix ( #8389 )
...
* fix
* fixes
* add back the deadsnakes
* better messaging
* disable IP adapter tests for the moment.
* style
* up
* empty
2024-06-29 09:06:32 +05:30
Dhruv Nair
c4a4750cb3
Temporarily pin Numpy in the CI ( #8603 )
...
temp pin numpy
2024-06-17 19:32:38 +05:30
Sayak Paul
fe5f035f79
install wget. ( #8285 )
2024-05-27 18:06:07 +05:30
Dhruv Nair
b82f9f5666
Add zip package to doc builder image ( #8284 )
...
update
2024-05-27 15:50:00 +05:30
Dhruv Nair
5cd45c24bf
Create custom container for doc builder ( #8263 )
...
* update
* update
2024-05-24 12:53:48 +05:30
Sayak Paul
6695635696
upgrade to python 3.10 in the Dockerfiles ( #7893 )
...
* upgrade to python 3.10
* fix
* try https://askubuntu.com/questions/1459694/can-not-find-python3-10-after-apt-get-installation
* fix
* up
* yes
* okay
* up
* up
* up
* up
* up
* check
* okay
* up
* i[
* fix
2024-05-10 14:29:08 +02:00
Sayak Paul
c827e94da0
[Workflows] remove installation of libsndfile1-dev and libgl1 from workflows ( #7543 )
...
* remove libsndfile1-dev and libgl1 from workflows and ensure that re present in the respective dockerfiles.
* change to self-hosted runner; let's see 🤞
* add libsndfile1-dev libgl1 for now
* use self-hosted runners for building and push too.
2024-04-10 08:34:56 +05:30
Sayak Paul
5dd8e04d4b
[Dockerfiles] add: a workflow to check if docker containers can be built in case of modifications ( #7129 )
...
* add: a workflow to check if docker containers can be built if the files are modified.
* type
* unify docker image build test and push
* make it run on prs too.
* check
* check
* check
* check again.
* remove docker test build file.
* remove extra dependencies./
* check
2024-03-11 08:54:00 +05:30
Dhruv Nair
869bad3e52
FIx torch and cuda version in ONNX tests ( #7164 )
...
update
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-03-04 15:46:39 +05:30
Sayak Paul
9451235e5a
[Urgent][Docker CI] pin uv version for now and a minor change in the Slack notification ( #7155 )
...
pin uv version for now.
2024-03-01 10:11:07 +05:30
Sayak Paul
3e3d46924b
[Dockerfile] remove uv from docker jax tpu ( #7115 )
...
remove uv from docker jax tpu
2024-02-27 16:25:50 +05:30
Sayak Paul
04bafcbbc2
move to uv in the Dockerfiles. ( #7094 )
...
move to uv in the Dockerfiles.
2024-02-27 15:11:28 +05:30
Dhruv Nair
215e6804d3
Unpin torch versions in CI ( #6945 )
...
* update
* update
* update
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-12 16:01:05 +05:30
Dhruv Nair
f4d3f913f4
Pin torch < 2.2.0 in test runners ( #6780 )
...
* update
* update
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-31 13:41:18 +05:30
Sayak Paul
49a4b377c1
remove omegaconf from the residues 👋 ( #6600 )
...
remove omegaconf 👋
2024-01-16 21:55:41 +05:30
Dhruv Nair
f1d052c5b8
Update docker image for xformers ( #5597 )
...
update docker image for xformers
2023-10-31 15:02:10 +05:30
Dhruv Nair
33293ed504
Fix Slow Tests ( #5469 )
...
fix tests
2023-10-23 20:24:31 +02:00
Dhruv Nair
98a0712d69
Update base image for slow CUDA tests ( #5426 )
...
update base image for tests
2023-10-17 23:18:53 +05:30
Dhruv Nair
4d2c981d55
New xformers test runner ( #5349 )
...
* move xformers to dedicated runner
* fix
* remove ptl from test runner images
2023-10-13 00:32:39 +05:30
Dhruv Nair
d8d8b2ae77
pin torch version ( #5297 )
2023-10-05 13:00:30 +02:00
Dhruv Nair
bbe8d3ae13
Compile test fixes ( #5235 )
...
compile test fixes
2023-10-02 17:06:10 +02:00
Dhruv Nair
bdd2544673
Tests compile fixes ( #5148 )
...
* test fix
* fix tests
* fix report name
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-09-26 11:36:46 +05:30
Patrick von Platen
bc9a8cef6f
[SD-XL] Add new pipelines ( #3859 )
...
* Add new text encoder
* add transformers depth
* More
* Correct conversion script
* Fix more
* Fix more
* Correct more
* correct text encoder
* Finish all
* proof that in works in run local xl
* clean up
* Get refiner to work
* Add red castle
* Fix batch size
* Improve pipelines more
* Finish text2image tests
* Add img2img test
* Fix more
* fix import
* Fix embeddings for classic models (#3888 )
Fix embeddings for classic SD models.
* Allow multiple prompts to be passed to the refiner (#3895 )
* finish more
* Apply suggestions from code review
* add watermarker
* Model offload (#3889 )
* Model offload.
* Model offload for refiner / img2img
* Hardcode encoder offload on img2img vae encode
Saves some GPU RAM in img2img / refiner tasks so it remains below 8 GB.
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* correct
* fix
* clean print
* Update install warning for `invisible-watermark`
* add: missing docstrings.
* fix and simplify the usage example in img2img.
* fix setup for watermarking.
* Revert "fix setup for watermarking."
This reverts commit 491bc9f5a6 .
* fix: watermarking setup.
* fix: op.
* run make fix-copies.
* make sure tests pass
* improve convert
* make tests pass
* make tests pass
* better error message
* fiinsh
* finish
* Fix final test
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-07-06 13:37:27 +02:00
Patrick von Platen
c0f867afd1
Fix temb attention ( #3607 )
...
* Fix temb attention
* Apply suggestions from code review
* make style
* Add tests and fix docker
* Apply suggestions from code review
2023-05-30 11:26:23 +01:00