Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TensorRT engine to ONNX Runtime GPU documentation #657

Merged
merged 10 commits into from
Jan 2, 2023

Conversation

fxmarty
Copy link
Collaborator

@fxmarty fxmarty commented Jan 2, 2023

What does this PR do?

This documentation addition clarifies the usage of the TensorRT engine. Note: #653 is needed for the code samples to work.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jan 2, 2023

The documentation is not available anymore as the PR was closed or merged.

@fxmarty
Copy link
Collaborator Author

fxmarty commented Jan 2, 2023

Copy link
Contributor

@regisss regisss left a comment

Choose a reason for hiding this comment

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

Great to add doc for this @fxmarty!!
I mostly left comments for typos and wording. My main comment is about the example with the different input shapes that trigger new rebuilds of the engine.

docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
docs/source/onnxruntime/usage_guides/gpu.mdx Outdated Show resolved Hide resolved
fxmarty and others added 7 commits January 2, 2023 15:49
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
@fxmarty
Copy link
Collaborator Author

fxmarty commented Jan 2, 2023

@regisss Thank you for the review, much cleaner!

Copy link
Contributor

@regisss regisss left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@fxmarty fxmarty merged commit 72e976b into huggingface:main Jan 2, 2023
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.

None yet

3 participants