aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
GitHub aien-dev/aien-sovereign-core-mv#40 (code only)
Apply it
git checkout -b patch-6bdf7a6a0f28f245 23977e5d70d79cb490aae881c8c5e4532d6e5618 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/6bdf7a6a0f28f245.patch | git am
Provenance
github-import 1
aien-dev/aien-sovereign-core-mv
40
9b182679a16952fcde9a89a0755bfb8881b86c4f
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":40,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/40","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:04Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/crates/aien-scheduler/src/bin/bench_inference_stack.rs b/crates/aien-scheduler/src/bin/bench_inference_stack.rs index dbb9c52a..cc64c602 100644 --- a/crates/aien-scheduler/src/bin/bench_inference_stack.rs +++ b/crates/aien-scheduler/src/bin/bench_inference_stack.rs @@ -245,6 +245,15 @@ async fn bench_scheduler_step_overhead() { println!(" Status: PASSED (Pure Rust sub-microsecond scheduling)\n"); } +/// Continuous batching scheduler throughput benchmark (control-plane only). +/// +/// This measures the compiled Rust CPU scheduler: request admission, batch +/// assembly, KV block accounting, and the Mojo/MAX hardware dispatch call path. +/// It does NOT execute neural matrix math and does NOT measure model token +/// generation throughput. The "Scheduler Dispatch Rate (tokens/s, control-plane +/// only)" column is the rate at which the scheduler hands tokens to the backend, +/// not GPU inference throughput. Treat it as a scheduler-overhead number, not a +/// model performance number. async fn bench_continuous_batching_scheduler_throughput(surface: &ExecutionSurface) { println!("--- 5. Native Continuous Batching Scheduler & Hardware Dispatch Throughput ---"); println!(" Execution Path: AIEN Scheduler -> AIEN KV Block Pool -> Mojo/MAX Hardware C-ABI"); @@ -284,7 +293,7 @@ async fn bench_continuous_batching_scheduler_throughput(surface: &ExecutionSurfa let concurrency_tiers = [1, 4, 8, 16, 32, 64, 128, 256]; println!(" - | Concurrency | Step Latency p50 (µs) | Step Latency p95 (µs) | Dispatch Rate (steps/s) | Dispatched Tok/s | Power (W) |"); + | Concurrency | Step Latency p50 (µs) | Step Latency p95 (µs) | Dispatch Rate (steps/s) | Scheduler Dispatch Rate (tokens/s, control-plane only) | Power (W) |"); println!(" | :--- | :--- | :--- | :--- | :--- | :--- |"); let base_power_w = read_gpu_power_draw_watts().unwrap_or(10.75);