Other frameworks
See the Quick Start Guide on how to install and configure the profiler.
Use generic profiler to profile any machine learning script or notebook. See profiling API reference for full documentation.
Profile using with
context manager:
from graphsignal.profilers.generic import profile_step
with profile_step():
# training step, prediction, etc.
Profile using stop
:
from graphsignal.profilers.generic import profile_step
step = profile_step()
# training step, prediction, etc.
step.stop()
Distributed workloads
Graphsignal provides built-in support for distributed training and inference. Depending on the platform, it may be necessary to provide a run ID to all workers. Refer to Distributed Workloads section for more information.