1 write to SlidingWindow
Microsoft.ML.GenAI.Mistral (1)
MistralConfig.cs (1)
35
this.
SlidingWindow
??= 4096;
1 reference to SlidingWindow
Microsoft.ML.GenAI.Mistral (1)
MistralModel.cs (1)
109
attentionMask = AttentionMaskConverter.Create4DCausalAttentionMask(attentionMask, [batchSize, seqLength], inputsEmbeds.dtype, device, pastKeyValuesLength, slidingWindow: _config.
SlidingWindow
);