|
24 | 24 | #include <vector> |
25 | 25 |
|
26 | 26 | #include "../execution_context.hpp" |
27 | | -#include "../logging.hpp" |
28 | 27 | #include "../model_metric_reporter.hpp" |
29 | 28 | #include "../profiler.hpp" |
30 | 29 | #include "../status.hpp" |
@@ -110,9 +109,6 @@ class MediapipeGraphExecutor { |
110 | 109 | MetricCounterGuard failedRequestsGuard(this->mediapipeServableMetricReporter->getRequestsMetric(executionContext, false)); |
111 | 110 | MetricGaugeGuard currentGraphsGuard(this->mediapipeServableMetricReporter->currentGraphs.get()); |
112 | 111 | ::mediapipe::CalculatorGraph graph; |
113 | | - SPDLOG_ERROR("SetExecutor XXX"); |
114 | | - std::ignore = graph.SetExecutor("", sharedThreadPool); // TODO FIXME |
115 | | - SPDLOG_ERROR("Start unary KServe request mediapipe graph: {} initializationXXXbegin", this->name); |
116 | 112 | MP_RETURN_ON_FAIL(graph.Initialize(this->config), std::string("failed initialization of MediaPipe graph: ") + this->name, StatusCode::MEDIAPIPE_GRAPH_INITIALIZATION_ERROR); |
117 | 113 | enum : unsigned int { |
118 | 114 | PROCESS, |
@@ -141,9 +137,7 @@ class MediapipeGraphExecutor { |
141 | 137 | inputSidePackets[PYTHON_SESSION_SIDE_PACKET_TAG] = mediapipe::MakePacket<PythonNodeResourcesMap>(this->pythonNodeResourcesMap).At(STARTING_TIMESTAMP); |
142 | 138 | inputSidePackets[LLM_SESSION_SIDE_PACKET_TAG] = mediapipe::MakePacket<GenAiServableMap>(this->llmNodeResourcesMap).At(STARTING_TIMESTAMP); |
143 | 139 | #endif |
144 | | - SPDLOG_ERROR("Start unary KServe request mediapipe graph: {} startRunXXXbegin", this->name); |
145 | 140 | MP_RETURN_ON_FAIL(graph.StartRun(inputSidePackets), std::string("start MediaPipe graph: ") + this->name, StatusCode::MEDIAPIPE_GRAPH_START_ERROR); |
146 | | - SPDLOG_ERROR("Start unary KServe request mediapipe graph: {} startRunXXXend", this->name); |
147 | 141 |
|
148 | 142 | ::mediapipe::Packet packet; |
149 | 143 | std::set<std::string> outputPollersWithReceivedPacket; |
@@ -238,9 +232,7 @@ class MediapipeGraphExecutor { |
238 | 232 | { |
239 | 233 | OVMS_PROFILE_SCOPE("Mediapipe graph initialization"); |
240 | 234 | // Init |
241 | | - SPDLOG_DEBUG("Start unary KServe request mediapipe graph: {} initializationXXX", this->name); |
242 | 235 | MP_RETURN_ON_FAIL(graph.Initialize(this->config), "graph initialization", StatusCode::MEDIAPIPE_GRAPH_INITIALIZATION_ERROR); |
243 | | - SPDLOG_DEBUG("Start unary KServe request mediapipe graph: {} initializationXXX ended", this->name); |
244 | 236 | } |
245 | 237 | enum : unsigned int { |
246 | 238 | PROCESS, |
|
0 commit comments