simonw / simonw/llm

Following simonw's blog yields `Error:`

Open
#309 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Hi! I have followed every step in Run Llama 2 on your own Mac using LLM and Homebrew, in particular:

pipx install llm # python 3.11
llm install llm-llama-cpp
llm install llama-cpp-python
llm llama-cpp download-model \
  https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q8_0.bin \
  --alias llama2-chat --alias l2c --llama2-chat

Next, I ran

❯ llm -m l2c 'Tell me a joke about a llama'
Error: 

Any ideas how I can debug this issue?

Up: I am on MacOs Sonoma (14.0), M1 arch.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed pipx, plugin, model-download, and llm commands on an M1 Mac running Sonoma, then capture diagnostic output beyond the blank Error message. Trace whether the failure comes from Python, the installed llama-cpp plugin, or the downloaded model; done means identifying a reproducible cause and documenting a working fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
ai, cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.