[package]
edition = "2024"
rust-version = "1.94"
name = "yscv-quantize-cli"
version = "0.1.9"
authors = ["yscv contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-training quantization CLI: calibrate fp32 ONNX + sample inputs into a QDQ-format INT8 model"
readme = "README.md"
keywords = [
"computer-vision",
"deep-learning",
"image-processing",
"onnx",
"video",
]
categories = [
"computer-vision",
"science",
"algorithms",
"multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/enthropy7/yscv"
resolver = "2"
[[bin]]
name = "yscv-quantize"
path = "src/main.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.yscv-onnx]
version = "0.1"
default-features = false
[dependencies.yscv-tensor]
version = "0.1"
[lints.clippy]
if_same_then_else = "allow"
large_enum_variant = "allow"
needless_range_loop = "allow"
new_without_default = "allow"
should_implement_trait = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.rust]
unexpected_cfgs = "allow"
unsafe_code = "deny"