Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Enable PaddleOCR-VL model: https://huggingface.co/PaddlePaddle/PaddleOCR-VL
Test CMD:
Launch server:
VLLM_SKIP_WARMUP=true PT_HPU_LAZY_MODE=1 vllm serve PaddlePaddle/PaddleOCR-VL --host 0.0.0.0 --port 8080 --trust-remote-code --gpu-memory-utilization 0.5 --max-model-len 16384 --served-model-name 'PaddleOCR-VL-0.9B'To Use paddleocr as client:
python -m pip install paddlepaddle==3.2.0 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/pip install paddlex==3.3.4python -m pip install -U "paddleocr[doc-parser]"python -m pip install https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whlpaddleocr doc_parser -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png --enable_mkldnn False --vl_rec_backend vllm-server --vl_rec_server_url http://127.0.0.1:8080/v1 --save_path ./output