meta-llama / llama-stack

Composable building blocks to build Llama Apps
MIT License
4.58k stars 577 forks source link

Docker Build Fails Due to Invalid File Path in ADD Command #141

Open CarrotKan opened 1 month ago

CarrotKan commented 1 month ago

error message: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 15120e76-2864-4c89-91bc-9a3e64744d1d::jmn4a98bdl0q4ptn73a1s2iym: "/.local/share/virtualenvs/Llama_stack_chat-htDpca_X/lib/python3.10/site-packages/llama_stack/configs/distributions/docker/challama-build.yaml": not found

Macos -- 14.6.1 M2

yanxi0830 commented 1 month ago

This is the same issue as https://github.com/meta-llama/llama-stack/issues/100 which has been recently fixed. Could you check if installing from source works for you?

mkdir -p ~/local
cd ~/local
git clone git@github.com:meta-llama/llama-stack.git

conda create -n stack python=3.10
conda activate stack

cd llama-stack
$CONDA_PREFIX/bin/pip install -e .

llama stack build
CarrotKan commented 1 month ago

I am unable to install conda, is there an expected update to the python package to fix the docker issue ? @yanxi0830