Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions pytorch/training/docker/2.8/py3/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ RUN pip install --no-cache-dir \
"requests>=2.32.0" \
"setuptools>=70.0.0" \
"urllib3>=2.5.0" \
"awscli" \
awscli \
opencv-python==4.11.0.86 \
mpi4py \
jinja2>=3.1.6 \
Expand Down Expand Up @@ -282,10 +282,12 @@ WORKDIR /
# Install SM packages
RUN pip install --no-cache-dir -U \
smclarify \
"sagemaker>=2" \
"sagemaker==2.254.1" \
sagemaker-experiments \
sagemaker-pytorch-training \
sagemaker-training
sagemaker-training \
# Add sniffio explicitly as it's not included in sagemaker==2.254.1 dependencies
sniffio

# Install extra packages
RUN pip install --no-cache-dir -U \
Expand All @@ -297,7 +299,7 @@ RUN pip install --no-cache-dir -U \
scikit-learn \
seaborn \
shap \
cloudpickle
cloudpickle

# Copy workaround script for incorrect hostname
COPY changehostname.c /
Expand Down
8 changes: 5 additions & 3 deletions pytorch/training/docker/2.8/py3/cu129/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ RUN pip install --no-cache-dir -U \
"awscli<1.42.50" \
"boto3<1.40.50" \
smclarify \
"sagemaker>=2" \
"sagemaker==2.254.1" \
sagemaker-experiments \
sagemaker-pytorch-training \
sagemaker-training
sagemaker-training \
# Add sniffio explicitly as it's not included in sagemaker==2.254.1 dependencies
sniffio

# Install extra packages
RUN pip install --no-cache-dir -U \
Expand All @@ -265,7 +267,7 @@ RUN pip install --no-cache-dir -U \
shap \
scikit-learn \
seaborn \
cloudpickle
cloudpickle

COPY setup_oss_compliance.sh setup_oss_compliance.sh
RUN bash setup_oss_compliance.sh ${PYTHON} && rm setup_oss_compliance.sh
Expand Down