| I need to play around with this. I am running on a Ryzen 5950X, 64GB DDR4 Ram and a Radeon RX 6700 XT with 12GB... I don't expect wonders, but I have between 11 and 120 (!) t/s. I told it an open ended question: "What would you improve in this file at {location} in {bigger project}" and the context window seems to be too small. It's running in circles. I must be doing something wrong. Again, I am not expecting wonders and I am totally willing to accept that "I am holding it wrong". llama-server \
-m ~/models/tiel-coder/Tiel-Coder-35B-A3B-MTP-UD-IQ4_XS.gguf \
-ngl 20 \
-c 16384 \
--jinja \
--alias tiel-coder using it in opencode {
"$schema": "https://opencode.ai/config.json",
"provider": {
"llamacpp": {
"npm": "@ai-sdk/openai-compatible",
"name": "Local llama.cpp",
"options": {
"baseURL": "http://127.0.0.1:8080/v1"
},
"models": {
"tiel-coder": {
"name": "Tiel-Coder 35B A3B",
"limit": {
"context": 16384,
"output": 4096
}
}
}
}
},
"model": "llamacpp/tiel-coder"
} |
If you drop the thinking level to low or even off the context will go further at the cost of the models intelligence. That might also help you get some answer but since such a question will read so many files into that context its the wrong approach. This is one of the bigger limitations of local LLMs, you can't do work that spans across a lot of files because you are almost always context limited. There is a limit of 1M even with the frontier so even that can't review an entire project. Focussing in on individual files or small groups is more achievable.
So just to be specific the -c needs to be >65536 and depending on the size of what is in the folder might very well not be enough.