diff --git a/libs/community/langchain_community/llms/bigdl_llm.py b/libs/community/langchain_community/llms/bigdl_llm.py index af0e156977a6f..18decd814fcbb 100644 --- a/libs/community/langchain_community/llms/bigdl_llm.py +++ b/libs/community/langchain_community/llms/bigdl_llm.py @@ -1,10 +1,9 @@ +import logging from typing import Any, Optional from langchain_community.llms.ipex_llm import IpexLLM from langchain_core.language_models.llms import LLM -import logging - logger = logging.getLogger(__name__) class BigdlLLM(IpexLLM): diff --git a/libs/community/langchain_community/llms/ipex_llm.py b/libs/community/langchain_community/llms/ipex_llm.py index 993a1764e57e0..af847786d9771 100644 --- a/libs/community/langchain_community/llms/ipex_llm.py +++ b/libs/community/langchain_community/llms/ipex_llm.py @@ -1,3 +1,4 @@ +import logging from typing import Any, List, Mapping, Optional from langchain_core.callbacks import CallbackManagerForLLMRun @@ -6,7 +7,6 @@ DEFAULT_MODEL_ID = "gpt2" -import logging logger = logging.getLogger(__name__)