Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: remove unused variable in set_lmdeploy_backend function

myhlolif9f67ddef479
diff --git a/mineru/backend/vlm/utils.py b/mineru/backend/vlm/utils.py
index 6259036b..2ca92b9b 100644
--- a/mineru/backend/vlm/utils.py
+++ b/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"]: