---
title: "onemodel cookbook"
url: https://recursiveai.org/onemodel/cookbook/
description: "Short recipes for common OneModel tasks, each with complete code you can copy."
version: "0.3.0-preview.1"
---

# onemodel cookbook

Short recipes for common OneModel tasks, each with complete code you can copy.

## Recipes

- [Exact mode: the same bits everywhere](https://recursiveai.org/onemodel/cookbook/exact-mode/index.md): Run a model in OneModel’s exact mode for results that are bit-identical on every OS, CPU, instruction set, thread count and WebAssembly, and see how it…
- [Convert ONNX to the OneModel format](https://recursiveai.org/onemodel/cookbook/convert-to-onemodel-format/index.md): Convert an ONNX file to OneModel’s own format once, load it with the same call, and get bit-identical outputs, with the weights read as memory-mapped views.
- [Named inputs and outputs](https://recursiveai.org/onemodel/cookbook/named-inputs-and-outputs/index.md): Run an ONNX model with more than one input or output through OneModel’s Session: list its inputs and outputs, pass named tensors in any order, and get the…
- [Half-precision weights](https://recursiveai.org/onemodel/cookbook/half-precision-weights/index.md): Keep the large weights of a float32 ONNX model as binary16 or bfloat16 with SessionOptions.WeightStorage, which halves their memory, and measure what it…
- [When a model won’t load](https://recursiveai.org/onemodel/cookbook/missing-operators/index.md): What OneModel reports when an ONNX model uses an operator it doesn’t implement, or one without an exact kernel in exact mode, and how to read the error.
