Last updated: 2026-11-17
Inference Runtime
Upload Plan
Bound temporary model-upload memory without changing tensor bytes.
Plan exact byte windows for reusable staging, including large offsets and tails. The host-only contracts run on every backend without opening a GPU.
3 exports shown
constant
staging_limit_bytes
pub const staging_limit_bytes: u64 = 64 * 1024 * 1024 No public doc comment yet.
function
stagingCapacity
pub fn stagingCapacity(largest_tensor_bytes: u64) u64 No public doc comment yet.
struct
Chunk
pub const Chunk = struct offset: u64, size: u64 } No public doc comment yet.