MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / VerificationResult

Class VerificationResult

verify.py:73–97  ·  view source on GitHub ↗

Full verification result.

Source from the content-addressed store, hash-verified

71
72@dataclass
73class VerificationResult:
74 """Full verification result."""
75 model_name: str = ""
76 input_shape: str = ""
77 dtype_str: str = ""
78 gpu_name: str = ""
79
80 # Reference run
81 ref_output_shape: str = ""
82 ref_latency_ms: float = 0.0
83
84 # Optimized run
85 opt_output_shape: str = ""
86 opt_latency_ms: float = 0.0
87 kernels_replaced: List[Dict[str, Any]] = field(default_factory=list)
88
89 # Comparison
90 correctness: str = "UNKNOWN"
91 max_abs_error: float = 0.0
92 mean_abs_error: float = 0.0
93 has_nan: bool = False
94 has_inf: bool = False
95
96 # Summary
97 end_to_end_speedup: float = 0.0
98
99
100# ---------------------------------------------------------------------------

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected