dkdaniz commited on
Commit
eab0ed4
1 Parent(s): 82c5f09

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -8
Dockerfile CHANGED
@@ -4,15 +4,12 @@
4
  FROM nvidia/cuda:11.7.1-runtime-ubuntu22.04
5
 
6
  RUN apt-get update && apt-get upgrade -y \
7
- && apt-get install -y git build-essential libpq-dev \
8
- python3 python3-pip gcc wget \
9
- ocl-icd-opencl-dev opencl-headers clinfo \
10
- libclblast-dev libopenblas-dev \
11
  && mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
12
 
13
- RUN apt-get update && apt-get install -y software-properties-common
14
- RUN apt-get install -y g++-11
15
-
16
  ENV TRANSFORMERS_CACHE=/root/.cache
17
 
18
  COPY . .
@@ -22,7 +19,7 @@ ENV CUDA_DOCKER_ARCH=all
22
  ENV LLAMA_CUBLAS=1
23
 
24
  # Install depencencies
25
- RUN python3 -m pip install --upgrade pip pytest cmake \
26
  scikit-build setuptools fastapi uvicorn sse-starlette \
27
  pydantic-settings starlette-context gradio huggingface_hub hf_transfer
28
 
 
4
  FROM nvidia/cuda:11.7.1-runtime-ubuntu22.04
5
 
6
  RUN apt-get update && apt-get upgrade -y \
7
+ && apt-get install -y git build-essential libpq-dev gcc \
8
+ wget ocl-icd-opencl-dev opencl-headers clinfo \
9
+ libclblast-dev libopenblas-dev software-properties-common\
10
+ g++-11 make python3 python-is-python3 pip \
11
  && mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
12
 
 
 
 
13
  ENV TRANSFORMERS_CACHE=/root/.cache
14
 
15
  COPY . .
 
19
  ENV LLAMA_CUBLAS=1
20
 
21
  # Install depencencies
22
+ RUN python -m pip install --upgrade pip pytest cmake \
23
  scikit-build setuptools fastapi uvicorn sse-starlette \
24
  pydantic-settings starlette-context gradio huggingface_hub hf_transfer
25