Skip to main content

qualia_core_db/inference/runtime/receipt/
mod.rs

1//! Serializable cold-path evidence and fixed-size hot-path counters.
2
3pub mod execution;
4mod manifest;
5pub mod parity_runner;
6mod source;
7
8pub use execution::{
9    ArtifactCleanupCounters, BackendKind, ExecutionCounters, ExecutionReceipt,
10    COUNTER_COMPILE_CALLS, COUNTER_COMPUTE_DISPATCHES, COUNTER_DECODE_STEPS, COUNTER_DEVICE_FENCES,
11    COUNTER_DEVICE_TO_HOST_BYTES, COUNTER_FALLBACKS, COUNTER_GRAPH_LAUNCHES,
12    COUNTER_HOST_TO_DEVICE_BYTES, COUNTER_HOT_ALLOCATIONS, COUNTER_IMMUTABLE_UPLOAD_BYTES,
13    RECEIPT_SCHEMA_VERSION,
14};
15pub use manifest::{
16    sha256_file, sha256_token_ids, BenchmarkManifest, HardwareProfileManifest,
17    OsrpBaselineManifest, ParityGateEvaluation, MANIFEST_SCHEMA_VERSION, RAW_GREEDY_DECODE_POLICY,
18};
19pub use parity_runner::{
20    evaluate_parity_release, ParityGateReport, LATENCY_TOLERANCE_MARGIN,
21    THROUGHPUT_PARITY_THRESHOLD,
22};
23pub use source::{capture_source_provenance, SourceProvenance};