Skip to content

Commit

Permalink
Merge pull request #8 from shane-huang/ipex-llm-fix
Browse files Browse the repository at this point in the history
fix format
  • Loading branch information
shane-huang committed Mar 26, 2024
2 parents 47c16f2 + 5bf4d60 commit d763f90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions libs/community/langchain_community/llms/bigdl_llm.py
Original file line number Diff line number Diff line change
@@ -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__)

Check failure on line 7 in libs/community/langchain_community/llms/bigdl_llm.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.8

Ruff (I001)

langchain_community/llms/bigdl_llm.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 7 in libs/community/langchain_community/llms/bigdl_llm.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.11

Ruff (I001)

langchain_community/llms/bigdl_llm.py:1:1: I001 Import block is un-sorted or un-formatted

class BigdlLLM(IpexLLM):
Expand Down
2 changes: 1 addition & 1 deletion libs/community/langchain_community/llms/ipex_llm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import Any, List, Mapping, Optional

from langchain_core.callbacks import CallbackManagerForLLMRun
Expand All @@ -6,7 +7,6 @@

DEFAULT_MODEL_ID = "gpt2"

import logging

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit d763f90

Please sign in to comment.