Singularity 593 B

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