@@ -198,24 +198,22 @@ void pi0_init_component_runtime(Pi0ComponentRuntime & runtime, const Pi0BackendC
198198 runtime.n_threads = resolved.n_threads ;
199199
200200 backend_scheduler_config scheduler_config;
201- scheduler_config.max_nodes = GGML_DEFAULT_GRAPH_SIZE ;
202- scheduler_config.parallel = false ;
201+ scheduler_config.max_nodes = GGML_DEFAULT_GRAPH_SIZE ;
202+ scheduler_config.parallel = false ;
203203
204204 backend_loader loader;
205- if (!loader.load (runtime.backend_cpu , runtime.backends , runtime.sched , runtime.buft_policy , true ,
206- scheduler_config, verbosity)) {
205+ if (!loader.load (runtime.backend_cpu , runtime.backends , runtime.sched , runtime.buft_policy , true , scheduler_config,
206+ verbosity)) {
207207 throw std::runtime_error (std::string (" failed to initialize pi0 " ) + (label != nullptr ? label : " component" ) +
208208 " backend: " + loader.error ());
209209 }
210210
211211 if (verbosity >= 1 ) {
212- std::fprintf (
213- stderr,
214- " %s: component=%s metadata=%s resolved=%s model_buft=%s runtime_buft=%s backend_count=%zu\n " , __func__,
215- label != nullptr ? label : " component" , component.runtime .backend .c_str (),
216- pi0_resolved_backend_name (loader.mode ()),
217- pi0_buft_name (runtime.buft_policy .model_buft ), pi0_buft_name (runtime.buft_policy .runtime_buft ),
218- runtime.backends .size ());
212+ std::fprintf (stderr,
213+ " %s: component=%s metadata=%s resolved=%s model_buft=%s runtime_buft=%s backend_count=%zu\n " ,
214+ __func__, label != nullptr ? label : " component" , component.runtime .backend .c_str (),
215+ pi0_resolved_backend_name (loader.mode ()), pi0_buft_name (runtime.buft_policy .model_buft ),
216+ pi0_buft_name (runtime.buft_policy .runtime_buft ), runtime.backends .size ());
219217 }
220218}
221219
0 commit comments