Commit 2f9e449e authored by chenych's avatar chenych
Browse files

Update to paddlex==3.3.9

parent 47df8a3f
......@@ -30,12 +30,7 @@ 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.8
# /your/env/path/of/ 可以通过pip show paddlex命令查看
cp replace/__init__.py /your/env/path/of/paddlex/inference/genai/
cp replace/server.py /your/env/path/of/paddlex/inference/genai/
cp replace/vllm.py /your/env/path/of/paddlex/inference/genai/backends/
cp replace/paddleocr_vl_09b.py /your/env/path/of/paddlex/inference/genai/configs/
pip install paddlex==3.3.9
```
### Dockerfile(方法二)
......@@ -49,12 +44,7 @@ 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.8
# /your/env/path/of/ 可以通过pip show paddlex命令查看
cp replace/__init__.py /your/env/path/of/paddlex/inference/genai/
cp replace/server.py /your/env/path/of/paddlex/inference/genai/
cp replace/vllm.py /your/env/path/of/paddlex/inference/genai/backends/
cp replace/paddleocr_vl_09b.py /your/env/path/of/paddlex/inference/genai/configs/
pip install paddlex==3.3.9
```
### Anaconda(方法三)
......@@ -71,12 +61,7 @@ pip install -r requirements.txt
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.8
# /your/env/path/of/ 可以通过pip show paddlex命令查看
cp replace/__init__.py /your/env/path/of/paddlex/inference/genai/
cp replace/server.py /your/env/path/of/paddlex/inference/genai/
cp replace/vllm.py /your/env/path/of/paddlex/inference/genai/backends/
cp replace/paddleocr_vl_09b.py /your/env/path/of/paddlex/inference/genai/configs/
pip install paddlex==3.3.9
```
## 数据集
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment