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 548 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
  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. ADD . /gpt-2
  13. RUN pip3 install -r requirements.txt
  14. RUN python3 download_model.py 124M
  15. RUN python3 download_model.py 355M
  16. RUN python3 download_model.py 774M
  17. RUN python3 download_model.py 1558M
Tip!

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

Comments

Loading...