Add deps
This commit is contained in:
1 parent
61998b4d39
commit
a199adfbd6
1 file changed
+9
@@ -1,6 +1,15 @@
|
|||||||
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
||||||
|
ENV HOST 0.0.0.0
|
||||||
|
RUN apt-get update && apt-get upgrade -y \
|
||||||
|
&& apt-get install -y git build-essential \
|
||||||
|
python3 python3-pip gcc wget \
|
||||||
|
ocl-icd-opencl-dev opencl-headers clinfo \
|
||||||
|
libclblast-dev libopenblas-dev \
|
||||||
|
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
ENV CUDA_DOCKER_ARCH=all
|
||||||
|
RUN pip install deepspeed
|
||||||
RUN pip install --no-cache-dir -r requirements_nvidia.txt && \
|
RUN pip install --no-cache-dir -r requirements_nvidia.txt && \
|
||||||
pip install --no-cache-dir -r requirements_finetune.txt && \
|
pip install --no-cache-dir -r requirements_finetune.txt && \
|
||||||
pip install --no-cache-dir -r requirements_other.txt
|
pip install --no-cache-dir -r requirements_other.txt
|
||||||
|
|||||||
Reference in new issue
Block a user