MCPcopy Create free account
hub / github.com/brontoguana/krasis / _python_trace

Function _python_trace

python/krasis/model.py:120–122  ·  view source on GitHub ↗
(component: str, message: str)

Source from the content-addressed store, hash-verified

118
119
120def _python_trace(component: str, message: str) -> None:
121 if _python_trace_enabled(component):
122 logger.info("[KRASIS-TRACE] event=mark scope=python component=%s %s", component, message)
123
124
125def _weight_dtype_code(t: torch.Tensor) -> int:

Callers 3

_cross_device_moeMethod · 0.85
forwardMethod · 0.85

Calls 1

_python_trace_enabledFunction · 0.85

Tested by

no test coverage detected