File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -12,13 +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 pip install --no-cache-dir --user --upgrade ibm-generative-ai[lm-eval]
16
- COPY --chown=1001:0 patch /opt/app-root/src/patch
17
15
# Clone the Git repository, check out v0.4.4 and install the Python package
18
16
RUN git clone https://github.com/opendatahub-io/lm-evaluation-harness.git && \
19
17
cd lm-evaluation-harness && git checkout 543617fef9ba885e87f8db8930fbbff1d4e2ca49 && \
20
- curl --output lm_eval/models/bam.py https://raw.githubusercontent.com/IBM/ibm-generative-ai/main/src/genai/extensions/lm_eval/model.py && \
21
- git apply /opt/app-root/src/patch/lmes/models.patch && pip install --no-cache-dir --user -e .[api]
18
+ pip install --no-cache-dir --user -e .[api]
22
19
23
20
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
24
21
You can’t perform that action at this time.
0 commit comments