TensorPlay
API reference
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.distributed.elastic.metrics API

Functions 2

#

configure

functionFull reference ↗
tensorplay.distributed.elastic.metrics.configure(handler: MetricHandler, group: str | None = None) → None[source]

Route group (or all groups) to handler.

#

prof

functionFull reference ↗
tensorplay.distributed.elastic.metrics.prof(fn=None, group: str = 'tp_elastic', interval_ms: float = 1000)[source]

Decorator measuring wall time of fn and emitting it as a metric.

Works both bare (@prof) and parameterized (@prof(group=...)).

Classes 1

On this page

Ask DeepWiki