Skip to content

ren.jit

Generated API reference for the ren.jit decorator. Start with ren.jit replay for the capture/replay model, cache keys, and examples.

jit

Capture one parameterized execution plan per argument shape and replay it.

Decorate a callable with @jit or @jit(prune=True).

Each replay returns fresh output buffers, so a still-live previous result -- or a lazy clone of it -- is never overwritten by the next call. static_output=True skips the output rebuild and rewrites the same object in place when the caller can consume each result before the next replay.

scope(key, *, owner=None) staticmethod

Specialize JIT calls in this scope and retain owner in captured plans.

clear_jit()

Drop all captured plans and release backend runner resources.

After calling this, the next invocation of the jit-decorated function will re-capture from scratch. Raises if called while a capture is in progress.