Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions trtx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ categories = ["api-bindings", "science"]
[dependencies]
trtx-sys = { version = "0.5.0", path = "../trtx-sys", default-features = false }
thiserror = "2.0"
miette = { version = "7", optional = true, features = ["fancy"] }
cxx = "1.0"
libc = "0.2"
libloading = { version = "0.9", optional = true }
Expand All @@ -31,6 +32,7 @@ default = [
"onnxparser",
"v_1_4",
]
miette = ["dep:miette"]
mock = ["mock_runtime"] # mock implementation (no CUDA and TRT libs required)
mock_runtime = [] # mock implementation (no CUDA required)
link_tensorrt_rtx = ["trtx-sys/link_tensorrt_rtx"]
Expand All @@ -46,6 +48,7 @@ v_1_4 = ["trtx-sys/v_1_4"]
enterprise = ["trtx-sys/enterprise"]

[dev-dependencies]
insta = "1.47.2"
# For examples and tests
pretty_env_logger = "0.5"

Expand Down
2 changes: 2 additions & 0 deletions trtx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ pub mod executor;
pub mod host_memory;
pub mod interfaces;
pub mod logger;
#[cfg(feature = "miette")]
pub mod miette_repr;
pub mod network;
#[cfg(feature = "onnxparser")]
pub mod onnx_parser;
Expand Down
Loading
Loading