bitnet-quantize 0.1.1

Microsoft BitNet b1.58 quantization and inference for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.92"
name = "bitnet-quantize"
version = "0.1.1"
authors = ["Tyler Zervas <tz-dev@vectorweight.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Microsoft BitNet b1.58 quantization and inference for Rust"
homepage = "https://github.com/tzervas/bitnet-quantize"
documentation = "https://docs.rs/bitnet-quantize"
readme = "README.md"
keywords = [
    "bitnet",
    "quantization",
    "ternary",
    "llm",
    "inference",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/tzervas/bitnet-quantize"

[features]
cuda = ["candle-core/cuda"]
default = []
gguf-export = ["dep:qlora-rs"]
peft = ["dep:peft-rs"]

[lib]
name = "bitnet_quantize"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "quantization"
path = "examples/quantization.rs"

[[bench]]
name = "bitnet_ops"
path = "benches/bitnet_ops.rs"
harness = false

[dependencies.candle-core]
version = "0.9"
default-features = false

[dependencies.candle-nn]
version = "0.9"
default-features = false

[dependencies.peft-rs]
version = "1.0"
optional = true

[dependencies.qlora-rs]
version = "1.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.trit-vsa]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.4"

[lints.clippy]
pedantic = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"