| ▲ | danilovilhena a day ago | |||||||||||||||||||||||||||||||||||||||||||
How does it deal with prompt caching? Do you have any resource for this, I'd like to check it out. I've heard changing models messes up caching and costs more. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | FrancescoMassa a day ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||
For sure that’s absolutely true because you’re switching context from a kV cache to another one. We introduced 2 algorythms for solving this : 1) sticky : switches model only when convenient 2) smartsqueeze : fast advanced compression for reingesting context | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | verdverm a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||
If you switch models, you have no cache. There is no way to change this as they depend on sending the tokens through the weights and saving the computation results. Different model, different tokens, different weights, different calculation. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||