jax.profiler module#
Tracing and time profiling#
Benchmarking and profiling describes how to make use of JAX’s tracing and time profiling features.
|
Starts the profiler server on port port. |
|
Starts a profiler trace. |
Stops the currently-running profiler trace. |
|
|
Context manager to take a profiler trace. |
|
Decorator that generates a trace event for the execution of a function. |
|
Context manager that generates a trace event in the profiler. |
|
Context manager that generates a step trace event in the profiler. |
|
Registers a subprocess's profiler server to be profiled alongside the current process. |
|
Exports captured profile data to the specified directory. |
|
Represents a JAX profiling session. |
Device memory profiling#
See Profiling device memory for an introduction to JAX’s device memory profiling features.
|
Captures a JAX device memory profile as |
|
Collects a device memory profile and writes it to a file. |