meta-llama / llama-stack

Composable building blocks to build Llama Apps
MIT License
4.69k stars 604 forks source link

git clone of repo fails, pip install lama-stack does not provide llama cli tool #127

Open bsenftner opened 2 months ago

bsenftner commented 2 months ago

Attempting to git clone this repo fails with no public read permission.

Doing a "pip install llama-stack" appears to work, but there is no llama cli tool afterwards.

So, this repo appears to be a nop, can't get anything to work at all.

bsenftner commented 2 months ago

I manually downloaded the repo and tried the manual install steps given in the README. This error is emitted:

ERROR: file:///home/bsenftner/meta/llama-stack-main/llama_stack does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

bsenftner commented 2 months ago

The README instructions are wrong, they say to run:

$CONDA_PREFIX/bin/pip install -e .

From the llama_stack directory, which is wrong, it should be run one directory above.

yanxi0830 commented 2 months ago

Yes, the directory to run pip install -e . is in the llama-stack directory, not llama-stack/llama_stack.

kvchitrapu commented 2 months ago

I installed in a venv and llama cli installed fine. BTW, I didn't clone the git repo.

pip install llama-stack $ ls -l which llama .../.venv/bin/llama $ llama model list --show-all +----------------------------------+------------------------------------------+----------------+ | Model Descriptor | HuggingFace Repo | Context Length | +----------------------------------+------------------------------------------+----------------+ | Llama-2-7b | meta-llama/Llama-2-7b | 4K |