File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ LABEL maintainer="Lightning-AI <https://github.com/Lightning-AI>"
2323ARG LIGHTNING_VERSION=""
2424
2525COPY ./ /home/pytorch-lightning/
26- SHELL ["/bin/bash" , "-c" ]
2726
2827# install dependencies
2928RUN \
4342 # pip install setuptools==75.6.0 && \
4443 pip install -U "lightning-utilities[cli]" && \
4544 # drop deepspeed since it is not supported by our minimal Torch requirements \
45+ echo "PYTORCH_VERSION is: '$PYTORCH_VERSION'" && \
4646 if [[ "$PYTORCH_VERSION" =~ ^(2\. 1|2\. 2|2\. 3|2\. 4)$ ]]; then \
4747 python -m lightning_utilities.cli requirements prune-pkgs --packages deepspeed --req_files requirements/fabric/strategies.txt ; \
4848 python -m lightning_utilities.cli requirements prune-pkgs --packages deepspeed --req_files requirements/pytorch/strategies.txt ; \
You can’t perform that action at this time.
0 commit comments