Skip to content

Commit 754f7ba

Browse files
Lijiachen1018lijiachen
andauthored
[build] fix build v0.1.0rc1 (#363)
fix build v0.1.0rc1 Co-authored-by: lijiachen <[email protected]>
1 parent e37b98c commit 754f7ba

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docker/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@ ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
66
WORKDIR /workspace
77

88
# Install unified-cache-management
9-
COPY . /vllm-workspace/unified-cache-management
9+
COPY . /workspace/unified-cache-management
1010

1111
RUN pip config set global.index-url ${PIP_INDEX_URL}
1212

1313
RUN export PLATFORM="cuda" && \
14-
pip install -v -e /vllm-workspace/unified-cache-management --no-build-isolation
14+
pip install -v -e /workspace/unified-cache-management --no-build-isolation
1515

16-
# Apply patch for vLLM
17-
RUN cd $(pip show vllm | grep Location | awk '{print $2}') \
18-
&& git apply /vllm-workspace/unified-cache-management/ucm/integration/vllm/patch/0.9.2/vllm-adapt-pc.patch \
19-
&& git apply /vllm-workspace/unified-cache-management/ucm/integration/vllm/patch/0.9.2/vllm-adapt-aggre.patch \
20-
&& git apply /vllm-workspace/unified-cache-management/ucm/integration/vllm/patch/0.9.2/vllm-adapt-sparse.patch
2116

2217
ENTRYPOINT ["/bin/bash"]

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def _get_package_data_with_so():
128128
ext_modules.append(CMakeExtension(name="ucm", sourcedir=ROOT_DIR))
129129

130130
setup(
131-
name="ucm",
132-
version="0.1.0",
131+
name="uc-manager",
132+
version="0.1.0rc1",
133133
description="Unified Cache Management",
134134
author="Unified Cache Team",
135135
packages=find_packages(),
@@ -138,4 +138,5 @@ def _get_package_data_with_so():
138138
cmdclass={"build_ext": CMakeBuild},
139139
package_data=_get_package_data_with_so(),
140140
zip_safe=False,
141+
install_requires=["vllm==0.9.2"],
141142
)

0 commit comments

Comments
 (0)