File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 4040 # otherwise there is collision with folder name and pkg name on Pypi
4141 cd pytorch-lightning && \
4242 pip install setuptools==75.6.0 && \
43+ pip install -U "lightning-utilities[cli]" && \
44+ # drop deepspeed since it is not supported by our minimal Torch requirements \
45+ if [[ "$PYTORCH_VERSION" =~ ^(2\. 1|2\. 2|2\. 3|2\. 4)$ ]]; then \
46+ python -m lightning_utilities.cli requirements prune-pkgs --packages deepspeed --req_files requirements/fabric/strategies.txt ; \
47+ python -m lightning_utilities.cli requirements prune-pkgs --packages deepspeed --req_files requirements/pytorch/strategies.txt ; \
48+ fi && \
4349 PACKAGE_NAME=lightning pip install '.[extra,loggers,strategies]' --no-cache-dir && \
4450 PACKAGE_NAME=pytorch pip install '.[extra,loggers,strategies]' --no-cache-dir && \
4551 cd .. && \
You can’t perform that action at this time.
0 commit comments