Skip to content

Commit a651975

Browse files
authored
ci/gpu: setting oldest dependencies (#20939)
* ci/gpu: setting oldest dependencies * pip install "cython<3.0" * deepspeed ==0.9.3 * typing-extensions >=4.5.0 * PyYAML >5.4 * torchmetrics >0.7.0 * lightning-utilities >=0.10.0
1 parent 04379c2 commit a651975

File tree

9 files changed

+19
-9
lines changed

9 files changed

+19
-9
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ jobs:
100100
pip list
101101
displayName: "Image info & NVIDIA"
102102
103+
- bash: |
104+
python .actions/assistant.py replace_oldest_ver
105+
pip install "cython<3.0" wheel # for compatibility
106+
condition: contains(variables['Agent.JobName'], 'oldest')
107+
displayName: "setting oldest dependencies"
108+
103109
- bash: |
104110
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
105111
pip install -q wget packaging

.azure/gpu-tests-pytorch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ jobs:
104104
pip list
105105
displayName: "Image info & NVIDIA"
106106
107+
- bash: |
108+
python .actions/assistant.py replace_oldest_ver
109+
pip install "cython<3.0" wheel # for compatibility
110+
condition: contains(variables['Agent.JobName'], 'oldest')
111+
displayName: "setting oldest dependencies"
112+
107113
- bash: |
108114
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
109115
pip install -q wget packaging

requirements/fabric/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
torch >=2.1.0, <2.8.0
55
fsspec[http] >=2022.5.0, <2025.6.0
66
packaging >=20.0, <=25.0
7-
typing-extensions >=4.4.0, <4.15.0
7+
typing-extensions >=4.5.0, <4.15.0
88
lightning-utilities >=0.10.0, <0.15.0

requirements/fabric/examples.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33

44
torchvision >=0.16.0, <0.23.0
55
torchmetrics >=0.10.0, <1.8.0
6-
lightning-utilities >=0.8.0, <0.15.0

requirements/fabric/strategies.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
# note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
77
# shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
8-
deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
8+
deepspeed >=0.9.3, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
99
# skip bitsandbytes==0.46, due to ValueError: too many values to unpack (expected 2)
1010
bitsandbytes >=0.45.2,!=0.46,<0.47.0; platform_system != "Darwin"

requirements/pytorch/base.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
torch >=2.1.0, <2.8.0
55
tqdm >=4.57.0, <4.68.0
6-
PyYAML >=5.4, <6.1.0
6+
PyYAML >5.4, <6.1.0
77
fsspec[http] >=2022.5.0, <2025.6.0
8-
torchmetrics >=0.7.0, <1.8.0
8+
torchmetrics >0.7.0, <1.8.0
99
packaging >=20.0, <=25.0
10-
typing-extensions >=4.4.0, <4.15.0
10+
typing-extensions >=4.5.0, <4.15.0
1111
lightning-utilities >=0.10.0, <0.15.0

requirements/pytorch/examples.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ requests <2.33.0
55
torchvision >=0.16.0, <0.23.0
66
ipython[all] <8.19.0
77
torchmetrics >=0.10.0, <1.8.0
8-
lightning-utilities >=0.8.0, <0.15.0

requirements/pytorch/strategies.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
55
# shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
6-
deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
6+
deepspeed >=0.9.3, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict

src/version.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.1rc2
1+
2.6.0dev

0 commit comments

Comments
 (0)