Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix dependency error in the job image #296

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile.lmes-job
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ COPY --chown=1001:0 patch /opt/app-root/src/patch
RUN git clone https://github.com/opendatahub-io/lm-evaluation-harness.git && \
cd lm-evaluation-harness && git checkout 568af943e315100af3f00937bfd6947844769ab8 && \
curl --output lm_eval/models/bam.py https://raw.githubusercontent.com/IBM/ibm-generative-ai/main/src/genai/extensions/lm_eval/model.py && \
git apply /opt/app-root/src/patch/lmes/models.patch && pip install --no-cache-dir --user -e .[unitxt] .[openai]
git apply /opt/app-root/src/patch/lmes/models.patch && pip install --no-cache-dir --user -e .[unitxt] && \
pip install --no-cache-dir --user -e .[openai]

ENV PYTHONPATH=/opt/app-root/src/.local/lib/python3.11/site-packages:/opt/app-root/src/lm-evaluation-harness:/opt/app-root/src:/opt/app-root/src/server
ENV HF_HOME=/opt/app-root/src/hf_home
Expand Down
Loading