microsoft / microsoft/onnxruntime

[Feature Request] Enable --use-extensions for pre built releases

Open
#21,696 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the feature request

Enable onnxruntime-extensions in the pre built releases.

### Describe scenario use case

I'm trying to inference whisper with onnxruntime-extensions from the Rust crate ort and your pre built release.
However I get this error when enabling extensions:

```console
"EnableOrtCustomOps: Custom operators in onnxruntime-extensions are not enabled"
```

Seems like you need to enable extensions for the pre built release with `--use_extensions`.
Please add it to the pre built library.
Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the pre-built release configuration and how the --use_extensions option is applied. Reproduce the reported failure through the Rust crate ort, then verify that a rebuilt pre-built library enables onnxruntime-extensions custom operators without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
build-system, machine-learning, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.