Skip to content

Add provider_options to OnnxRuntimeModel - #10661

Merged
yiyixuxu merged 1 commit into
huggingface:mainfrom
hlky:onnx-provider-options
Jan 27, 2025
Merged

Add provider_options to OnnxRuntimeModel#10661
yiyixuxu merged 1 commit into
huggingface:mainfrom
hlky:onnx-provider-options

Conversation

@hlky

@hlkyhlky commented Jan 27, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

As per issue this adds provider_options to OnnxRuntimeModel's load_model which is in turn passed to onnxruntime's InferenceSession.

Fixes#10658

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

cc @xieofxie

@hlky
hlky requested a review from yiyixuxuJanuary 27, 2025 08:16
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxuyiyixuxu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @hlky!

@yiyixuxu
yiyixuxu merged commit 158c5c4 into huggingface:mainJan 27, 2025
@xieofxiexieofxie mentioned this pull request Feb 5, 2025
6 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add provider_options in onnxruntime.InferenceSession

3 participants

@hlky@HuggingFaceDocBuilderDev@yiyixuxu