interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

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
5Every compatible computer can contribute without becoming an architectural special case.
6
7```text
8Machine 1
9Machine 2
10Machine 3
11...
12Machine N
13```
14
15Hardware details are advertised capabilities.
16
17## Logical structure
18
19```mermaid
20flowchart 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
31pub struct NodeAdvertisement {
32 pub machine: MachineId,
33 pub hardware: HardwareCapabilities,
34 pub accelerators: Vec<AcceleratorCaps>,
35 pub tools: Vec<ToolProvider>,
36 pub skills: Vec<SkillProvider>,
37 pub models: Vec<ModelDigest>,
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
58Over ordinary LAN/Wi-Fi:
59
60- whole J-Space branches,
61- tool calls,
62- evaluators,
63- model replicas,
64- embeddings,
65- compilation/tests.
66
67Only use fine-grained layer/tensor partitioning when topology measurements justify it.
68
69## Portable accelerator rule
70
71Core runtime APIs must not be CUDA-shaped.
72
73Target:
74
751. optimized CPU baseline,
762. Omega GPU backend (AIEN-owned kernels; Modular MAX and Mojo were removed on 2026-10-15),
773. optional broader fallback later if needed.
78
79The scheduler should ask about capabilities (`bf16`, `fp4`, memory, unified memory, etc.), not vendor model names.
80
81## Failure model
82
83Work is leased.
84
85If Machine 2 disappears:
86
871. lease expires,
882. durable identifiers remain,
893. work is reconstructed,
904. another Machine receives the task.
91
92Global identity is distributed. Memory ownership is local.