From b580c382a9e94ba186b6bd271b9e7696ac503428 Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Tue, 17 Feb 2026 12:34:54 +0100 Subject: [PATCH 1/6] update --- setup.py | 2 ++ src/diffusers/dependency_versions_table.py | 1 + 2 files changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 8f1d266df6de..11d6c9b00bdd 100644 --- a/setup.py +++ b/setup.py @@ -101,6 +101,7 @@ "datasets", "filelock", "flax>=0.4.1", + "ftfy", "hf-doc-builder>=0.3.0", "httpx<1.0.0", "huggingface-hub>=0.34.0,<2.0", @@ -221,6 +222,7 @@ def run(self): extras["training"] = deps_list("accelerate", "datasets", "protobuf", "tensorboard", "Jinja2", "peft", "timm") extras["test"] = deps_list( "compel", + "ftfy", "GitPython", "datasets", "Jinja2", diff --git a/src/diffusers/dependency_versions_table.py b/src/diffusers/dependency_versions_table.py index 87b6a5bd3827..5b3f84213a2e 100644 --- a/src/diffusers/dependency_versions_table.py +++ b/src/diffusers/dependency_versions_table.py @@ -8,6 +8,7 @@ "datasets": "datasets", "filelock": "filelock", "flax": "flax>=0.4.1", + "ftfy": "ftfy", "hf-doc-builder": "hf-doc-builder>=0.3.0", "httpx": "httpx<1.0.0", "huggingface-hub": "huggingface-hub>=0.34.0,<2.0", From 8f8cf583a543e67fade936cde38091809c5be8ae Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Tue, 17 Feb 2026 14:28:50 +0100 Subject: [PATCH 2/6] update --- .github/workflows/pr_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 52c894bee05d..bf7ed649acd7 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -114,7 +114,7 @@ jobs: - name: Install dependencies run: | - uv pip install -e ".[quality]" + uv pip install -e ".[test]" #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps From ee1e030956dceb3ae1b32ed950d4861fb4aec41a Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Tue, 17 Feb 2026 14:43:06 +0100 Subject: [PATCH 3/6] update --- .github/workflows/pr_tests.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index bf7ed649acd7..39a835960569 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -114,7 +114,7 @@ jobs: - name: Install dependencies run: | - uv pip install -e ".[test]" + uv pip install -e ".[quality,test]" #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps diff --git a/setup.py b/setup.py index 11d6c9b00bdd..efa491f384fd 100644 --- a/setup.py +++ b/setup.py @@ -237,6 +237,7 @@ def run(self): "sentencepiece", "scipy", "tiktoken", + "torchsde", "torchvision", "transformers", "phonemizer", From ea1456c5a68e2a3f15a8e33f48acb04684128876 Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Tue, 17 Feb 2026 14:56:48 +0100 Subject: [PATCH 4/6] update --- .github/workflows/pr_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 39a835960569..3f6b8b4cd04f 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -191,7 +191,7 @@ jobs: - name: Install dependencies run: | - uv pip install -e ".[quality]" + uv pip install -e ".[quality,test]" - name: Environment run: | @@ -242,7 +242,7 @@ jobs: - name: Install dependencies run: | - uv pip install -e ".[quality]" + uv pip install -e ".[quality,test]" # TODO (sayakpaul, DN6): revisit `--no-deps` uv pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps uv pip install -U tokenizers From 22f455268f2b87a5b65bf2d4ab7f2d0ee59c31c7 Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Tue, 17 Feb 2026 17:17:15 +0100 Subject: [PATCH 5/6] update --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index efa491f384fd..45bffd376351 100644 --- a/setup.py +++ b/setup.py @@ -229,6 +229,7 @@ def run(self): "invisible-watermark", "librosa", "parameterized", + "protobuf", "pytest", "pytest-timeout", "pytest-xdist", From 42f8cbb85e2a6711686c189933c062b14be22696 Mon Sep 17 00:00:00 2001 From: DN6 Date: Tue, 17 Feb 2026 22:23:11 +0530 Subject: [PATCH 6/6] update --- .github/workflows/pr_modular_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_modular_tests.yml b/.github/workflows/pr_modular_tests.yml index 89b502d364ec..fab180e0fe1f 100644 --- a/.github/workflows/pr_modular_tests.yml +++ b/.github/workflows/pr_modular_tests.yml @@ -117,7 +117,7 @@ jobs: - name: Install dependencies run: | - uv pip install -e ".[quality]" + uv pip install -e ".[quality,test]" #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps