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

Owned environment #1

Open
wants to merge 8 commits into
base: onnxruntime-v1.7.0
Choose a base branch
from
Open

Conversation

haixuanTao
Copy link
Owner

No description provided.

krlohnes and others added 8 commits July 23, 2021 17:05
This way we let the user of the library decide how to handle the issue.
Create OwnedSession and OwnedSessionBuilder that own the environment

Signed-off-by: Radu M <[email protected]>

Derive Debug for OwnedSession

Signed-off-by: Radu M <[email protected]>

Derive Clone for Output

Signed-off-by: Radu M <[email protected]>

Try CUDA

Signed-off-by: Radu M <[email protected]>

Try CUDA again

Signed-off-by: Radu M <[email protected]>
Thanks to the work of @radu-matei, @dkim, @dllu, I generated a binding
for linux that works with ONNX 1.7 and CUDA 11.

This avoid a performance issue with CUDA: microsoft/onnxruntime#5957
Removing the borrowing of environement simplifies the code and lifetime
management of session and environment
@haixuanTao haixuanTao changed the base branch from master to onnxruntimev1.7.0 July 3, 2022 20:21
@haixuanTao haixuanTao changed the base branch from onnxruntimev1.7.0 to onnxruntime-v1.7.0 July 3, 2022 20:21
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