[package]
edition = "2021"
rust-version = "1.78"
name = "atomr-accel-tensorrt"
version = "0.10.0"
authors = ["atomr-accel contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TensorRT engine builder + runtime as supervised atomr actors. Wraps libnvinfer / libnvonnxparser at runtime (proprietary library, not vendored). ONNX import, INT8/FP8 PTQ calibration, IPluginV3 Rust trampolines, dynamic shapes, refit."
homepage = "https://github.com/rustakka/atomr-accel"
documentation = "https://docs.rs/atomr-accel"
readme = "README.md"
keywords = [
"cuda",
"tensorrt",
"inference",
"actor",
"ml",
]
categories = [
"concurrency",
"asynchronous",
"science",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/rustakka/atomr-accel"
[features]
cuda-runtime-tests = []
default = []
tensorrt-fp8 = []
tensorrt-int8 = []
tensorrt-link = []
tensorrt-onnx = []
tensorrt-plugin = []
[lib]
name = "atomr_accel_tensorrt"
path = "src/lib.rs"
[[example]]
name = "onnx_resnet50_int8"
path = "examples/onnx_resnet50_int8.rs"
required-features = [
"tensorrt-onnx",
"tensorrt-int8",
]
[[test]]
name = "plugin_register"
path = "tests/plugin_register.rs"
[[test]]
name = "tensorrt_link_smoke"
path = "tests/tensorrt_link_smoke.rs"
[[test]]
name = "tensorrt_smoke"
path = "tests/tensorrt_smoke.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.atomr-config]
version = "0.9.1"
[dependencies.atomr-core]
version = "0.9.1"
[dependencies.atomr-macros]
version = "0.9.1"
[dependencies.bitflags]
version = "2"
[dependencies.cudarc]
version = "0.19.4"
features = [
"cuda-version-from-build-system",
"fallback-latest",
]
[dependencies.futures]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1.39"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1.39"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"rt-multi-thread",
"macros",
"sync",
"time",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[build-dependencies.cc]
version = "1.1"