Skip to content
data

DiagnosisReport

DiagnosisReport(total_ops: int, registered: list[OpInfo], grad_sinks: list[OpInfo], uncovered: list[OpInfo], recommendation: str)

Result of diagnose.

Holds three parallel buckets of OpInfo plus a one-line recommendation. The class is immutable; __str__ renders a short human-readable summary suitable for logs.

Attributes

total_opsint
Sum of every op occurrence in the trace.
registeredlist[OpInfo]
Ops with a registered VjpEmitter — real gradient.
grad_sinkslist[OpInfo]
Ops in the walker's no_grad_ops set — gradient flow stops here by design (not a fallback).
uncoveredlist[OpInfo]
Ops without an emitter and not in the sink set — will trigger soft-fallback to MPSGraph autograd (or hard-fail under LUCID_MANUAL_VJP_REQUIRE=1).
recommendationstr
One-line summary of fallback risk.

Used by 1

Dunder methods

1
dunder

__str__

→str
__str__()

Render a short human-readable summary.