Skip to content

Commit 11cb788

Browse files
committed
fix(lmeval): Fix including LMEH 0.4.5 in ta-lmes-job image
1 parent 79a753f commit 11cb788

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile.lmes-job

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ RUN mkdir -p /opt/app-root/src/my_catalogs/cards && chmod -R g+rwx /opt/app-root
1212
RUN mkdir -p /opt/app-root/src/.cache
1313
ENV PATH="/opt/app-root/bin:/opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
1414

15-
RUN git clone --depth 1 -b release-0.4.5 https://github.com/opendatahub-io/lm-evaluation-harness.git . && \
15+
RUN curl -L https://github.com/opendatahub-io/lm-evaluation-harness/archive/refs/heads/release-0.4.5.zip -o repo.zip && \
16+
unzip repo.zip && \
17+
cp -r lm-evaluation-harness-release-0.4.5/* . && \
18+
rm -rf lm-evaluation-harness-release-0.4.5 repo.zip && \
1619
pip install --no-cache-dir --user -e .[api,ibm_watsonx_ai]
1720

1821
RUN python -c 'from lm_eval.tasks.unitxt import task; import os.path; print("class: !function " + task.__file__.replace("task.py", "task.Unitxt"))' > ./my_tasks/unitxt

0 commit comments

Comments
 (0)