Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/blob/main/docs/05-fabric-and-compute.md # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-architecture-mv / docs / 05-fabric-and-compute.md` 92 lines ยท 1863 bytes Raw Blame History Rendered 1 # AIEN Fabric and Portable Compute 2 3 ## Goal 4 5 Every compatible computer can contribute without becoming an architectural special case. 6 7 ```text 8 Machine 1 9 Machine 2 10 Machine 3 11 ... 12 Machine N 13 ``` 14 15 Hardware details are advertised capabilities. 16 17 ## Logical structure 18 19 ```mermaid 20 flowchart TD 21 RT[Logical AIEN Runtime] --> F[Fabric] 22 F --> M1[Machine 1] 23 F --> M2[Machine 2] 24 F --> M3[Machine 3] 25 F --> MN[Machine N] 26 ``` 27 28 ## Machine advertisement 29 30 ```rust 31 pub struct NodeAdvertisement { 32 pub machine: MachineId, 33 pub hardware: HardwareCapabilities, 34 pub accelerators: Vec, 35 pub tools: Vec, 36 pub skills: Vec, 37 pub models: Vec, 38 pub resources: ResourceState, 39 pub network: NetworkState, 40 } 41 ``` 42 43 ## Placement must consider 44 45 - memory, 46 - compute class, 47 - dtype/kernel support, 48 - model availability, 49 - tool availability, 50 - credential resolvability, 51 - policy, 52 - network latency/bandwidth, 53 - current load, 54 - thermal/power state. 55 56 ## Preferred work granularity 57 58 Over ordinary LAN/Wi-Fi: 59 60 - whole J-Space branches, 61 - tool calls, 62 - evaluators, 63 - model replicas, 64 - embeddings, 65 - compilation/tests. 66 67 Only use fine-grained layer/tensor partitioning when topology measurements justify it. 68 69 ## Portable accelerator rule 70 71 Core runtime APIs must not be CUDA-shaped. 72 73 Target: 74 75 1. optimized CPU baseline, 76 2. Omega GPU backend (AIEN-owned kernels; Modular MAX and Mojo were removed on 2026-10-15), 77 3. optional broader fallback later if needed. 78 79 The scheduler should ask about capabilities (`bf16`, `fp4`, memory, unified memory, etc.), not vendor model names. 80 81 ## Failure model 82 83 Work is leased. 84 85 If Machine 2 disappears: 86 87 1. lease expires, 88 2. durable identifiers remain, 89 3. work is reconstructed, 90 4. another Machine receives the task. 91 92 Global identity is distributed. Memory ownership is local.