-
Notifications
You must be signed in to change notification settings - Fork 227
Description
Hello,
Is the rust sdk in this repository supported by microsoft?
The example doesn't run on my PC, failing with the following error:
Available models in catalog:
Error: JSON parsing error: unknown variant `NvTensorRTRTXExecutionProvider`, expected one of `CPUExecutionProvider`, `WebGpuExecutionProvider`, `CUDAExecutionProvider`, `QNNExecutionProvider` at line 20 column 59
And indeed there is no NvTensorRTRTXExecutionProvider in the rust client:
Foundry-Local/sdk/rust/src/models.rs
Lines 25 to 34 in fdcce52
| pub enum ExecutionProvider { | |
| #[serde(rename = "CPUExecutionProvider")] | |
| CPU, | |
| #[serde(rename = "WebGpuExecutionProvider")] | |
| WebGPU, | |
| #[serde(rename = "CUDAExecutionProvider")] | |
| CUDA, | |
| #[serde(rename = "QNNExecutionProvider")] | |
| QNN, | |
| } |
While in the C# client the execution provider is simply typed as "string" with a comment telling us it should be kept open-ended:
Foundry-Local/sdk/cs/src/FoundryModelInfo.cs
Lines 26 to 28 in fdcce52
| // there are many different possible values; keep it open‑ended | |
| [JsonPropertyName("executionProvider")] | |
| public string ExecutionProvider { get; init; } = default!; |
Is Microsoft actively supporting this project (the SDKs) or is this a community effort?
Edited PS:
I don't mean to be polemical; both options (officially supported MS product / community open source project) are perfectly fine in my opinion. It's just that users probably want to know (I do) and the SUPPORT.md file seems to be an incomplete template.