Skip to content

Rust SDK abandoned? #355

@rasteiner

Description

@rasteiner

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:

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:

// 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrust sdk

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions