Browse Source

fix: remove unused variable in set_lmdeploy_backend function

myhloli 2 weeks ago
parent
commit
f9f67ddef4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      mineru/backend/vlm/utils.py

+ 0 - 1
mineru/backend/vlm/utils.py

@@ -46,7 +46,6 @@ def enable_custom_logits_processors() -> bool:
 
 
 def set_lmdeploy_backend(device_type:str) -> str:
-    lmdeploy_backend = ""
     if device_type.lower() in ["ascend", "maca", "camb"]:
         lmdeploy_backend = "pytorch"
     elif device_type.lower() in ["cuda"]: