XLAProfiler
- class lightning.pytorch.profilers.XLAProfiler(port=9012)
Bases:
ProfilerXLA Profiler will help you debug and optimize training workload performance for your models using Cloud TPU performance tools.
- Parameters:
port (
int) – the port to start the profiler server on. An exception is raised if the provided port is invalid or busy.
- start(action_name)
Defines how to start recording an action.
- Return type:
- stop(action_name)
Defines how to record the duration once an action is complete.
- Return type:
Was this page helpful?
Thanks for the feedback.