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
fb7bb69ddcb41ccdec92160b35984bbb2c8509159386a55bd73fb577aff1445bRUN
/bin/sh
06/22/2021 3:56 PM UTC
d8030b0a84171873868f61d6283111cb94585610043f34c5054fb787369de801RUN
LIGHTNING_VERSION=1.3.7 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__)"
06/22/2021 3:56 PM UTC
7278767aad0b69286e2266c2234653a203be5fdb3397cc017d0f2e88343d7b57ENV
PYTHONPATH=/workspace
06/22/2021 3:56 PM UTC
99d198f2bab931252a89d489d2c15b6c449aefe609dade577d7c16751005cd76RUN
LIGHTNING_VERSION=1.3.7 pip install lightning-grid -U &&
  pip install "py>=1.10" "protobuf>=3.15.6" --upgrade-strategy only-if-needed
06/22/2021 3:56 PM UTC
d757919c35dd1c246fe10b87dc0f52a62033e898487b49cebbd6c607d95921d6RUN
LIGHTNING_VERSION=1.3.7 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" "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 &&
  rm -rf pytorch-lightning &&
  pip install jupyterlab[all] -U &&
  pip list
06/22/2021 3:55 PM UTC
9c5bbe0cff71e16ba17e748732ee0a9d2db6a622ca3de3d5c965877038ee6740COPY
dir:5f1465a607e63575f039186b80220deffde0718dbdf4444de4a4f55a74ffdc22 in /workspace/pytorch-lightning/
06/22/2021 3:55 PM UTC
27e09f7217ec47f2a862c6f0226d72e8ee9df1fa69aee16a54a56880891ac869RUN
LIGHTNING_VERSION=1.3.7 python -c "import torch ; print(torch.__version__)" >> torch_version.info
06/22/2021 3:55 PM UTC
48d073e1af6da862d9a4522686b78814c348fed009371fdeceadbb9b963efd66ARG
LIGHTNING_VERSION=
06/18/2021 7:33 PM UTC
609c2d846d7165d981eaccfe021d8c2ef0d88b83a0d9d37e806fcad791637688LABEL
maintainer=PyTorchLightning <https://github.com/PyTorchLightning>
06/18/2021 7:33 PM UTC
bef7c9a184c1c0ddd009cf75ce8290e9c0664de911f5454b70b7cecd6090abb9LABEL
com.nvidia.build.ref=870e57ef3f56266c8d0d0cb5bdc6e4c15c39e835
04/28/2021 10:49 PM UTC
...