diff --git a/dvc/_debug.py b/dvc/_debug.py index 633a22a39..db358e299 100644 --- a/dvc/_debug.py +++ b/dvc/_debug.py @@ -17,6 +17,7 @@ def viztracer_profile( print("Failed to run profiler, viztracer is not installed") yield return + tracer = VizTracer(max_stack_depth=max_stack_depth) tracer.start()