Worker HTTP capture requests, serviced one optimizer step at a time.
Profiler(port: int | None = None, *, node: Node | None = None)
Own one-step capture requests and their downloadable traces.
measure_step() -> Iterator[None]
Called by the training thread; synchronize only a requested step.