HuggingFacePromptExecutionSettings.WaitForModel 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.
(Default: false) Boolean. If the model is not ready, wait for it instead of receiving 503. It limits the number of requests required to get your inference done. It is advised to only set this flag to true after receiving a 503 error as it will limit hanging in your application to known places.
[System.Text.Json.Serialization.JsonPropertyName("wait_for_model")]
public bool WaitForModel { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("wait_for_model")>]
member this.WaitForModel : bool with get, set
Public Property WaitForModel As Boolean
Property Value
- Attributes
Remarks
This may not be supported by all models/inference API.