You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Linux Python SDK, Pydantic warning and updates the ExecuteCommandWithCallback signature (#593)
This pull-request has 3 changes:
- Fixes the pydantic warnings by intializing `model_config =
ConfigDict(protected_namespaces=())`
- Fixes Linux python sdk by depending on onnxruntime-gpu and
onnxruntime-genai-cuda on Linux
- Updates the callback signature because FLC updated the callback
signature to return an int instead of void. Returning 1 means that the
execute command operation should be cancelled, whereas 0 means to
continue. The actual model download cancellation support is not part of
this pull-request. Will add it in a subsequent PR.
---------
Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
0 commit comments