Empty error: Is there a debug of verbose option?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 998
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
Hi there, I'm just getting started with this tool (fantastic abstractions, kudos!), using this guide: https://simonwillison.net/2023/Aug/1/llama-2-mac/
Unfortunately, while all the prerequisites succeeded without any issues, running the actual prompt results in an empty error. Is there any way to run it to reveal more debug information?
➜ ~/llm➜ llm -m l2c 'Tell me a joke about a llama'
Error:
Some context if it would be helpful:
➜ ~/llm➜ which llm
/usr/local/bin/llm
➜ ~/llm➜ python --version
Python 3.11.5
➜ ~/llm➜ stat /Users/nppinski/Library/Application\ Support/io.datasette.llm/llama-cpp/models/llama-2-7b-chat.ggmlv3.q8_0.bin
16777230 157262586 -rw-r--r-- 1 nppinski staff 0 7160799872 "Aug 27 15:55:00 2023" "Aug 27 15:55:00 2023" "Aug 27 15:55:00 2023" "Aug 27 15:46:31 2023" 4096 13993408 0 /Users/nppinski/Library/Application Support/io.datasette.llm/llama-cpp/models/llama-2-7b-chat.ggmlv3.q8_0.bin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported llm -m l2c command using the documented llama-2 setup and inspect why it produces only Error:. Done means the command can expose useful debug information for this failure instead of an empty error message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100