Skip to content

Commit

Permalink
Remove openvino-tests extra requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-savelyevv committed Dec 10, 2024
1 parent 02835ce commit 8b655f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_openvino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[openvino,openvino-tokenizers,diffusers,tests,tests-openvino] transformers[testing]
pip install .[openvino,openvino-tokenizers,diffusers,tests] transformers[testing]
- if: ${{ matrix.transformers-version != 'latest' }}
name: Downgrade Transformers and Accelerate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_openvino_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python -m pip install --upgrade pip
# Install PyTorch CPU to prevent unnecessary downloading/installing of CUDA packages
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[tests,tests-openvino]
pip install .[tests]
- name: Install openvino-nightly
if: ${{ matrix.openvino == 'ov-nightly' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_openvino_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[openvino,tests,tests-openvino] transformers[testing]
pip install .[openvino,tests] transformers[testing]
pip uninstall -y nncf
- if: ${{ matrix.transformers-version != 'latest' }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"sentence-transformers",
"open_clip_torch>=2.26.1",
"peft",
"datasets[audio]>=1.4.0",
]

QUALITY_REQUIRE = ["black~=23.1", "ruff==0.4.4"]
Expand All @@ -68,7 +69,6 @@
"diffusers": ["diffusers"],
"quality": QUALITY_REQUIRE,
"tests": TESTS_REQUIRE,
"tests-openvino": ["datasets[audio]>=1.4.0"],
}

setup(
Expand Down

0 comments on commit 8b655f4

Please sign in to comment.