1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

maybe better

This commit is contained in:
Wauplin
2025-09-26 11:14:52 +02:00
parent 8c07129182
commit 50befc6312
3 changed files with 12 additions and 6 deletions

View File

@@ -110,7 +110,8 @@ jobs:
run: |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m uv pip install -e [quality,test]
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
- name: Environment

View File

@@ -116,7 +116,8 @@ jobs:
run: |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m uv pip install -e [quality,test]
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
- name: Environment
@@ -253,7 +254,8 @@ jobs:
python -m uv pip install -e [quality,test]
# TODO (sayakpaul, DN6): revisit `--no-deps`
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
python -m uv pip install -U tokenizers
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps

View File

@@ -133,7 +133,8 @@ jobs:
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m uv pip install -e [quality,test]
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
- name: Environment
run: |
@@ -204,7 +205,8 @@ jobs:
python -m uv pip install -e [quality,test]
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
- name: Environment
run: |
@@ -266,7 +268,8 @@ jobs:
- name: Install dependencies
run: |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
python -m uv pip install -e [quality,test,training]
- name: Environment