Realm
Machine learning compute infrastructure

Machines that learn.
Systems that remember.

From raw symbols to a mind you can reload.

The same runtime owns device work for input representation, model execution, differentiation, optimization, and evaluation.

Represent the world

Represent the world

Byte, character, and deterministic BPE inputs enter the same typed matrix and semantic operation system.

Compose the mind

Compose the mind

RNN, GRU, Transformer, sparse MoE, and Mamba-3 modules share parameters, autograd, loss, and metrics.

Train the graph

Train the graph

Forward, loss, backward, gradient transforms, and AdamW become explicit work owned by one oa::Runtime.

Preserve the intelligence

Preserve the intelligence

.oam records architecture identity, model state, optimizer progress, and Dense, Q4, or Q8 weights.

The machinery disappears. The contracts remain.

One semantic graph carries values, differentiation, optimization, execution, and persistence. Rust owns the native work; language bindings map to that system instead of maintaining parallel learning implementations.

One differentiable system

Modules, parameters, losses, optimizers, and generated backward rules operate over the same semantic graph instead of a separate training framework.

Explicit execution

Stable regions capture as immutable oa::ExecutionPlan values. submit returns the exact oa::Event; metrics and checkpoints remain deliberate host boundaries.

Dense, sparse, and state space

One module API covers recurrence, attention across multiple heads, sparse MoE that routes each token to its top k experts without dropping tokens, grouped state Mamba-3 SISO, and shared state MIMO.

Native Rust and Python training

Rust and Python share modules, autograd, optimizers, and Vulkan execution. NLP and audio training recipes live in the separate Oa SDK companion and build on oa.ml.nn.

Semantic Q4 and Q8

Quantized matrices carry packed values, scales, logical shape, and policy explicitly through fused inference and .oam persistence.

Live, bounded control

An opt in local MCP control plane can inspect, pause, resume, evaluate, and checkpoint an application approved training session at safe points.
A robotic intelligence assembled in a machine learning laboratory

Five ways to remember. One training consciousness.

RNN and GRU establish compact recurrence; dense Transformer and dropless sparse MoE express attention; grouped state Mamba-3 SISO and shared state MIMO carry state space memory. Each is a different theory of sequence intelligence expressed through the same values, gradients, optimizer, metrics, generation, and checkpoint lifecycle.

A small surface over the complete graph.

Modules register parameters. The tape records semantic backward rules. The training session coordinates steps, validation, metrics, and checkpoints without taking ownership away from oa::Runtime.

1use oa::{Matrix, ml};
2
3let x = Matrix::new_from_f32([5, 1], &[-2., -1., 0., 1., 2.])?;
4let target = Matrix::new_from_f32([5, 1], &[-3., -1., 1., 3., 5.])?;
5let model = ml::nn::Linear::new_with_seed(1, 1, 0)?;
6let mut optimizer = ml::Sgd::new(model.parameters(), 0.05, 0.0, 0.0)?;
7
8for _ in 0..80 {
9 optimizer.zero_grad();
10 let tape = ml::GradientTape::new();
11 let loss = ml::loss::mse(&model.forward(&x)?, &target)?;
12 tape.backward(&loss)?;
13 drop(tape);
14 optimizer.step()?;
15}

Evidence before mythology.

On November 23, 2026, all 15 NLP tutorials and the separate Empyrealm-Core fidelity run met their evaluation criteria on a Surface Laptop 5. Each run recorded one training program and replayed it for the remaining steps.[*]

300

Training steps per run

64

Sequences per batch

16

Tokens per sequence

299

Replays per recording

ArchitectureTokenizerWall samples/sMean GPU ms/stepAccuracy
TransformerBPE11.19K4.8898.9%
RNNBPE9.99K5.4398.8%
Sparse MoEBPE8.52K6.6198.8%
Mamba-3BPE6.58K8.8798.9%
GRUBPE4.85K12.2898.8%
TransformerByte10.83K5.1192.9%
RNNByte10.80K5.2692.2%
Sparse MoEByte8.42K6.8392.6%
Mamba-3Byte6.76K8.6993.0%
GRUByte4.98K12.1392.7%
Empyrealm-CoreByte1.96K31.5092.9%
TransformerCharacter15.07K3.4992.4%
RNNCharacter14.14K3.9392.5%
Sparse MoECharacter10.42K5.3692.6%
Mamba-3Character7.58K7.6593.0%
GRUCharacter5.43K10.8692.8%

One library. Across the stack.

Follow the same runtime and semantic values into another module.

  • [*]

    Exploratory session on November 23, 2026 at OA commit ca3fc85c. Surface Laptop 5, Intel Iris Xe (Alder Lake GT2), Mesa 26.3.1, Vulkan 1.4.363. The laptop ran on battery with the powersave governor and variable GPU clocks. Throughput uses elapsed wall time. GPU step time is the arithmetic mean. Accuracy is measured in each tokenizer’s output units.