Skip to main content

tfe.implements

The annotation decorator; see Annotation reference.

tfe.layout

The layout constructors (tfe.layout.paged_kv(…), …); see Annotation reference.

tfe.annotations_of

The annotations attached to a live kernel or launcher, for tools that import kernel modules. Each Annotation has keys, grid, bind, layout, domain, assume, configs and level.

tfe.load_case

Rebuild the concrete input of a counterexample from the last run (.theformalera/last-run.json). witness is "typical" or "minimal". Tensors are created on device (default: cuda if available, else cpu), in the kernel’s dtypes; paged inputs are laid out through a shuffled block table.

tfe.spec_eval

Evaluate a spec node with the float64 reference interpreter of the locked spec package. It returns one tensor for single-output nodes and a dict otherwise.

tfe.gym

See RL environment.

theformalera.trace.record_launch

Record a launch of a non-Triton kernel (a CUDA or CUTLASS extension) while theformalera trace is recording. Outside a trace it does nothing.

tfe.version

The CLI and SDK version, for example "0.9.0".