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
bb1b5cbf9ba55e3d37b6821d6c5062c7a0c2e60c402926e0577e389eb66eade9RUN
/bin/sh
07/30/2021 9:49 AM UTC
157287510f092fceced6b04b8b9819a24228c615ce8c0b64828b96175dc01772RUN
LIGHTNING_VERSION=1.4.0 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/30/2021 9:49 AM UTC
b235e1397ee8b08da6d331afc3bd81e18e546c42db123e8253d0e18bd8aa9f61ENV
PYTHONPATH=/workspace
07/30/2021 9:49 AM UTC
bd92958a9421c17f6515db9412dff3bc7a1d1f136702930ea0fb35be81122f8eRUN
LIGHTNING_VERSION=1.4.0 pip install lightning-grid -U &&
  pip install "py>=1.10" "protobuf>=3.15.6" --upgrade-strategy only-if-needed
07/30/2021 9:49 AM UTC
eb651fbaaabfb60ea576f9fa7af3bdeb4a6527756c647d3557d6011e78784e2bRUN
LIGHTNING_VERSION=1.4.0 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 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 &&
  rm -rf pytorch-lightning &&
  pip install jupyterlab[all] -U &&
  pip list
07/30/2021 9:49 AM UTC
035ac42d3c90514e0c6c9411bd7c72de56d7b80cfb3252017e9a1cd0e3df84c9COPY
dir:18343663bb5c081c808682b9b2f5c51bf92b2c1c765c467371bdc0fe42cbe762 in /workspace/pytorch-lightning/
07/30/2021 9:48 AM UTC
686e3b6b9891b8d75bd14ee0f84bc4d9f13ca4fb8aaf7d1ad95d2ac6ab6d3401RUN
LIGHTNING_VERSION=1.4.0 python -c "import torch ; print(torch.__version__)" >> torch_version.info
07/30/2021 9:48 AM UTC
615992dba0bd8d822e5248eddcba28397b90f7cd4aa46fc2fa2835c4cc5bac29ARG
LIGHTNING_VERSION=
07/30/2021 9:48 AM UTC
f8c1e83583c0d2f66bade43df54290b3bdaaf6099f2e8609dd32d41792440069LABEL
maintainer=PyTorchLightning <https://github.com/PyTorchLightning>
07/30/2021 9:48 AM 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.