Skip to content

Commit f871a24

Browse files
authored
Upgrade verions (#5157)
* upgrade py lib version * Update ['dlc_developer_config.toml'] dlc_developer_config.toml: { 'build': { 'build_frameworks': ['huggingface_pytorch'], 'build_inference': False, 'build_training': True}, 'buildspec_override': { 'dlc-pr-huggingface-pytorch-training': 'huggingface/pytorch/training/buildspec.yml'}, 'dev': { 'arm64_mode': False, 'deep_canary_mode': False, 'graviton_mode': False, 'neuronx_mode': False}, 'test': { 'ec2_tests': True, 'ecs_tests': True, 'eks_tests': True, 'sagemaker_local_tests': True, 'sagemaker_remote_tests': True, 'sanity_tests': True, 'security_tests': True}} * fix dependencies * fix dependencies * fix dependencies * fix pathos dependencies * fix dill version * fix dill version * fix pathos version * fix pathos version * try latest version * try latest version * Revert "try latest version" This reverts commit 912f871. * Revert "try latest version" This reverts commit e905fa9. * restore dlc_developer_config.toml
1 parent 2a3efbf commit f871a24

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

huggingface/pytorch/training/docker/2.6/py3/cu126/Dockerfile.gpu

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LABEL dlc_major_version="2"
1212

1313
# version args
1414
ARG TRANSFORMERS_VERSION=4.51.3
15-
ARG DATASETS_VERSION=3.5.0
15+
ARG DATASETS_VERSION=2.18.0
1616
ARG HUGGINGFACE_HUB_VERSION=0.30.0
1717
ARG DIFFUSERS_VERSION=0.33.1
1818
ARG EVALUATE_VERSION=0.4.3
@@ -22,6 +22,8 @@ ARG PEFT_VERSION=0.14.0
2222
ARG FLASH_ATTN_VERSION=2.7.4.post1
2323
ARG NINJA_VERSION=1.11.1.3
2424
ARG PYTHON=python3
25+
ARG MULTIPROCESS_VERSION=0.70.16
26+
ARG DILL_VERSION=0.3.8
2527

2628
# TODO: Remove when the base image is updated
2729
RUN pip install --upgrade pip \
@@ -47,8 +49,10 @@ RUN pip install --no-cache-dir \
4749
ninja==${NINJA_VERSION} \
4850
trl==${TRL_VERSION} \
4951
peft==${PEFT_VERSION} \
50-
flash-attn==${FLASH_ATTN_VERSION}
51-
52+
flash-attn==${FLASH_ATTN_VERSION} \
53+
dill==${DILL_VERSION} \
54+
multiprocess==${MULTIPROCESS_VERSION} \
55+
"pathos<0.3.3"
5256

5357
# hf_transfer will be a built-in feature, remove the env variable then
5458
ENV HF_HUB_ENABLE_HF_TRANSFER="1"

0 commit comments

Comments
 (0)