Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: add mineru-lmdeploy-server service to compose.yaml with configuration
myhloli60c5f7d89013
diff --git a/docker/compose.yaml b/docker/compose.yamlindex 85bb7e66..8d37db59 100644--- a/docker/compose.yaml+++ b/docker/compose.yaml@@ -1,6 +1,6 @@services:mineru-vllm-server:- image: mineru-vllm:latest+ image: mineru:latestcontainer_name: mineru-vllm-serverrestart: alwaysprofiles: ["vllm-server"]@@ -28,8 +28,37 @@ services:device_ids: ["0"]capabilities: [gpu]+ mineru-lmdeploy-server:+ image: mineru:latest+ container_name: mineru-lmdeploy-server+ restart: always+ profiles: [ "lmdeploy-server" ]+ ports:+ - 30000:30000+ environment:+ MINERU_MODEL_SOURCE: local+ entrypoint: mineru-lmdeploy-server+ command:+ --host 0.0.0.0+ --port 30000+ # --dp 2 # If using multiple GPUs, increase throughput using lmdeploy's multi-GPU parallel mode+ # --cache-max-entry-count 0.5 # If running on a single GPU and encountering VRAM shortage, reduce the KV cache size by this parameter, if VRAM issues persist, try lowering it further to `0.4` or below.+ ulimits:+ memlock: -1+ stack: 67108864+ ipc: host+ healthcheck:+ test: [ "CMD-SHELL", "curl -f http://localhost:30000/health || exit 1" ]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ device_ids: [ "0" ]+ capabilities: [ gpu ]+mineru-api:- image: mineru-vllm:latest+ image: mineru:latestcontainer_name: mineru-apirestart: alwaysprofiles: ["api"]@@ -57,7 +86,7 @@ services:capabilities: [ gpu ]mineru-gradio:- image: mineru-vllm:latest+ image: mineru:latestcontainer_name: mineru-gradiorestart: alwaysprofiles: ["gradio"]