Skip to content
2 changes: 1 addition & 1 deletion pytorch/training/docker/2.8/py3/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ RUN pip install --no-cache-dir -U torch==${PYTORCH_VERSION} \
accelerate \
# pin numpy requirement for fastai dependency
# requires explicit declaration of spacy, thic, blis
spacy \
spacy==3.8.7 \
# pin thinc due to incompatibility with numpy 1.26.4 (sagemaker doesn't support latest numpy)
thinc==8.3.4 \
blis \
Expand Down
2 changes: 1 addition & 1 deletion pytorch/training/docker/2.8/py3/cu129/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ RUN pip install --no-cache-dir -U torch==${PYTORCH_VERSION} \
accelerate \
# pin numpy requirement for fastai dependency
# requires explicit declaration of spacy, thic, blis
spacy \
spacy==3.8.7 \
# pin thinc due to incompatibility with numpy 1.26.4 (sagemaker doesn't support latest numpy)
thinc==8.3.4 \
blis \
Expand Down