- service: BATCH n lets it see each product's successor and expand the next weights on a thread while the device runs the current one; buckets up to 4096; OpenVINO CACHE_DIR compile cache - client: batched expert products, layout sized by batch, default batch 2048 - cpu-sys/cpu-kernels: AVX2 F16C f16_to_f32 kernel, exact for every half bit pattern - npu-worker: memory admission before an NPU prefill (falls back to the CPU when RAM is short) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
584 B
TOML
20 lines
584 B
TOML
[package]
|
|
name = "leleka-npu-worker"
|
|
version = "0.1.0"
|
|
description = "Leleka inference worker with NPU-assisted prefill: the CPU worker's decoder, with long prompts' matrix products run by the NPU service process (experimental)"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[[bin]]
|
|
name = "leleka-npu-worker"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
leleka-cpu-worker = { path = "../cpu-worker" }
|
|
leleka-gptoss-npu = { path = "../gptoss-npu" }
|
|
sysinfo = { version = "0.39.6", default-features = false, features = ["system"] }
|
|
|
|
[lints]
|
|
workspace = true
|