Skip to content

[TensorRT EP] Avoid calling unavailable function with cpu python package - #19251

Merged
jywu-mysoft merged 2 commits into
mainfrom
chi/python_trt_ep_fix
Jan 24, 2024
Merged

[TensorRT EP] Avoid calling unavailable function with cpu python package#19251
jywu-mysoft merged 2 commits into
mainfrom
chi/python_trt_ep_fix

Conversation

@chilo-ms

Copy link
Copy Markdown
Contributor

C.register_tensorrt_plugins_as_custom_ops() is only available in gpu python package.
Add condition to avoid calling it in cpu python package.

jywu-mysoft
jywu-mysoft previously approved these changes Jan 24, 2024
@jywu-mysoft
jywu-mysoft merged commit c10be18 into main Jan 24, 2024
@jywu-mysoft
jywu-mysoft deleted the chi/python_trt_ep_fix branch January 24, 2024 05:30
YUNQIUGUO pushed a commit that referenced this pull request Jan 25, 2024
…age (#19251)

C.register_tensorrt_plugins_as_custom_ops() is only available in gpu
python package.
Add condition to avoid calling it in cpu python package.
@snnn

snnn commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

This PR has been cherry-picked into the rel-1.17.0 branch in PR #19243. Removing the release:1.17.0 label.

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.

3 participants