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 feature flags for compiling the ONNX C runtime #27

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

radu-matei
Copy link
Member

closes #16

This commit updates the crate's features to allow users wanting to use Tract only to compile the runtime without requiring the ONNX C API shared libraries.

Once we enable CUDA as an execution provider (#9), that would be an additional compilation feature here.

One thing to consider for users wanting to compile only with the ONNX C API is disabling Tract as well.

@radu-matei radu-matei merged commit 0379123 into deislabs:main Jul 1, 2021
@radu-matei radu-matei deleted the compile-features branch July 1, 2021 17:43
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.

Rust features to choose which runtime to compile
1 participant