spdl.pipeline.config.set_default_profile_hook

set_default_profile_hook(hook: ProfileHook | None = None) None[source]

Set the default profile hook to be used for pipeline profiling.

Parameters:

hook – The profile hook instance to use as default. If None a hook is disabled.