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