Notes on gotchas while migrating 35kb preprompts from Opus to self-hosted Ollama
- DiabloD3 - 10623 sekunder sedanThe article doesn't really describe the problem: if your prompt is 35kb, your prompt is confusing, unfocused, and doesn't work right on any LLM, and is needlessly bloating your context.
At this point in time, due to how most people and companies run their inference engine, regardless of the model (yes, this includes the newest from OpenAI and Anthropic and the Chinese Tigers and Dragons), you run out of useful context that the model can accurately attend to around the 250k mark no matter how much they advertise their context size is.
You need to cut your prompt up. If you believe LLMs work, have the LLM help you shape the overall plan, and then have multiple sessions run each step in the plan without being bloated with the context of previous successful steps.
I don't see LLMs being production-ready until the context rot and sampling problem is fixed forever. This has not occurred, and the big inference providers aren't even bothering to integrate any of the research on that subject.
If anything, many of the bigger companies are actively making inference quality worse just to extend their runway a tiny bit farther before they go bankrupt.
The only thing the article gets right is this: if you're serious about LLMs, abandon Big AI and infer locally only. This is the only way you have control over the quality of the output.
- cube00 - 9327 sekunder sedanFriends Don't Let Friends Use Ollama https://news.ycombinator.com/item?id=47788385
- fghorow - 1420 sekunder sedanI've been using Claude Code Extension in VSCode (no phone-home configured), backed by DwarfStar on a LAN local MBPro 128GB M5. The context bloat is horrendous, leading to 5-10 minute prefills.
I've recently been exploring tools like headroom to help manage context, with some limited "success" (for some definition of success). What do others with similar setups do?
(I kind of hate to abandon Claude Code, as it seems to be the most capable coding assistant of the limited set of tools I've tried. But that horrendous context bloat is really painful!)
- andai - 10367 sekunder sedan> Everyone who begins learning exploitation hits a phase of exploitability grief about 3 month into dedicated, practiced study. They hack something they didn’t think they had the skill to break into and it terrifies them. They’re smart enough to know that, relatively speaking, they are an idiot, and if an idiot can do this then nothing is safe. That feeling is correct.
- robotswantdata - 5891 sekunder sedanWhy are you using Ollama? Just use llama.cpp
- SyneRyder - 11205 sekunder sedanTLDR: Local models have a smaller context window, so your 35kB prompts that worked fine against a hosted 1 Million token window, crash out when you only have a 65K (!) token window locally.
I dislike being negative, but I was really hoping for more substance when reading this. It would have been an interesting topic.
- dell2024 - 10687 sekunder sedanI had hoped to get some new information out of this topic, but unfortunately found the same local "dead-ends" that I explored myself.
It unfortunately feels like we will be stuck waiting for a burst bubble before local hardware can be reasonably acquired for personal LLM usage.
- stackedinserter - 9974 sekunder sedanThe main gotcha for local models is insane hardware requirements.
Even for $10K you get mediocre performance.
- - 9904 sekunder sedan
- roschdal - 5291 sekunder sedanSelf-hosted Ollama is the best.
- novaapi - 2500 sekunder sedan[flagged]
- YavenTeam - 3008 sekunder sedan[flagged]
- wonkofatlatl - 8365 sekunder sedan[dead]
Nördnytt! 🤓