Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2ba80bed
Unverified
Commit
2ba80bed
authored
May 23, 2024
by
Letian Li
Committed by
GitHub
May 23, 2024
Browse files
[Bugfix] Update Dockerfile.cpu to fix NameError: name 'vllm_ops' is not defined (#5009)
parent
60662532
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.buildkite/run-cpu-test.sh
.buildkite/run-cpu-test.sh
+1
-1
Dockerfile.cpu
Dockerfile.cpu
+2
-0
No files found.
.buildkite/run-cpu-test.sh
View file @
2ba80bed
...
@@ -11,4 +11,4 @@ trap remove_docker_container EXIT
...
@@ -11,4 +11,4 @@ trap remove_docker_container EXIT
remove_docker_container
remove_docker_container
# Run the image and launch offline inference
# Run the image and launch offline inference
docker run
--network
host
--env
VLLM_CPU_KVCACHE_SPACE
=
1
--name
cpu-test cpu-test python3 examples/offline_inference.py
docker run
--network
host
--env
VLLM_CPU_KVCACHE_SPACE
=
1
--name
cpu-test cpu-test python3
vllm/
examples/offline_inference.py
Dockerfile.cpu
View file @
2ba80bed
...
@@ -17,4 +17,6 @@ RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.py
...
@@ -17,4 +17,6 @@ RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.py
RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
WORKDIR /workspace/
CMD ["/bin/bash"]
CMD ["/bin/bash"]
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