-
Notifications
You must be signed in to change notification settings - Fork 240
Fix model in embeddings demo #4045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -246,7 +246,13 @@ python export_model.py embeddings_ov --source_model sentence-transformers/all-mp | |||||||||
| **NPU** | ||||||||||
| ::::{tab-set} | ||||||||||
| :::{tab-item} Qwen/Qwen3-Embedding-0.6B | ||||||||||
| :sync: Qwen3-Embedding-0.6B-fp16 | ||||||||||
| :sync: Qwen3-Embedding-0.6B-int8 | ||||||||||
| ```console | ||||||||||
| docker run --user $(id -u):$(id -g) --rm -v $(pwd)/models:/models:rw openvino/model_server:latest --pull --model_repository_path /models --source_model OpenVINO/Qwen3-Embedding-0.6B-int8-ov --pooling LAST --task embeddings | ||||||||||
|
||||||||||
| docker run --user $(id -u):$(id -g) --rm -v $(pwd)/models:/models:rw openvino/model_server:latest --pull --model_repository_path /models --source_model OpenVINO/Qwen3-Embedding-0.6B-int8-ov --pooling LAST --task embeddings | |
| docker run --user $(id -u):$(id -g) --rm -v $(pwd)/models:/models:rw openvino/model_server:2024.0 --pull --model_repository_path /models --source_model OpenVINO/Qwen3-Embedding-0.6B-int8-ov --pooling LAST --task embeddings |
Copilot
AI
Mar 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bind mount uses -v $(pwd)/models:... without quoting; if the working directory path contains spaces, the command will break. Quote the host path (or use an absolute path variable) to make the example more robust.
| docker run --user $(id -u):$(id -g) --rm -v $(pwd)/models:/models:rw openvino/model_server:latest --pull --model_repository_path /models --source_model OpenVINO/Qwen3-Embedding-0.6B-int8-ov --pooling LAST --task embeddings | |
| docker run --user $(id -u):$(id -g) --rm -v "$(pwd)/models":/models:rw openvino/model_server:latest --pull --model_repository_path /models --source_model OpenVINO/Qwen3-Embedding-0.6B-int8-ov --pooling LAST --task embeddings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker run --pullrequires an explicit value (e.g.,--pull=always|missing|never) in supported Docker versions; using--pullwithout a value will fail. Update the command to provide a value (or remove the flag if not needed).