Hacker News new | ask | show | jobs
by xyzsparetimexyz 10 days ago
Couldn't someone build an adaptive system, where the llm is frequently judging the difficulty of a task and switching to a more/less powerful model?
4 comments

This only works well if you are creating sub agents with clean contexts for each task. If you constantly are switching models part way through some work then the whole session needs to be replayed each switch. You lose all the benefits of the context cache.
Well yeah, it'd require the models to be loaded on the same system and the cache to be shared between them somehow
Cache sharing is not possible. The numbers in the cache are completely specific to the model.
Currently. I'm sure that you could make a system where the cache values are a superset C of e.g. models A and B where C is probably bigger than max(A,B) but smaller than A+B
Reddit post so take with a grain of salt but this does seem possible. But unclear whether this is actually a viable architecture https://www.reddit.com/r/LocalLLaMA/comments/1t8s83r/nvidia_...
It's equal to A+B. There is literally no sharing possible.
Even when training both models together in a novel way?
The judgment of task difficulty is a cursed problem. In most domains you really don't know what is down there until you start digging a little bit.
Well yeah. You start on as medium model, it does the digging says says 'this task is too easy/hard/just right for me' and go from there.
definitely something that will come sooner than later. In my view, adaption of model routing / model orchestration and mixing providers is just natural next step.
And while you're at it, solve the halting problem.