1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- ARG PYTORCH_VERSION=21.11
15+ ARG PYTORCH_VERSION=22.04
1616
1717# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
1818FROM nvcr.io/nvidia/pytorch:${PYTORCH_VERSION}-py3
@@ -37,20 +37,19 @@ RUN \
3737 cd .. ; \
3838 fi && \
3939# save the examples
40- mv pytorch-lightning/_notebooks notebooks && \
40+ mv pytorch-lightning/_notebooks/.notebooks/ notebooks && \
4141 mv pytorch-lightning/pl_examples . && \
4242
4343# Installations \
4444 pip install -q fire && \
45- python ./pytorch-lightning/.actions/assistant.py requirements_prune_pkgs horovod --req_files ./pytorch-lightning/requirements/extra.txt && \
46- pip install "Pillow>=8.2, !=8.3.0" "cryptography>=3.4" "py>=1.10" --no-cache-dir --upgrade-strategy only-if-needed && \
47- pip install -r ./pytorch-lightning/requirements/extra.txt --no-cache-dir --upgrade-strategy only-if-needed && \
48- pip install -r ./pytorch-lightning/requirements/examples.txt --no-cache-dir --upgrade-strategy only-if-needed && \
49- pip install ./pytorch-lightning --no-cache-dir && \
45+ pip install "Pillow>=8.2, !=8.3.0" "cryptography>=3.4" "py>=1.10" --no-cache-dir && \
46+ pip install ./pytorch-lightning["extra" ,"loggers" ,"strategies" ] --no-cache-dir && \
47+ pip install -r ./pytorch-lightning/requirements/examples.txt --no-cache-dir && \
5048 rm -rf pytorch-lightning && \
51- pip install jupyterlab[all] -U && \
5249 pip list
5350
51+ RUN pip install jupyterlab[all] -U
52+
5453RUN pip install lightning-grid -U && \
5554 pip install "py>=1.10" "protobuf>=3.15.6" --upgrade-strategy only-if-needed
5655
0 commit comments