File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ RUN mkdir -p /opt/app-root/src/my_catalogs/cards && chmod -R g+rwx /opt/app-root
12
12
RUN mkdir -p /opt/app-root/src/.cache
13
13
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"
14
14
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 && \
16
19
pip install --no-cache-dir --user -e .[api,ibm_watsonx_ai]
17
20
18
21
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
You can’t perform that action at this time.
0 commit comments