Skip to content

Commit dd47b18

Browse files
committed
fix setuptool version
1 parent 9be88d9 commit dd47b18

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

base/buildspec.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ account_id: &ACCOUNT_ID <set-$ACCOUNT_ID-in-environment>
22
prod_account_id: &PROD_ACCOUNT_ID 763104351884
33
region: &REGION <set-$REGION-in-environment>
44
framework: &FRAMEWORK base
5-
version: &VERSION 12.8.1
6-
short_version: &SHORT_VERSION "12.8"
5+
version: &VERSION 12.6.3
6+
short_version: &SHORT_VERSION "12.6"
77
arch_type: &ARCH_TYPE x86_64
88
autopatch_build: "False"
99

@@ -32,7 +32,7 @@ context:
3232
target: install_efa.sh
3333

3434
images:
35-
base_x86_64_gpu_cuda128:
35+
base_x86_64_gpu_cuda126:
3636
<<: *BASE_REPOSITORY
3737
context:
3838
<<: *BASE_CONTEXT

base/x86_64/gpu/cu128/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ COPY --from=cuda-builder /usr/local/cuda-${CUDA_MAJOR}.${CUDA_MINOR} /usr/local/
9797
COPY install_efa.sh install_efa.sh
9898
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
9999
COPY bash_telemetry.sh /usr/local/bin/bash_telemetry.sh
100-
RUN ${PIP} --no-cache-dir install --upgrade \
101-
pip \
102-
setuptools
100+
103101
RUN chmod +x /usr/local/bin/deep_learning_container.py && \
104102
chmod +x /usr/local/bin/bash_telemetry.sh && \
105103
echo 'source /usr/local/bin/bash_telemetry.sh' >> /etc/bash.bashrc && \

scripts/install_python.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function install_python {
2424
# this will add pip systemlink to pip${PYTHON_MAJOR_VERSION}
2525
python -m pip install --upgrade pip --trusted-host pypi.org --trusted-host files.pythonhosted.org
2626
python -m pip install --no-cache-dir awscli boto3 requests setuptools
27+
python -m pip install --no-cache-dir --upgrade setuptools
2728
}
2829

2930
# idiomatic parameter and option handling in sh

0 commit comments

Comments
 (0)