GridAI
PyTorch Lightning
Container
GridAI
PyTorch Lightning

Lightweight framework for training models at scale, without the boilerplate. Train on any number of GPUs or nodes without changing your code, and turn on advanced training optimizations with a switch of a flag.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
["jupyter" "notebook" "--port=8888" "--no-browser" "--ip=0.0.0.0" "--allow-root"]
07/01/2021 4:06 PM UTC
sha256:86232191edf2fe40ac215d24bd30e36af7628b18e3a3bd87b34c21db23efd116RUN
LIGHTNING_VERSION=1.3.8 TORCH_VERSION=$(cat torch_version.info) &&
  rm torch_version.info &&
  python --version &&
  pip --version &&
  pip list | grep torch &&
  python -c "from torch import __version__ as ver ; assert ver == '$TORCH_VERSION', ver" &&
  python -c "import pytorch_lightning as pl; print(pl.__version__)"
07/01/2021 4:06 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PYTHONPATH=/workspace
07/01/2021 4:06 PM UTC
sha256:5ce7f94f4015d92db2212548a0a1b38954ac157c76c4ce17eee8480a00ab7037RUN
LIGHTNING_VERSION=1.3.8 pip install lightning-grid -U &&
  pip install "py>=1.10" "protobuf>=3.15.6" --upgrade-strategy only-if-needed
07/01/2021 4:06 PM UTC
sha256:4823335893c2a7cbb28a9ad486b1f01cd1a5cd092e861ee95c8fd27b18d00510RUN
LIGHTNING_VERSION=1.3.8 cd /workspace &&
  if [ ! -z "$LIGHTNING_VERSION" ] ; then rm -rf pytorch-lightning ; wget https://github.com/PyTorchLightning/pytorch-lightning/archive/${LIGHTNING_VERSION}.zip --progress=bar:force:noscroll ; unzip ${LIGHTNING_VERSION}.zip ; mv pytorch-lightning-*/ pytorch-lightning ; rm *.zip ; fi &&
  mv pytorch-lightning/notebooks . &&
  mv pytorch-lightning/pl_examples . &&
  python -c "fname = './pytorch-lightning/requirements/extra.txt' ; lines = [line for line in open(fname).readlines() if not line.startswith('horovod')] ; open(fname, 'w').writelines(lines)" &&
  pip install "Pillow>=8.2, !=8.3.0" "cryptography>=3.4" "py>=1.10" --no-cache-dir --upgrade-strategy only-if-needed &&
  pip install -r ./pytorch-lightning/requirements/extra.txt --no-cache-dir --upgrade-strategy only-if-needed &&
  pip install -r ./pytorch-lightning/requirements/examples.txt --no-cache-dir --upgrade-strategy only-if-needed &&
  pip install ./pytorch-lightning --no-cache-dir &&
  pip install "torchmetrics<0.4" &&
  rm -rf pytorch-lightning &&
  pip install jupyterlab[all] -U &&
  pip list
07/01/2021 4:05 PM UTC
sha256:8f5d1a0046c187f64e8ba5a0ff98cc5ec97921a85a75a56a1c199c85eac622bdCOPY
dir:fc3537f2a84f5bfe095844b2999bdd43ba39d228271d7d11d6ce5b9a4617bb7f in /workspace/pytorch-lightning/
07/01/2021 4:05 PM UTC
sha256:d5551f7c31551962407a8c858abd7b14ae3cb073acbf52dc4536770117ea8fe5RUN
LIGHTNING_VERSION=1.3.8 python -c "import torch ; print(torch.__version__)" >> torch_version.info
07/01/2021 4:03 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
LIGHTNING_VERSION=
07/01/2021 4:03 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
maintainer=PyTorchLightning <https://github.com/PyTorchLightning>
07/01/2021 4:03 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
com.nvidia.build.ref=706dbb20f62dd16a38ecdf747ebc479c614b8722
06/17/2021 11:02 PM UTC
...