containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
103 stars 106 forks source link

Error when trying to build Intel InstructLab Container #720

Open raravind007 opened 1 month ago

raravind007 commented 1 month ago

I tried to build the InstructLab container for Intel platform as explained here: https://github.com/containers/ai-lab-recipes/tree/main/training. make instruct-intel gives the following error. OS: Fedora Linux 40 (Workstation Edition)

STEP 2/18: ARG PYTHON=python3.10
STEP 3/18: ENV PYTHON="${PYTHON}"     APP_ROOT="/opt/app-root"
STEP 4/18: ENV PIP_DISABLE_PIP_VERSION_CHECK=1     PIP_NO_COMPILE=1     PS1="(app-root) \w\$ "     VIRTUAL_ENV="${APP_ROOT}"     PATH="${APP_ROOT}/bin:${PATH}"
STEP 5/18: RUN ${PYTHON} -m venv --upgrade-deps --system-site-packages ${VIRTUAL_ENV} &&     mkdir ${VIRTUAL_ENV}/src &&     find ${VIRTUAL_ENV} -name __pycache__ | xargs rm -rf
STEP 6/18: COPY containers/sitecustomize.py ${VIRTUAL_ENV}/lib/${PYTHON}/site-packages/
STEP 7/18: COPY containers/bin/debug-* ${VIRTUAL_ENV}/bin/
STEP 8/18: COPY requirements.txt requirements-hpu.txt /tmp
Error: building at STEP "COPY requirements.txt requirements-hpu.txt /tmp": checking on sources under "/home/ai-lab-recipes/training/instructlab/instructlab": copier: stat: "/requirements-hpu.txt": no such file or directory
make[1]: *** [Makefile:62: ../build/instructlab-intel/oci-layout] Error 125
make[1]: Leaving directory '/home/ai-lab-recipes/training/instructlab'
make: *** [Makefile:49: instruct-intel] Error 2