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

install transformers from source

This commit is contained in:
Wauplin
2025-09-24 15:59:27 +02:00
parent cc173a0d20
commit d757bf5045
5 changed files with 8 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ jobs:
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m pip install --upgrade pip uv
python -m uv pip install -e .
python -m uv pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
python -m uv pip install pytest
- name: Check for soft dependencies
run: |

View File

@@ -44,6 +44,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check quality
run: make quality
- name: Check if failure
@@ -64,6 +65,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check repo consistency
run: |
python utils/check_copies.py

View File

@@ -40,6 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check quality
run: make quality
- name: Check if failure
@@ -60,6 +61,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check repo consistency
run: |
python utils/check_copies.py

View File

@@ -41,6 +41,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check quality
run: make quality
- name: Check if failure
@@ -61,6 +62,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[quality]
pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check repo consistency
run: |
python utils/check_copies.py

View File

@@ -30,6 +30,7 @@ jobs:
python -m uv pip install -e .
python -m uv pip install torch torchvision torchaudio
python -m uv pip install pytest
python -m uv pip install git+https://github.com/huggingface/transformers.git@ci-test-huggingface-hub-v1.0.0.rc0 # temporary (only for tests)
- name: Check for soft dependencies
run: |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"