Skip to content

Conversation

@hlky
Copy link
Contributor

@hlky hlky commented Jan 27, 2025

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 yiyixuxu January 27, 2025 08:16
@HuggingFaceDocBuilderDev

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.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

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:main Jan 27, 2025
12 checks passed
Sign up for free to 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