update
This commit is contained in:
13
enginex/PaddleOCR-VL.md
Normal file
13
enginex/PaddleOCR-VL.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/vllm:0.9.2-ubuntu22.04-dtk25.04.2-py3.10
|
||||
docker run -it --shm-size 200g --network=host --name {docker_name} --privileged --device=/dev/kfd --device=/dev/dri --device=/dev/mkfd --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/vllm:0.9.2-ubuntu22.04-dtk25.04.2-py3.10 bash
|
||||
|
||||
cd /your_code_path/paddleocr-vl_paddle
|
||||
python -m pip install paddlepaddle-dcu==3.2.1 -i https://www.paddlepaddle.org.cn/packages/stable/dcu/
|
||||
python -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.whl
|
||||
pip install paddlex==3.3.9
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user