GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing ct.rithul.dev — The execution model - Continuum The execution model¶Continuum runs a program as a dataflow graph. Understanding four pieces (the IR, the interpreter, backends, and the reuse stack) is enough to reason about what it will and will not recompute. The graph¶A program is a
The graph plus its literal inputs is the whole program. It serializes to a compact binary envelope (the “CIR”), which is what checkpoints carry. The interpreter¶
For a Backends¶A backend runs one node kind against one provider. The interpreter owns scheduling and the cache index; the backend owns model execution and how its state is encoded. Backends declare which capabilities they have (tensor, token, cache), and the scheduler routes each node accordingly, converting tensors between backends explicitly when a graph spans more than one. See Backends and the IR for the list. The reuse stack¶Before any Checkpoints¶Serializing the graph together with every computed value and the portable KV state produces a checkpoint. A fresh process deserializes it and resumes from the next unexecuted node, or forks from a past node with one value replaced. See Durable execution. The ownership boundary¶The cache is runtime-owned, but a reuse decision depends on backend state handles. That coupling is deliberate: the runtime decides when a prefix is reusable, the backend decides how that state is represented. The Python layer is a thin wrapper over this C++ path. It does not reimplement scheduling or cache logic; it calls the same code the test suite exercises. | ||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |