1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-10-23 09:09:01 +03:00

Test hfh 2.3.0.rc1

This commit is contained in:
Hugging Face Bot (RC Testing)
2026-10-22 13:23:24 +00:00
parent 48cdbaef5e
commit f6f6dd21d6
15 changed files with 115 additions and 115 deletions

View File

@@ -43,8 +43,8 @@ jobs:
run: |
apt update
apt install -y libpq-dev postgresql-client
uv pip install -e ".[quality]"
uv pip install -r benchmarks/requirements.txt
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow -r benchmarks/requirements.txt
- name: Environment
run: |
diffusers-cli env

View File

@@ -87,10 +87,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training,test]"
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training,test]"
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: diffusers-cli env

View File

@@ -25,7 +25,7 @@ jobs:
python_version: "3.11"
notebook_folder: diffusers_doc
languages: en ko zh ja pt
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}

View File

@@ -36,7 +36,7 @@ jobs:
- name: Install doc-builder
run: |
uv pip install --system git+https://github.com/huggingface/doc-builder.git@main
uv pip install --prerelease=allow --system git+https://github.com/huggingface/doc-builder.git@main
- name: Check documentation links
run: |
@@ -52,4 +52,4 @@ jobs:
package: diffusers
python_version: "3.11"
languages: en ko zh ja pt
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git

View File

@@ -84,10 +84,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install pytest-reportlog
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install --prerelease=allow pytest-reportlog
- name: Environment
run: |
diffusers-cli env
@@ -139,11 +139,11 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install pytest-reportlog
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install --prerelease=allow pytest-reportlog
- name: Environment
run: diffusers-cli env
@@ -209,8 +209,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -252,11 +252,11 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install pytest-reportlog
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install --prerelease=allow pytest-reportlog
- name: Environment
run: |
diffusers-cli env
@@ -305,10 +305,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.6.0\ntorchvision==0.21.0\ntorchaudio==2.6.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
- name: Environment
run: |
@@ -378,13 +378,13 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install -U ${{ matrix.config.backend }}
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
fi
uv pip install pytest-reportlog
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow pytest-reportlog
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -436,10 +436,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install -U bitsandbytes
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install pytest-reportlog
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow -U bitsandbytes
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow pytest-reportlog
- name: Environment
run: |
diffusers-cli env
@@ -552,10 +552,10 @@ jobs:
# shell: arch -arch arm64 bash {0}
# run: |
# ${CONDA_RUN} pip install --upgrade pip uv
# ${CONDA_RUN} uv pip install -e ".[quality]"
# ${CONDA_RUN} uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
# ${CONDA_RUN} uv pip install accelerate@git+https://github.com/huggingface/accelerate
# ${CONDA_RUN} uv pip install pytest-reportlog
# ${CONDA_RUN} uv pip install --prerelease=allow -e ".[quality]"
# ${CONDA_RUN} uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
# ${CONDA_RUN} uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
# ${CONDA_RUN} uv pip install --prerelease=allow pytest-reportlog
# - name: Environment
# shell: arch -arch arm64 bash {0}
# run: |
@@ -608,10 +608,10 @@ jobs:
# shell: arch -arch arm64 bash {0}
# run: |
# ${CONDA_RUN} pip install --upgrade pip uv
# ${CONDA_RUN} uv pip install -e ".[quality]"
# ${CONDA_RUN} uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
# ${CONDA_RUN} uv pip install accelerate@git+https://github.com/huggingface/accelerate
# ${CONDA_RUN} uv pip install pytest-reportlog
# ${CONDA_RUN} uv pip install --prerelease=allow -e ".[quality]"
# ${CONDA_RUN} uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
# ${CONDA_RUN} uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
# ${CONDA_RUN} uv pip install --prerelease=allow pytest-reportlog
# - name: Environment
# shell: arch -arch arm64 bash {0}
# run: |

View File

@@ -103,8 +103,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Check auto docs
run: make modular-autodoctrings
- name: Check if failure
@@ -138,11 +138,11 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install --prerelease=allow -e ".[quality]"
# TODO (sayakpaul, DN6): revisit `--no-deps`
uv pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
uv pip install --prerelease=allow -U peft@git+https://github.com/huggingface/peft.git --no-deps
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
- name: Environment
run: |

View File

@@ -38,7 +38,7 @@ jobs:
fetch-depth: 0
- name: Install dependencies
run: |
uv pip install -e ".[quality]"
uv pip install --prerelease=allow -e ".[quality]"
- name: Environment
run: |
diffusers-cli env
@@ -96,8 +96,8 @@ jobs:
- name: Install dependencies
run: |
uv pip install -e ".[quality]"
uv pip install accelerate
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow accelerate
- name: Environment
run: |

View File

