File tree Expand file tree Collapse file tree
vllm_omni/entrypoints/openai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,13 +167,8 @@ def for_diffusion(
167167 instance ._diffusion_extra_output_params = None
168168 instance .engine_client = None
169169 instance .has_kv_connector = False
170- try :
171- od_config = resolve_diffusion_od_config (None , diffusion_engine )
172- if od_config is not None and getattr (od_config , "model_class_name" , None ):
173- instance ._diffusion_extra_body_params = get_extra_body_params (od_config .model_class_name )
174- instance ._diffusion_extra_output_params = get_extra_output_params (od_config .model_class_name )
175- except Exception as e :
176- logger .warning ("Failed to initialize diffusion pipeline extra params: %s" , e )
170+ # Extra body/output params are resolved lazily on first use; see
171+ # _get_diffusion_extra_body_params / _get_diffusion_extra_output_params.
177172 return instance
178173
179174 def _get_diffusion_extra_body_params (self ) -> frozenset [str ]:
You can’t perform that action at this time.
0 commit comments