pub const WASM_TILE_ACTIVATION_BUDGET: u64 = 1_500_000_000;Expand description
Heap budget for all concurrent tiles on WASM — see tile_concurrency (onnx feature).
A threaded WASM host has one shared 32-bit heap with a hard 4 GB ceiling and an allocator that cannot compact, and that heap also holds the model bytes, the full-volume inputs and outputs and the host’s own data. 1.5 GB of tiles leaves room for all of it plus fragmentation.