From 0a3636950f4b952143fdee072cc2bc674248a40e Mon Sep 17 00:00:00 2001 From: Domenic Barbuzzi Date: Wed, 3 Jul 2024 18:37:41 +0000 Subject: [PATCH] Add output path debug logging --- neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py b/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py index 288a7dd037ec8..f1da32733ed28 100644 --- a/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py +++ b/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py @@ -128,6 +128,7 @@ def filter_and_dump_if_non_empty(type_records: List[Type_Record_T], If there are no records after we filter, don't dump json. otherwise, dump all records as JSON. """ + print(f"{output_path=}") # Make output directory if it doesn't exist output_path.parent.mkdir(parents=True, exist_ok=True) @@ -147,6 +148,7 @@ def filter_and_dump_if_non_empty(type_records: List[Type_Record_T], output_directory = Path(args.output_directory).joinpath( input_directory.name) + print(f"{output_directory=}") filter_and_dump_if_non_empty( type_records, BenchmarkMetricType.BiggerIsBetter, output_directory.joinpath(