Delete nvidia.Dockerfile
This commit is contained in:
1 parent
38b06e6f63
commit
8c71ce67fe
1 file changed
-20
@@ -1,20 +0,0 @@
|
||||
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 portaudio19-dev \
|
||||
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 \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
ENV CUDA_DOCKER_ARCH=all
|
||||
|
||||
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_other.txt && \
|
||||
pip install --no-cache-dir deepspeed
|
||||
EXPOSE 7851
|
||||
RUN chmod +x launch.sh
|
||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||
Reference in new issue
Block a user