memra-engine 0.108.0

From-scratch CUDA LLM inference engine for NVIDIA RTX 50-series (sm_120a) and Hopper (sm_90a) - custom kernels, no frameworks
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Compatibility re-export for build-time execution manifests owned by the ModelPlan compiler.

pub use memra_gguf::execution_manifest::*;

pub fn bind_rewrite_artifact(
    receipt: RewriteParityReceipt,
) -> Result<RewriteParityReceipt, Box<dyn std::error::Error>> {
    let path = std::env::var_os("MEMRA_ARTIFACT_LOCK")
        .ok_or("rewrite receipt requires MEMRA_ARTIFACT_LOCK")?;
    Ok(receipt.bind_artifact_lock(&std::fs::read(path)?))
}