Skip to content

Commit 8c029e0

Browse files
committed
Move OpenVINO Tokenizers To Optional Dependencies
1 parent 32a7274 commit 8c029e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test_openvino.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python -m pip install --upgrade pip
3333
# install PyTorch CPU version to avoid installing CUDA packages on GitHub runner without GPU
3434
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
35-
pip install .[openvino,nncf,tests,diffusers]
35+
pip install .[openvino,openvino-tokenizers,nncf,tests,diffusers]
3636
- name: Test with Pytest
3737
run: |
3838
pytest tests/openvino/ --ignore test_modeling_basic

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"onnxruntime",
5151
"transformers>=4.36.0",
5252
"optimum>=1.16.1",
53-
"openvino-tokenizers[transformers]",
5453
],
54+
"openvino-tokenizers": ["openvino-tokenizers[transformers]"],
5555
"nncf": ["nncf>=2.7.0"],
5656
"ipex": ["intel-extension-for-pytorch", "onnx"],
5757
"diffusers": ["diffusers"],

0 commit comments

Comments
 (0)