diff --git a/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py b/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py index b8b1f06bf524d..6f559ff7cc5e9 100644 --- a/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py +++ b/neuralmagic/benchmarks/scripts/logging/gha_benchmark_logging.py @@ -109,7 +109,9 @@ def process(json_file_path: Path) -> Iterable[Type_Record_T]: def process_folder(input_directory: Path): print(f"processing folder : {input_directory}") - json_file_paths = input_directory.glob('*.json') + json_file_paths = list(input_directory.glob('*.json')) + if not json_file_paths: + return type_records: List[Type_Record_T] = list( reduce(lambda whole, part: whole + part,