Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile.gpu 543 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  1. FROM tensorflow/tensorflow:1.12.0-gpu-py3
  2. # nvidia-docker 1.0
  3. LABEL com.nvidia.volumes.needed="nvidia_driver"
  4. LABEL com.nvidia.cuda.version="${CUDA_VERSION}"
  5. # nvidia-container-runtime
  6. ENV NVIDIA_VISIBLE_DEVICES=all \
  7. NVIDIA_DRIVER_CAPABILITIES=compute,utility \
  8. NVIDIA_REQUIRE_CUDA="cuda>=8.0" \
  9. LANG=C.UTF-8
  10. RUN mkdir /gpt-2
  11. WORKDIR /gpt-2
  12. COPY requirements.txt download_model.sh /gpt-2/
  13. RUN apt-get update && \
  14. apt-get install -y curl && \
  15. sh download_model.sh 117M
  16. RUN pip3 install -r requirements.txt
  17. ADD . /gpt-2
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...