@@ -60,7 +60,7 @@ extract_eagle3_mode_from_config(ov::AnyMap& config, const std::filesystem::path&
6060 // If you wish to use different layers, provide the "hidden_layers_list" parameter in the config.
6161 eagle_rt_info.hidden_layers_list = { 2 , num_decoder_layers / 2 , num_decoder_layers - 3 };
6262 }
63- OPENVINO_ASSERT (eagle_rt_info.hidden_layers_list .size () == 3 , " only exact 3 layer extraction are expected in eagle3" );
63+ OPENVINO_ASSERT (eagle_rt_info.hidden_layers_list .size () == 3 , " only exactly 3 layer extraction are expected in eagle3" );
6464 }
6565 return eagle_rt_info;
6666}
@@ -91,7 +91,7 @@ ContinuousBatchingPipeline::ContinuousBatchingPipeline( const std::filesystem::p
9191 auto properties_without_draft_model = properties;
9292 auto draft_model_desr = utils::extract_draft_model_from_config (properties_without_draft_model);
9393 auto is_prompt_lookup_enabled = extract_prompt_lookup_from_config (properties_without_draft_model);
94- auto eagle_rt_info = extract_eagle_mode_from_config (draft_model_desr.properties , models_path);
94+ auto eagle_rt_info = extract_eagle3_mode_from_config (draft_model_desr.properties , models_path);
9595
9696 auto model = utils::read_model (models_path, properties);
9797 auto [properties_without_draft_model_without_gguf, enable_save_ov_model] = utils::extract_gguf_properties (properties_without_draft_model);
@@ -138,7 +138,7 @@ ContinuousBatchingPipeline::ContinuousBatchingPipeline(
138138 auto properties_without_draft_model = properties;
139139 auto draft_model_desr = utils::extract_draft_model_from_config (properties_without_draft_model);
140140 auto is_prompt_lookup_enabled = extract_prompt_lookup_from_config (properties_without_draft_model);
141- auto eagle_rt_info = extract_eagle_mode_from_config (draft_model_desr.properties , models_path);
141+ auto eagle_rt_info = extract_eagle3_mode_from_config (draft_model_desr.properties , models_path);
142142 auto model = utils::read_model (models_path, properties_without_draft_model);
143143 auto [properties_without_draft_model_without_gguf, enable_save_ov_model] = utils::extract_gguf_properties (properties_without_draft_model);
144144 properties_without_draft_model_without_gguf[ov::cache_model_path.name ()] = models_path;
@@ -188,7 +188,7 @@ ContinuousBatchingPipeline::ContinuousBatchingPipeline(
188188 auto properties_without_draft_model = properties;
189189 auto draft_model_desr = utils::extract_draft_model_from_config (properties_without_draft_model);
190190 auto is_prompt_lookup_enabled = extract_prompt_lookup_from_config (properties_without_draft_model);
191- auto eagle_rt_info = extract_eagle_mode_from_config (draft_model_desr.properties , std::filesystem::path (model_str));
191+ auto eagle_rt_info = extract_eagle3_mode_from_config (draft_model_desr.properties , std::filesystem::path (model_str));
192192 auto model = utils::singleton_core ().read_model (model_str, weights_tensor);
193193
194194 auto rt_info = model->get_rt_info ();
0 commit comments