12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ARG PYTORCH_VERSION=21.11
15
+ ARG PYTORCH_VERSION=22.04
16
16
17
17
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
18
18
FROM nvcr.io/nvidia/pytorch:${PYTORCH_VERSION}-py3
@@ -37,20 +37,19 @@ RUN \
37
37
cd .. ; \
38
38
fi && \
39
39
# save the examples
40
- mv pytorch-lightning/_notebooks notebooks && \
40
+ mv pytorch-lightning/_notebooks/.notebooks/ notebooks && \
41
41
mv pytorch-lightning/pl_examples . && \
42
42
43
43
# Installations \
44
44
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 && \
50
48
rm -rf pytorch-lightning && \
51
- pip install jupyterlab[all] -U && \
52
49
pip list
53
50
51
+ RUN pip install jupyterlab[all] -U
52
+
54
53
RUN pip install lightning-grid -U && \
55
54
pip install "py>=1.10" "protobuf>=3.15.6" --upgrade-strategy only-if-needed
56
55
0 commit comments