Skip to content

Commit f80f038

Browse files
authored
update python dependencies and drop obsolete demo (#3312)
* update python dependencies and drop obsolete demo
1 parent 59f1388 commit f80f038

File tree

18 files changed

+12
-530
lines changed

18 files changed

+12
-530
lines changed

demos/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ ovms_demo_using_paddlepaddle_model
3737
ovms_demo_bert
3838
ovms_demo_universal-sentence-encoder
3939
ovms_demo_benchmark_client
40-
ovms_demo_python_stable_diffusion
4140
ovms_string_output_model_demo
4241
4342
```
@@ -76,7 +75,6 @@ Check out the list below to see complete step-by-step examples of using OpenVINO
7675
## With Python Nodes
7776
| Demo | Description |
7877
|---|---|
79-
|[Stable Diffusion](python_demos/stable_diffusion/README.md) | Generate image using Stable Diffusion model sending prompts via gRPC API unary or interactive streaming endpoint.|
8078
|[CLIP image classification](python_demos/clip_image_classification/README.md) | Classify image according to provided labels using CLIP model embedded in a multi-node MediaPipe graph.|
8179

8280
## With MediaPipe Graphs

demos/common/export_models/requirements.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
--extra-index-url "https://storage.openvinotoolkit.org/simple/wheels/nightly"
33
--extra-index-url "https://storage.openvinotoolkit.org/simple/wheels/pre-release"
44
--pre
5-
optimum-intel@git+https://github.com/huggingface/optimum-intel.git@8fa4ebd9fb45349b16334a38409a4cfb40c2bc68
6-
openvino-tokenizers[transformers]<=2025.2.0.0.dev20250403
7-
openvino<=2025.2.0.dev20250424
5+
optimum-intel@git+https://github.com/huggingface/optimum-intel.git@69311c0f11c92aff670bc08a3ab0a4653213e25c
6+
openvino-tokenizers[transformers]<=2025.2.0.0rc1
7+
openvino<=2025.2.0rc1
88
nncf>=2.11.0
99
sentence_transformers==3.1.1
1010
openai
11-
transformers<=4.49 # 4.50 has a bug
11+
transformers<4.52
1212
einops
13-
torchvision==0.21.0
13+
torchvision
1414
timm==1.0.15
15-
auto-gptq==0.7.1
1615
diffusers==0.33.1 # for image generation

demos/python_demos/clip_image_classification/download_model_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
--pre
44
openvino==2025.2.*
55
numpy<2.0
6-
transformers==4.49 # 4.50 has a bug
6+
transformers<4.52
77
pillow==10.3.0
8-
torch==2.4.0+cpu
8+
torch==2.7.0+cpu
Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
2-
3-
git+https://github.com/dtrawins/optimum-intel.git@concurrency_support_cloneall
4-
## used a fork to provide support for multi concurrency https://github.com/huggingface/optimum-intel/pull/519
5-
6-
onnx==1.17.0
2+
optimum-intel@git+https://github.com/huggingface/optimum-intel.git@69311c0f11c92aff670bc08a3ab0a4653213e25c
73
pillow==10.3.0
8-
optimum[diffusers]==1.17.1
9-
tritonclient[grpc]==2.51.0 # Required to use batch string serialization/deserialization (4byte length prepend)
10-
transformers==4.49 # 4.50 has a bug
11-
diffusers==0.29.2
12-
datasets==2.18.0
4+
optimum==1.25.3
5+
tritonclient[grpc]==2.57.0 # Required to use batch string serialization/deserialization (4byte length prepend)
6+
transformers<4.52 # 4.50 has a bug
137
numpy<2.0
14-
huggingface_hub==0.26.0
8+
huggingface_hub==0.32.0
159

demos/python_demos/stable_diffusion/README.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

demos/python_demos/stable_diffusion/client_requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

demos/python_demos/stable_diffusion/client_stream.py

Lines changed: 0 additions & 92 deletions
This file was deleted.

demos/python_demos/stable_diffusion/client_unary.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

demos/python_demos/stable_diffusion/download_model.py

Lines changed: 0 additions & 32 deletions
This file was deleted.
-1.91 MB
Binary file not shown.

0 commit comments

Comments
 (0)