2 writes to _cache
Microsoft.ML.GenAI.Mistral (2)
MistralModel.cs (2)
41
this.
_cache
= new DynamicKVCache();
56
this.
_cache
= input.OverrideCache;
2 references to _cache
Microsoft.ML.GenAI.Mistral (2)
MistralModel.cs (2)
129
pastKeyValue: this.
_cache
,
146
return new CausalLMModelOutput(lastHiddenState: hiddenStates, allHiddenStates: allHiddenStates.ToArray(), attentions: allAttentions.ToArray(), cache: this.
_cache
);