[ViPPET] Add model-download service to Docker Compose stack#2092
Open
p-zak wants to merge 3 commits intoopen-edge-platform:mainfrom
Open
[ViPPET] Add model-download service to Docker Compose stack#2092p-zak wants to merge 3 commits intoopen-edge-platform:mainfrom
p-zak wants to merge 3 commits intoopen-edge-platform:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the
model-downloadmicroservice (intel/model-download:2026.1.0-20260331-weekly) to the ViPPET Docker Compose stack as a long-running service.This is the first step in replacing the legacy
modelscontainer - both services coexist in this PR; the old one will be removed in a follow-up.What changed
compose.yml- Addedmodel-downloadservice definition:intel/model-downloadimage (no local build)../shared/models/volume withvippetso downloaded models are immediately visible to inference pipelines./opt/.venv) and uv package cache (/cache) on host-mounted volumes undershared/model-download/to avoid re-downloading ~2 GB of plugin dependencies on every container restart.openvino,huggingface,ultralytics,geti(configurable viaMODEL_DOWNLOAD_PLUGINSenv var)./api/v1/health, restart policyon-failure:5.ui/nginx.conf- Added reverse proxy location/model-download/→http://model-download:8000/api/v1/so the UI can reach the service through the same origin (no CORS issues). Extended timeouts (300 s) andclient_max_body_size 5Gfor large model uploads.ui/vite.config.ts- Added dev proxy/model-download→http://localhost:8000with path rewrite to/api/v1for local development.Makefile- Additive changes only:env-setupcreatesshared/model-download/{venv,cache}directories.shell-model-downloadtarget.stopandcleantargets now include the new service/directories.modelstargets (install-models-*,build-models,shell-models) are preserved unchanged.Routing
How to test