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
aien-sovereign-core-mv / crates / aien-serve-http / Cargo.toml
| 1 | [package] |
| 2 | name = "aien-serve-http" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | authors = ["Drake Stapleton <aien@aienos.com>"] |
| 6 | description = "OpenAI-compatible HTTP door for AIEN's own-kernel model serving (OWN-30B cut 4)" |
| 7 | license.workspace = true |
| 8 | |
| 9 | [lib] |
| 10 | path = "src/lib.rs" |
| 11 | |
| 12 | [[bin]] |
| 13 | name = "aien-serve-http" |
| 14 | path = "src/main.rs" |
| 15 | |
| 16 | [dependencies] |
| 17 | axum = "0.7" |
| 18 | # Already in the graph through axum 0.7; named here for the connection loop in `server.rs`, which |
| 19 | # arms hyper's header read timeout (axum::serve gives hyper no timer, so that timeout never ran). |
| 20 | hyper = { version = "1", features = ["http1", "server"] } |
| 21 | hyper-util = { version = "0.1", features = ["tokio", "service"] } |
| 22 | tokio = { version = "1.37", features = ["full"] } |
| 23 | tokio-stream = "0.1" |
| 24 | serde = { version = "1.0", features = ["derive"] } |
| 25 | serde_json = "1.0" |
| 26 | aien-inference-abi = { path = "../aien-inference-abi" } |
| 27 | aien-omega-gpu = { path = "../aien-omega-gpu" } |
| 28 | aien-omega-q38 = { path = "../aien-omega-q38" } |
| 29 | libc = "0.2" |
| 30 | aien-kv-store = { path = "../aien-kv-store" } |
| 31 | aien-platform = { path = "../aien-platform" } |
| 32 | aien-runtime = { path = "../aien-runtime" } |
| 33 | sha2 = "0.10" |
| 34 | |
| 35 | [features] |
| 36 | # The merge train's per-request test switches (L384): `aien_test` in a chat request picks this |
| 37 | # request's path (strokes on/off, exact head on/off, a graph mutant, a row swap). TEST BUILDS |
| 38 | # ONLY: the live server is built without it and refuses any request carrying `aien_test`. |
| 39 | aien-test-switches = [] |
| 40 | |
| 41 | [dev-dependencies] |
| 42 | aien-inference-abi = { path = "../aien-inference-abi", features = ["host-test-engine"] } |
| 43 | tempfile = "3.10" |