Skip to content

Commit 00c21d8

Browse files
author
Bhanu Teja Goshikonda
committed
explicitly declared typer, langcodes and language_data
1 parent 459eea0 commit 00c21d8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,14 @@ RUN pip install --no-cache-dir -U torch==${PYTORCH_VERSION} \
205205
fastai \
206206
accelerate \
207207
# pin numpy requirement for fastai dependency
208-
# requires explicit declaration of spacy, thic, blis
208+
# requires explicit declaration of spacy, thic, blis, typer, langcodes, language_data
209209
spacy \
210210
# pin thinc due to incompatibility with numpy 1.26.4 (sagemaker doesn't support latest numpy)
211211
thinc==8.3.4 \
212212
blis \
213+
typer \
214+
langcodes \
215+
language_data \
213216
numpy \
214217
&& pip uninstall -y dataclasses
215218

pytorch/training/docker/2.8/py3/cu129/Dockerfile.gpu

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,14 @@ RUN pip install --no-cache-dir -U torch==${PYTORCH_VERSION} \
125125
fastai \
126126
accelerate \
127127
# pin numpy requirement for fastai dependency
128-
# requires explicit declaration of spacy, thic, blis
128+
# requires explicit declaration of spacy, thic, blis, typer, langcodes, language_data
129129
spacy \
130130
# pin thinc due to incompatibility with numpy 1.26.4 (sagemaker doesn't support latest numpy)
131131
thinc==8.3.4 \
132132
blis \
133+
typer \
134+
langcodes \
135+
language_data \
133136
numpy \
134137
&& pip uninstall -y dataclasses
135138

0 commit comments

Comments
 (0)