Skip to content

Commit 7f874ff

Browse files
author
Bhanu Teja Goshikonda
committed
Fix package regression in PyTorch 2.7.1 training images
1 parent 64263e3 commit 7f874ff

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

pytorch/training/docker/2.7/py3/Dockerfile.cpu

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ RUN pip install --no-cache-dir \
178178
ipykernel \
179179
pillow \
180180
h5py \
181-
fsspec \
181+
"fsspec>=2025.7.0" \
182+
"s3fs>=2025.9.0" \
182183
"idna>=3.7" \
183184
"tqdm>=4.66.3" \
184185
"requests>=2.32.0" \
@@ -188,7 +189,20 @@ RUN pip install --no-cache-dir \
188189
"opencv-python==4.11.0.86" \
189190
mpi4py \
190191
jinja2>=3.1.6 \
191-
tornado>=6.5.1
192+
tornado>=6.5.1 \
193+
"aiobotocore>=2.5.0" \
194+
"aiohttp>=3.8.0" \
195+
"aioitertools>=0.11.0" \
196+
"aiosignal>=1.3.1" \
197+
"aiohappyeyeballs>=2.3.0" \
198+
"frozenlist>=1.4.0" \
199+
"multidict>=6.0.0" \
200+
"propcache>=0.1.0" \
201+
"yarl>=1.9.1" \
202+
"langcodes>=3.3.0" \
203+
"language-data>=1.2.0" \
204+
"marisa-trie>=1.1.0" \
205+
"typer>=0.9.0"
192206

193207
RUN curl -o /license.txt https://aws-dlc-licenses.s3.amazonaws.com/pytorch-2.7/license.txt
194208

pytorch/training/docker/2.7/py3/cu128/Dockerfile.gpu

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ RUN pip install --no-cache-dir \
129129
"pillow>=11.3.0" \
130130
h5py \
131131
"fsspec>=2025.7.0" \
132+
"s3fs>=2025.9.0" \
132133
"markupsafe>=3.0.2" \
133134
mpi4py \
134135
s3torchconnector \
@@ -150,6 +151,19 @@ RUN pip install --no-cache-dir \
150151
blis \
151152
"jinja2>=3.1.6"\
152153
"typing-extensions>=4.14.1" \
154+
"aiobotocore>=2.5.0" \
155+
"aiohttp>=3.8.0" \
156+
"aioitertools>=0.11.0" \
157+
"aiosignal>=1.3.1" \
158+
"aiohappyeyeballs>=2.3.0" \
159+
"frozenlist>=1.4.0" \
160+
"multidict>=6.0.0" \
161+
"propcache>=0.1.0" \
162+
"yarl>=1.9.1" \
163+
"langcodes>=3.3.0" \
164+
"language-data>=1.2.0" \
165+
"marisa-trie>=1.1.0" \
166+
"typer>=0.9.0" \
153167
&& pip uninstall -y dataclasses
154168

155169
# Removing the cache as it is needed for security verification
@@ -227,4 +241,4 @@ RUN bash setup_oss_compliance.sh ${PYTHON} && rm setup_oss_compliance.sh
227241
RUN rm -rf /root/.cache | true
228242

229243
ENTRYPOINT ["bash", "-m", "start_with_right_hostname.sh"]
230-
CMD ["/bin/bash"]
244+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)