sync_init#
- classmethod DPServer.sync_init(llm_config: LLMConfig, *, engine_cls: Type[LLMEngine] | None = None, model_downloader: Type[LoraModelLoader] | None = None) LLMServer#
Synchronous constructor that returns an unstarted instance.
This is used for testing the new pattern where initialization and starting are explicitly separated.
- Parameters:
- Returns:
An unstarted LLMServer instance. Caller must call await start().
- Return type:
LLMServer