tungdop2 commited on
Commit
2cf5fc5
1 Parent(s): 3cec677

fix docker

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ubuntu:22.04 AS cpu-test-1
2
 
3
  RUN apt-get update -y \
4
  && apt-get install -y curl git wget vim numactl gcc-12 g++-12 python3 python3-pip libtcmalloc-minimal4 libnuma-dev \
@@ -18,12 +18,8 @@ RUN pip install https://intel-extension-for-pytorch.s3.amazonaws.com/ipex_dev/cp
18
  RUN pip install --upgrade pip \
19
  && pip install wheel packaging ninja "setuptools>=49.4.0" numpy
20
 
21
- FROM cpu-test-1 AS build
22
-
23
  COPY ./ /workspace
24
 
25
- RUN chmod -R 777 /workspace
26
-
27
  WORKDIR /workspace/vllm
28
 
29
  RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/test/cpu
@@ -32,7 +28,6 @@ ARG VLLM_CPU_DISABLE_AVX512
32
  ENV VLLM_CPU_DISABLE_AVX512=${VLLM_CPU_DISABLE_AVX512}
33
 
34
  RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
35
- RUN chmod 777 /.config
36
 
37
  WORKDIR /workspace/
38
 
 
1
+ FROM ubuntu:22.04
2
 
3
  RUN apt-get update -y \
4
  && apt-get install -y curl git wget vim numactl gcc-12 g++-12 python3 python3-pip libtcmalloc-minimal4 libnuma-dev \
 
18
  RUN pip install --upgrade pip \
19
  && pip install wheel packaging ninja "setuptools>=49.4.0" numpy
20
 
 
 
21
  COPY ./ /workspace
22
 
 
 
23
  WORKDIR /workspace/vllm
24
 
25
  RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/test/cpu
 
28
  ENV VLLM_CPU_DISABLE_AVX512=${VLLM_CPU_DISABLE_AVX512}
29
 
30
  RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
 
31
 
32
  WORKDIR /workspace/
33