2.Whenwecallthe__init__ofInferenceEngine,wedon't want to setattr using self.__dict__["xxx"] = xxx, we want to use origin ways like self.xxx = xxx
Sowesettheattribute`_initialized`.Andafterinitialized,ifwecouldn't get the member from InferenceEngine, we will try to get the member from self.engine(DiffusionEngine/LLMEngine)