eltociear commited on
Commit
7a3f31e
·
unverified ·
1 Parent(s): fd44591

chore: update llm.py

Browse files

intialize -> initialize

Files changed (1) hide show
  1. lightrag/llm.py +1 -1
lightrag/llm.py CHANGED
@@ -402,7 +402,7 @@ async def lmdeploy_model_if_cache(
402
  import lmdeploy
403
  from lmdeploy import version_info, GenerationConfig
404
  except Exception:
405
- raise ImportError("Please install lmdeploy before intialize lmdeploy backend.")
406
  kwargs.pop("hashing_kv", None)
407
  kwargs.pop("response_format", None)
408
  max_new_tokens = kwargs.pop("max_tokens", 512)
 
402
  import lmdeploy
403
  from lmdeploy import version_info, GenerationConfig
404
  except Exception:
405
+ raise ImportError("Please install lmdeploy before initialize lmdeploy backend.")
406
  kwargs.pop("hashing_kv", None)
407
  kwargs.pop("response_format", None)
408
  max_new_tokens = kwargs.pop("max_tokens", 512)