Singularity 657 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. Bootstrap: docker
  3. From: nvcr.io/nvidia/tensorflow:21.07-tf2-py3
  4. %runscript
  5. "$@"
  6. %post
  7. apt-get -y update
  8. apt-get -y install git nvidia-modprobe
  9. pip3 install jupyterlab
  10. pip3 install ipywidgets
  11. mkdir /workspace/python/source_code/Data
  12. curl https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-2-v1.zip -o /workspace/python/source_code/Data/wikitext-2-v1.zip
  13. unzip /workspace/python/source_code/Data/wikitext-2-v1.zip -d /workspace/python/source_code/Data
  14. %files
  15. English/* /workspace/
  16. %environment
  17. XDG_RUNTIME_DIR=
  18. %labels
  19. AUTHOR bharatk