From 62f78ac220e3c391fba8688edbdd61b699f189b1 Mon Sep 17 00:00:00 2001 From: ekagra <3116519+ekagra-ranjan@users.noreply.github.com> Date: Fri, 29 Nov 2024 21:54:44 +0000 Subject: [PATCH] fix NV bench output len was garbage value --- benchmarks/cpp/utils/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/cpp/utils/utils.cpp b/benchmarks/cpp/utils/utils.cpp index d6708a52b..944fbeb6b 100644 --- a/benchmarks/cpp/utils/utils.cpp +++ b/benchmarks/cpp/utils/utils.cpp @@ -92,7 +92,7 @@ Samples parseWorkloadJson( { input_ids.resize(maxPromptLen.value()); } - samples.emplace_back(Sample{std::move(input_ids), sample["output_len"], taskId}); + samples.emplace_back(Sample{std::move(input_ids), sample["output_len"].template get(), taskId}); } return samples; }