mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
install compel separately
This commit is contained in:
1
.github/workflows/benchmark.yml
vendored
1
.github/workflows/benchmark.yml
vendored
@@ -41,6 +41,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
python -m uv pip install -r benchmarks/requirements.txt
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
4
.github/workflows/nightly_tests.yml
vendored
4
.github/workflows/nightly_tests.yml
vendored
@@ -75,6 +75,7 @@ jobs:
|
||||
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
|
||||
python -m uv pip install pytest-reportlog
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -129,6 +130,7 @@ jobs:
|
||||
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
|
||||
python -m uv pip install pytest-reportlog
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: python utils/print_env.py
|
||||
|
||||
@@ -237,6 +239,7 @@ jobs:
|
||||
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
|
||||
python -m uv pip install pytest-reportlog
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -286,6 +289,7 @@ 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
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
1
.github/workflows/pr_dependency_test.yml
vendored
1
.github/workflows/pr_dependency_test.yml
vendored
@@ -30,6 +30,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -e .
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install pytest
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Check for soft dependencies
|
||||
run: |
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
1
.github/workflows/pr_modular_tests.yml
vendored
1
.github/workflows/pr_modular_tests.yml
vendored
@@ -114,6 +114,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
3
.github/workflows/pr_test_fetcher.yml
vendored
3
.github/workflows/pr_test_fetcher.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -95,6 +96,7 @@ jobs:
|
||||
python -m pip install -e [quality,test]
|
||||
python -m pip install git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m pip install accelerate
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -153,6 +155,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m pip install git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m pip install -e [quality,test]
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
3
.github/workflows/pr_tests.yml
vendored
3
.github/workflows/pr_tests.yml
vendored
@@ -120,6 +120,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -200,6 +201,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -259,6 +261,7 @@ jobs:
|
||||
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
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
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
4
.github/workflows/pr_tests_gpu.yml
vendored
4
.github/workflows/pr_tests_gpu.yml
vendored
@@ -93,6 +93,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -137,6 +138,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -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 -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -208,6 +210,7 @@ jobs:
|
||||
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 -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -271,6 +274,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
|
||||
python -m uv pip install --prerelease=allow -e [quality,test,training]
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
@@ -31,6 +31,7 @@ jobs:
|
||||
python -m uv pip install torch torchvision torchaudio
|
||||
python -m uv pip install pytest
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Check for soft dependencies
|
||||
run: |
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
6
.github/workflows/push_tests.yml
vendored
6
.github/workflows/push_tests.yml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -80,6 +81,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -132,6 +134,7 @@ jobs:
|
||||
python -m uv pip install --prerelease=allow -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
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
@@ -185,6 +188,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test,training]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -229,6 +233,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test,training]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
- name: Environment
|
||||
run: |
|
||||
python utils/print_env.py
|
||||
@@ -271,6 +276,7 @@ jobs:
|
||||
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
|
||||
python -m uv pip install --prerelease=allow -e [quality,test,training]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
run: |
|
||||
|
||||
1
.github/workflows/push_tests_mps.yml
vendored
1
.github/workflows/push_tests_mps.yml
vendored
@@ -45,6 +45,7 @@ jobs:
|
||||
${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 compel==0.1.8
|
||||
|
||||
- name: Environment
|
||||
shell: arch -arch arm64 bash {0}
|
||||
|
||||
1
.github/workflows/run_tests_from_a_pr.yml
vendored
1
.github/workflows/run_tests_from_a_pr.yml
vendored
@@ -67,6 +67,7 @@ jobs:
|
||||
python -m uv pip install -e [quality,test]
|
||||
python -m uv pip install --prerelease=allow git+https://github.com/huggingface/transformers.git # temporary (only for tests)
|
||||
python -m uv pip install peft
|
||||
python -m uv pip install compel==0.1.8
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
|
||||
2
setup.py
2
setup.py
@@ -97,7 +97,6 @@ from setuptools import Command, find_packages, setup
|
||||
_deps = [
|
||||
"Pillow", # keep the PIL.Image.Resampling deprecation away
|
||||
"accelerate>=0.31.0",
|
||||
"compel==0.1.8",
|
||||
"datasets",
|
||||
"filelock",
|
||||
"flax>=0.4.1",
|
||||
@@ -220,7 +219,6 @@ extras["quality"] = deps_list("urllib3", "isort", "ruff", "hf-doc-builder")
|
||||
extras["docs"] = deps_list("hf-doc-builder")
|
||||
extras["training"] = deps_list("accelerate", "datasets", "protobuf", "tensorboard", "Jinja2", "peft")
|
||||
extras["test"] = deps_list(
|
||||
"compel",
|
||||
"GitPython",
|
||||
"datasets",
|
||||
"Jinja2",
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
deps = {
|
||||
"Pillow": "Pillow",
|
||||
"accelerate": "accelerate>=0.31.0",
|
||||
"compel": "compel==0.1.8",
|
||||
"datasets": "datasets",
|
||||
"filelock": "filelock",
|
||||
"flax": "flax>=0.4.1",
|
||||
|
||||
Reference in New Issue
Block a user