meta-llama / llama-stack

Model components of the Llama Stack APIs
MIT License
3.8k stars 504 forks source link

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

Open bsenftner opened 3 weeks ago

bsenftner commented 3 weeks 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 3 weeks 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 3 weeks 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 3 weeks ago

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

kvchitrapu commented 3 weeks 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 |