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

Class KernelRecord

profile.py:505–513  ·  view source on GitHub ↗

Aggregated stats for one kernel (name + shape combo).

Source from the content-addressed store, hash-verified

503
504@dataclass
505class KernelRecord:
506 """Aggregated stats for one kernel (name + shape combo)."""
507 name: str
508 op_type: str
509 gpu_time_us: float
510 call_count: int
511 input_shapes: str # string representation of shapes
512 roofline: str = ""
513 supported: bool = False
514
515
516def _run_forward(model: nn.Module, inputs: Dict[str, Any]) -> None:

Callers 1

profile_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected