Skip to content

Commit d1c8e9e

Browse files
committed
fix dependencies
1 parent bd1f557 commit d1c8e9e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,9 @@ RUN pip install --no-cache-dir \
4747
ninja==${NINJA_VERSION} \
4848
trl==${TRL_VERSION} \
4949
peft==${PEFT_VERSION} \
50-
flash-attn==${FLASH_ATTN_VERSION}
51-
52-
# Override conflicting versions to satisfy datasets
53-
RUN pip install --no-cache-dir dill==0.3.8 multiprocess==0.70.16 \
54-
&& pip install --no-cache-dir pathos==0.3.3 --no-deps \
55-
&& PATHOS_META=$(find /opt/conda/lib -type f -path "*pathos-0.3.3.dist-info/METADATA") \
56-
&& sed -i 's/dill.*/dill/' $PATHOS_META \
57-
&& sed -i 's/multiprocess.*/multiprocess/' $PATHOS_META
50+
flash-attn==${FLASH_ATTN_VERSION} \
51+
dill==0.3.8 \
52+
multiprocess==0.70.16
5853

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

0 commit comments

Comments
 (0)