Skip to content

Atramodel. Transformer models compiled into provable programs.

Atramodel takes an ordinary transformer model and compiles its weights and forward pass into the same verified graph as any other Atracode program. Inference becomes deterministic, the model gets an identity from its hash, it runs with no PyTorch or CUDA underneath, and every output can be proven to come from those weights and that input.

DesigningIn place of PyTorch and CUDA inference stacks

How Atramodel works.

Compile a transformer model to run on the Atracode runtime: deterministic inference, a model named by its hash, no PyTorch or CUDA, and provable outputs.

Weights and forward pass as a graph
The whole model is lowered to the Semantic Execution Graph, checked against the original on test prompts, and run by the deterministic runtime.
Deterministic inference
The same prompt and the same weights give the same tokens on every machine, whatever the hardware or batch size.
The model is its hash
A model’s identity is the hash of its weights and graph. Change one weight and it is a different model, with a different name.
Provable outputs
Every answer comes with a receipt binding it to the model’s hash and the input’s hash, which anyone can check.

What you can check yourself.

  • That an output came from these weights and this input
  • That two deployments run the identical model
  • That the compiled model matches the original on test prompts
$ atracode model compile ./llama-3-8b --from safetensors  weights    8.0B parameters  ·  291 tensors  graph      forward pass lowered  ·  matches reference on 4,096 prompts  identity   model:2d7f…a90c$ atracode model run model:2d7f…a90c --prompt "Summarize Q3 revenue"  output     Q3 revenue rose 12% to $4.1M, led by renewals…  receipt    model:2d7f…a90c + input:61e3…08bd → out:c4a1…77e2
Illustrative
Compiling a model and proving an answer. Sample output; the commands are planned, not released.

Compared with PyTorch.

Atramodel does the same job, with the answer you get carrying its own proof.

Atramodel compared with PyTorch and CUDA inference stacks
AspectThe usual wayAtramodel
What it runs onPyTorch, CUDA and a driver stackThe Atracode runtime, nothing else
The same prompt twiceCan differ with hardware, batching and kernelsThe same tokens, every time
Which model answeredA name and a version stringThe hash of the exact weights
Proving an outputNot possibleA receipt anyone can check

Questions.

Which models can it compile?

Transformer models in common formats such as safetensors are the starting point. Other architectures will follow.

Does it need a GPU?

The plan is to run on CPUs and accelerators alike, with the same results on each. Performance details will come with the beta.

Build on Atramodel early. Tell us what you'd use it for.

Atramodel is designing now. Early-access teams help shape it and get it first.