[package]
edition = "2021"
rust-version = "1.63"
name = "kv-cache-size"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exact KV-cache arithmetic for transformer inference: bytes per token, total cache bytes, and the context length that fits a memory budget."
homepage = "https://ml0x.com/"
documentation = "https://ml0x.com/calculators/kv-cache-size-calculator.html"
readme = "README.md"
keywords = [
"llm",
"transformer",
"inference",
"kv-cache",
"memory",
]
categories = [
"mathematics",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/theluckystrike/kv-cache-size"
[lib]
name = "kv_cache_size"
path = "src/lib.rs"
[dependencies]