Skip to content

Commit 258ff5d

Browse files
committed
Rebase
1 parent 53de689 commit 258ff5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mediapipe_internal/mediapipegraphdefinition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Status MediapipeGraphDefinition::create(std::shared_ptr<MediapipeGraphExecutor>&
263263
GraphIdGuard graphIdGuard(*(this->queue)); // TODO timeout?
264264
pipeline = std::make_shared<MediapipeGraphExecutor>(getName(), std::to_string(getVersion()),
265265
this->config, this->inputTypes, this->outputTypes, this->inputNames, this->outputNames,
266-
this->pythonNodeResourcesMap, this->llmNodeResourcesMap, this->pythonBackend, this->reporter.get(), std::move(graphIdGuard));
266+
this->pythonNodeResourcesMap, this->genAiServableMap, this->pythonBackend, this->reporter.get(), std::move(graphIdGuard));
267267
return status;
268268
}
269269

src/mediapipe_internal/mediapipegraphexecutor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ class MediapipeGraphExecutor {
211211
SPDLOG_DEBUG("Mediapipe failed to execute. Failed to receive all output packets");
212212
return Status(StatusCode::MEDIAPIPE_EXECUTION_ERROR, "Unknown error during mediapipe execution");
213213
}
214-
timer.stop(PROCESS);
214+
/*timer.stop(PROCESS);
215215
double processTime = timer.template elapsed<std::chrono::microseconds>(PROCESS);
216216
OBSERVE_IF_ENABLED(this->mediapipeServableMetricReporter->getProcessingTimeMetric(executionContext), processTime);
217-
INCREMENT_IF_ENABLED(this->mediapipeServableMetricReporter->getResponsesMetric(executionContext));
217+
INCREMENT_IF_ENABLED(this->mediapipeServableMetricReporter->getResponsesMetric(executionContext));*/
218218
SPDLOG_DEBUG("Received all output stream packets for graph: {}", this->name);
219219
return StatusCode::OK;
220220
}

0 commit comments

Comments
 (0)