@@ -133,9 +133,9 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]" "pyarrow<26"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
uv pip install --prerelease=allow -e ".[quality]" "pyarrow<26"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
- name: Environment
run: |
@@ -159,7 +159,7 @@ jobs:
- name: Run example PyTorch CPU tests
if: ${{ matrix.config.framework == 'pytorch_examples' }}
run: |
uv pip install ".[training]"
uv pip install --prerelease=allow ".[training]"
pytest -n 4 --max-worker-restart=0 --dist=loadfile \
--make-reports=tests_${{ matrix.config.report }} \
examples
@@ -211,8 +211,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -267,11 +267,11 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install --prerelease=allow -e ".[quality]"
# TODO (sayakpaul, DN6): revisit `--no-deps`
uv pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -U peft@git+https://github.com/huggingface/peft.git --no-deps
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |

View File

@@ -106,7 +106,7 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install --prerelease=allow -e ".[quality]"
- name: Environment
run: |
diffusers-cli env
@@ -150,9 +150,9 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -221,10 +221,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -288,8 +288,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training]"
- name: Environment
run: |
@@ -299,7 +299,7 @@ jobs:
env:
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
run: |
uv pip install ".[training]"
uv pip install --prerelease=allow ".[training]"
pytest -n 1 --max-worker-restart=0 --dist=loadfile --make-reports=examples_torch_cuda examples/
- name: Failure short reports

View File

@@ -45,7 +45,7 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install --prerelease=allow -e ".[quality]"
- name: Environment
run: |
diffusers-cli env
@@ -88,9 +88,9 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -141,10 +141,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -198,8 +198,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -242,7 +242,7 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training]"
uv pip install --prerelease=allow -e ".[quality,training]"
- name: Environment
run: |
@@ -252,7 +252,7 @@ jobs:
env:
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
run: |
uv pip install ".[training]"
uv pip install --prerelease=allow ".[training]"
pytest -n 1 --max-worker-restart=0 --dist=loadfile --make-reports=examples_torch_cuda examples/
- name: Failure short reports

View File

@@ -68,7 +68,7 @@ jobs:
- name: Install dependencies
run: |
uv pip install -e ".[quality]" "pyarrow<26"
uv pip install --prerelease=allow -e ".[quality]" "pyarrow<26"
- name: Environment
run: |
@@ -84,7 +84,7 @@ jobs:
- name: Run example PyTorch CPU tests
if: ${{ matrix.config.framework == 'pytorch_examples' }}
run: |
uv pip install ".[training]"
uv pip install --prerelease=allow ".[training]"
pytest -n 4 --max-worker-restart=0 --dist=loadfile \
--make-reports=tests_${{ matrix.config.report }} \
examples

View File

@@ -46,10 +46,10 @@ jobs:
shell: arch -arch arm64 bash {0}
run: |
${CONDA_RUN} python -m pip install --upgrade pip uv
${CONDA_RUN} python -m uv pip install -e ".[quality]"
${CONDA_RUN} python -m uv pip install torch torchvision torchaudio
${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
${CONDA_RUN} python -m uv pip install transformers --upgrade
${CONDA_RUN} python -m uv pip install --prerelease=allow -e ".[quality]"
${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio
${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate.git
${CONDA_RUN} python -m uv pip install --prerelease=allow transformers --upgrade
- name: Environment
shell: arch -arch arm64 bash {0}

View File

@@ -44,8 +44,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -88,9 +88,9 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -141,10 +141,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -195,10 +195,10 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.6.0\ntorchvision==0.21.0\ntorchaudio==2.6.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality]"
uv pip install peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality]"
uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
uv pip uninstall accelerate && uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -256,8 +256,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
diffusers-cli env
@@ -302,8 +302,8 @@ jobs:
- name: Install dependencies
run: |
printf 'torch==2.10.0\ntorchvision==0.25.0\ntorchaudio==2.10.0\n' > "$UV_OVERRIDE"
uv pip install -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
uv pip install --prerelease=allow -e ".[quality,training]"
uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
- name: Environment
run: |
@@ -313,7 +313,7 @@ jobs:
env:
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
run: |
uv pip install ".[training]"
uv pip install --prerelease=allow ".[training]"
pytest -n 1 --max-worker-restart=0 --dist=loadfile --make-reports=examples_torch_cuda examples/
- name: Failure short reports

View File

@@ -100,7 +100,7 @@ _deps = [
"filelock",
"ftfy",
"hf-doc-builder>=0.3.0",
"huggingface-hub>=1.32.0,<3.0",
"huggingface-hub==2.3.0.rc1",
"requests-mock==1.10.0",
"importlib_metadata",
"invisible-watermark>=0.2.0",
@@ -150,7 +150,7 @@ _deps = [
# this is a lookup table with items like:
#
# tokenizers: "huggingface-hub==0.8.0"
# tokenizers: "huggingface-hub==2.3.0.rc1"
# packaging: "packaging"
#
# some of the values are versioned whereas others aren't.

View File

@@ -8,7 +8,7 @@ deps = {
"filelock": "filelock",
"ftfy": "ftfy",
"hf-doc-builder": "hf-doc-builder>=0.3.0",
"huggingface-hub": "huggingface-hub>=1.32.0,<3.0",
"huggingface-hub": "huggingface-hub==2.3.0.rc1",
"requests-mock": "requests-mock==1.10.0",
"importlib_metadata": "importlib_metadata",
"invisible-watermark": "invisible-watermark>=0.2.0",