transformers/docker/Dockerfile
2019-09-26 10:15:53 +02:00

7 lines
186 B
Docker

FROM pytorch/pytorch:latest
RUN git clone https://github.com/NVIDIA/apex.git && cd apex && python setup.py install --cuda_ext --cpp_ext
RUN pip install transformers
WORKDIR /workspace