ygfrancois commited on
Commit
1ad41be
·
verified ·
1 Parent(s): 0ab24b6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -566,7 +566,7 @@ cd dots.mocr
566
  pip install -e .
567
  ```
568
 
569
- If you have trouble with the installation, try our [Docker Image](https://hub.docker.com/r/rednotehilab/dots.ocr) for an easier setup, and follow these steps:
570
 
571
 
572
  ### Download Model Weights
@@ -581,15 +581,15 @@ python3 tools/download_model.py --type modelscope
581
 
582
  ## 2. Deployment
583
  ### vLLM inference
584
- We highly recommend using vLLM for deployment and inference. **Since vLLM version 0.11.0, Dots OCR has been officially integrated into vLLM with verified performance** and you can use vLLM docker image directly (e.g, `vllm/vllm-openai:v0.11.0`) to deploy the model server.
585
 
586
  ```shell
587
  # Launch vLLM model server
588
  ## dots.mocr
589
- CUDA_VISIBLE_DEVICES=0 vllm serve rednote-hilab/dots.mocr --tensor-parallel-size 1 --gpu-memory-utilization 0.9 --chat-template-content-format string --served-model-name model --trust-remote-code
590
 
591
  ## dots.mocr-svg
592
- CUDA_VISIBLE_DEVICES=0 vllm serve rednote-hilab/dots.mocr-svg --tensor-parallel-size 1 --gpu-memory-utilization 0.9 --chat-template-content-format string --served-model-name model --trust-remote-code
593
 
594
  # vLLM API Demo
595
  # See dots_mocr/model/inference.py and dots_mocr/utils/prompts.py for details on parameter and prompt settings
 
566
  pip install -e .
567
  ```
568
 
569
+ If you have trouble with the installation, we recommend to use vLLM inference. Try official vLLM [Docker Image](https://hub.docker.com/layers/vllm/vllm-openai/v0.17.1-cu130/images/sha256-ec9b626d16b2af377662d9d31c1784aac5174b571450a1e25ffd90ddb639f2d2) for an easier setup, and follow these steps:
570
 
571
 
572
  ### Download Model Weights
 
581
 
582
  ## 2. Deployment
583
  ### vLLM inference
584
+ We highly recommend using vLLM for deployment and inference. **Since vLLM version 0.11.0, Dots OCR has been officially integrated into vLLM with verified performance** and you can use vLLM docker image directly (e.g, `vllm/vllm-openai:v0.17.1`) to deploy the model server.
585
 
586
  ```shell
587
  # Launch vLLM model server
588
  ## dots.mocr
589
+ CUDA_VISIBLE_DEVICES=0 vllm serve rednote-hilab/dots.mocr --tensor-parallel-size 1 --gpu-memory-utilization 0.9 --chat-template-content-format string --trust-remote-code
590
 
591
  ## dots.mocr-svg
592
+ CUDA_VISIBLE_DEVICES=0 vllm serve rednote-hilab/dots.mocr-svg --tensor-parallel-size 1 --gpu-memory-utilization 0.9 --chat-template-content-format string --trust-remote-code
593
 
594
  # vLLM API Demo
595
  # See dots_mocr/model/inference.py and dots_mocr/utils/prompts.py for details on parameter and prompt settings