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
e946a6f881d9d82792947148a4b287394c6598092b7c421964c81d6e24179d56RUN
/bin/sh
07/01/2021 4:06 PM UTC
c962b73ff436978ee285534cebc32ebdea21d7bf996828e2684d1232555397a0RUN
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
011586b17f22697a306287b105cc29c4495d80e352bdec33b9653a197c19603fENV
PYTHONPATH=/workspace
07/01/2021 4:06 PM UTC
c5cf2074a8f785bba254932ded88ce820e604f5cb5116d5bf0489a7d27ac4bf6RUN
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
0b255c42a70c59a000dd5a04bf095b47e389a4aa5e7bca7bccdee80c34bb5270RUN
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
9452ea9f9586a5724fdfb2de4a4bda4c8cfde73d3a2b03df824d80315951e26aCOPY
dir:fc3537f2a84f5bfe095844b2999bdd43ba39d228271d7d11d6ce5b9a4617bb7f in /workspace/pytorch-lightning/
07/01/2021 4:05 PM UTC
7ced3d6272509d67eec2bd81263a8741f6b1b5c4a63831af7d83f4907f23f9ecRUN
LIGHTNING_VERSION=1.3.8 python -c "import torch ; print(torch.__version__)" >> torch_version.info
07/01/2021 4:03 PM UTC
615992dba0bd8d822e5248eddcba28397b90f7cd4aa46fc2fa2835c4cc5bac29ARG
LIGHTNING_VERSION=
07/01/2021 4:03 PM UTC
f8c1e83583c0d2f66bade43df54290b3bdaaf6099f2e8609dd32d41792440069LABEL
maintainer=PyTorchLightning <https://github.com/PyTorchLightning>
07/01/2021 4:03 PM UTC
bf0c02a731aedcf4d25a318fd1c2517f00c19cfcb1af7c7e8963a4993b83c519LABEL
com.nvidia.build.ref=706dbb20f62dd16a38ecdf747ebc479c614b8722
06/17/2021 11:02 PM UTC
...

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.