First, you need all of those conditions to apply, not just some. Second, I'm not sure what you mean by "launched from the same process" - if they're 2 isolated processes on the same system with no intention of making them cooperate, then I don't think they gain much.
I do not understand how two models are launched, so I do not understand what conditions apply. I tried to ask if there conditions where this can happen, but I gather it is pretty unlikely.
Models actually run on the inference server. An "agent" is simply a name for any process that is able to access an LLM to guide its next steps. Usually an agent runs on your own system, maybe in an isolated environment like a container or a VM, and talks to a remote inference server. The inference server is often stateless, except for the cache - the agent sends its entire history every time it contacts the inference server ("first I asked this, and you answered that, and then I said this, and then you answered that, and [...] and now what do I do next?"). The inference server checks if this history exists in its cache already, and either loads the precomputed KV values from there as an optimization, or it re-computes them if not. In principle this cache process is entirely transparent, though the blog post is right that various implementation details can make it not fully transparent.
Replies (1)
Replies (1)