Updated docker image and requirements
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
FROM huggingface/transformers-pytorch-gpu AS requirements
|
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04 AS requirements
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get update -y
|
||||||
|
RUN apt install -y python3-pip
|
||||||
|
ENV TOKENIZERS_PARALLELISM=false
|
||||||
COPY requirements.txt /requirements.txt
|
COPY requirements.txt /requirements.txt
|
||||||
RUN pip3 install -r /requirements.txt
|
RUN pip3 install -r /requirements.txt
|
||||||
RUN rm -rf /requirements.txt
|
RUN rm -rf /requirements.txt
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
accelerate
|
||||||
bs4
|
bs4
|
||||||
torch
|
torch
|
||||||
transformers
|
transformers
|
||||||
Reference in New Issue
Block a user