OnnxRuntimeGenAIPromptExecutionSettings.PastPresentShareBuffer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The past/present kv tensors are shared and allocated once to max_length (cuda only)
[System.Text.Json.Serialization.JsonPropertyName("past_present_share_buffer")]
public bool? PastPresentShareBuffer { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("past_present_share_buffer")>]
member this.PastPresentShareBuffer : Nullable<bool> with get, set
Public Property PastPresentShareBuffer As Nullable(Of Boolean)
Property Value
- Attributes