Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
12600c73
Commit
12600c73
authored
Mar 16, 2025
by
Anant Sharma
Committed by
GitHub
Mar 17, 2025
Browse files
build: add vllm optional dependency (#201)
parent
3ba2d427
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
container/Dockerfile.vllm
container/Dockerfile.vllm
+3
-5
pyproject.toml
pyproject.toml
+6
-0
No files found.
container/Dockerfile.vllm
View file @
12600c73
...
@@ -323,11 +323,9 @@ RUN uv venv $VIRTUAL_ENV --python 3.12 && \
...
@@ -323,11 +323,9 @@ RUN uv venv $VIRTUAL_ENV --python 3.12 && \
echo "source $VIRTUAL_ENV/bin/activate" >> ~/.bashrc
echo "source $VIRTUAL_ENV/bin/activate" >> ~/.bashrc
# Install the wheels
# Install the wheels
COPY --from=dev /workspace/dist/*.whl whls/
COPY --from=dev /workspace/dist/*.whl wheelhouse/
RUN uv pip install $(find whls -name ai_dynamo_runtime-*.whl) && \
RUN uv pip install ai-dynamo[vllm] --find-links wheelhouse && \
uv pip install $(find whls -name ai_dynamo-*.whl) && \
rm -r wheelhouse
uv pip install $(find whls -name vllm-*.whl) && \
rm -r whls
# Tell vllm to use the Dynamo LLM C API for KV Cache Routing
# Tell vllm to use the Dynamo LLM C API for KV Cache Routing
ENV VLLM_KV_CAPI_PATH="/opt/dynamo/bindings/lib/libdynamo_llm_capi.so"
ENV VLLM_KV_CAPI_PATH="/opt/dynamo/bindings/lib/libdynamo_llm_capi.so"
...
...
pyproject.toml
View file @
12600c73
...
@@ -30,6 +30,7 @@ dependencies = [
...
@@ -30,6 +30,7 @@ dependencies = [
"types-psutil==7.0.0.20250218"
,
"types-psutil==7.0.0.20250218"
,
"ai-dynamo-runtime==0.1.0"
,
"ai-dynamo-runtime==0.1.0"
,
]
]
classifiers
=
[
classifiers
=
[
"Development Status :: 4 - Beta"
,
"Development Status :: 4 - Beta"
,
"Intended Audience :: Developers"
,
"Intended Audience :: Developers"
,
...
@@ -46,6 +47,11 @@ classifiers = [
...
@@ -46,6 +47,11 @@ classifiers = [
]
]
keywords
=
[
"llm"
,
"genai"
,
"inference"
,
"nvidia"
,
"distributed"
,
"dynamo"
]
keywords
=
[
"llm"
,
"genai"
,
"inference"
,
"nvidia"
,
"distributed"
,
"dynamo"
]
[project.optional-dependencies]
vllm
=
[
"vllm==0.7.2+dynamo"
]
[project.scripts]
[project.scripts]
dynamo
=
"dynamo.sdk.cli.cli:cli"
dynamo
=
"dynamo.sdk.cli.cli:cli"
dynamo-run
=
"dynamo.sdk.cli.run_executable:dynamo_run"
dynamo-run
=
"dynamo.sdk.cli.run_executable:dynamo_run"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment