kvcdn verify
Generate or verify a local.kv artifact against a model context and optional question.
Usage
Options
| Option | Required | Description |
|---|---|---|
--kv-path | yes | Path where the .kv artifact will be written or read |
--context-file | yes | Path to the context file used to produce the artifact |
--question | no | Optional question to verify the artifact against |
Example
./context.kv does not exist, the command runs the model, saves the KV cache, then loads it and compares generation output against a full prefill. If the file exists, it loads the cache directly and runs only the verification pass.
Output
The command prints:- generated artifact path,
- number of cached tokens,
- layer count,
- dtype,
- verification result (PASS or mismatch details).