Skip to content

Commit

Permalink
Merge pull request #436 from eltociear/patch-1
Browse files Browse the repository at this point in the history
chore: update llm.py
  • Loading branch information
LarFii authored Dec 9, 2024
2 parents e5cc43a + b8cddb6 commit 11d8440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightrag/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ async def lmdeploy_model_if_cache(
import lmdeploy
from lmdeploy import version_info, GenerationConfig
except Exception:
raise ImportError("Please install lmdeploy before intialize lmdeploy backend.")
raise ImportError("Please install lmdeploy before initialize lmdeploy backend.")
kwargs.pop("hashing_kv", None)
kwargs.pop("response_format", None)
max_new_tokens = kwargs.pop("max_tokens", 512)
Expand Down

0 comments on commit 11d8440

Please sign in to comment.