🔎 Search before asking
🐛 Bug (问题描述)
使用H20显卡推理时,内容为空
使用环境及cuda版本

CUDA Version: 12.2
推理脚本
paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png \ --use_doc_orientation_classify False \ --use_doc_unwarping False \ --use_textline_orientation False \ --save_path ./output \ --device gpu:0
GPU结果

CPU结果

🏃♂️ Environment (运行环境)
aiohappyeyeballs 2.6.1
aiohttp 3.12.13
aiosignal 1.3.2
altair 5.5.0
annotated-types 0.7.0
anyio 4.9.0
astor 0.8.1
async-timeout 4.0.3
attrs 25.3.0
blinker 1.9.0
cachetools 6.1.0
certifi 2025.1.31
chardet 5.2.0
charset-normalizer 3.4.2
click 8.2.1
colorlog 6.9.0
cssselect 1.3.0
cssutils 2.11.1
dataclasses-json 0.6.7
decorator 5.2.1
distro 1.9.0
einops 0.8.1
et_xmlfile 2.0.0
exceptiongroup 1.2.2
filelock 3.18.0
frozenlist 1.7.0
fsspec 2025.5.1
ftfy 6.3.1
gitdb 4.0.12
GitPython 3.1.44
GPUtil 1.4.0
greenlet 3.2.3
h11 0.14.0
hf-xet 1.1.4
httpcore 1.0.8
httpx 0.28.1
httpx-sse 0.4.0
huggingface-hub 0.33.0
idna 3.10
imagesize 1.4.1
Jinja2 3.1.6
jiter 0.10.0
joblib 1.5.1
jsonpatch 1.33
jsonpointer 3.0.0
jsonschema 4.24.0
jsonschema-specifications 2025.4.1
langchain 0.3.25
langchain-community 0.3.25
langchain-core 0.3.65
langchain-openai 0.3.24
langchain-text-splitters 0.3.8
langsmith 0.3.45
lxml 5.4.0
MarkupSafe 3.0.2
marshmallow 3.26.1
modelscope 1.27.0
more-itertools 10.7.0
multidict 6.5.0
mypy_extensions 1.1.0
narwhals 1.43.1
networkx 3.4.2
numpy 2.2.6
nvidia-cublas-cu11 11.11.3.6
nvidia-cuda-cupti-cu11 11.8.87
nvidia-cuda-nvrtc-cu11 11.8.89
nvidia-cuda-runtime-cu11 11.8.89
nvidia-cudnn-cu11 8.9.6.50
nvidia-cufft-cu11 10.9.0.58
nvidia-curand-cu11 10.3.0.86
nvidia-cusolver-cu11 11.4.1.48
nvidia-cusparse-cu11 11.7.5.86
nvidia-nccl-cu11 2.19.3
nvidia-nvtx-cu11 11.8.86
openai 1.88.0
opencv-contrib-python 4.10.0.84
openpyxl 3.1.5
opt-einsum 3.3.0
orjson 3.10.18
packaging 25.0
paddleocr 3.0.2
paddlepaddle-gpu 3.0.0
paddlex 3.0.2
pandas 2.3.0
pillow 11.2.1
pip 25.1
premailer 3.10.0
prettytable 3.16.0
propcache 0.3.2
protobuf 6.31.1
py-cpuinfo 9.0.0
pyarrow 20.0.0
pyclipper 1.3.0.post6
pydantic 2.11.7
pydantic_core 2.33.2
pydantic-settings 2.9.1
pydeck 0.9.1
pypdfium2 4.30.1
python-dateutil 2.9.0.post0
python-dotenv 1.1.0
pytz 2025.2
PyYAML 6.0.2
referencing 0.36.2
regex 2024.11.6
requests 2.32.4
requests-toolbelt 1.0.0
rpds-py 0.25.1
ruamel.yaml 0.18.14
ruamel.yaml.clib 0.2.12
scikit-learn 1.7.0
scipy 1.15.3
setuptools 78.1.1
shapely 2.1.1
six 1.17.0
smmap 5.0.2
sniffio 1.3.1
SQLAlchemy 2.0.41
streamlit 1.46.0
tenacity 9.1.2
threadpoolctl 3.6.0
tiktoken 0.9.0
tokenizers 0.21.1
toml 0.10.2
tornado 6.5.1
tqdm 4.67.1
typing_extensions 4.14.0
typing-inspect 0.9.0
typing-inspection 0.4.1
tzdata 2025.2
ujson 5.10.0
urllib3 2.5.0
watchdog 6.0.0
wcwidth 0.2.13
wheel 0.45.1
yarl 1.20.1
zstandard 0.23.0
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png
--use_doc_orientation_classify False
--use_doc_unwarping False
--use_textline_orientation False
--save_path ./output
--device gpu:0
🔎 Search before asking
🐛 Bug (问题描述)
使用H20显卡推理时,内容为空
使用环境及cuda版本
CUDA Version: 12.2
推理脚本
paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png \ --use_doc_orientation_classify False \ --use_doc_unwarping False \ --use_textline_orientation False \ --save_path ./output \ --device gpu:0GPU结果
CPU结果
🏃♂️ Environment (运行环境)
aiohappyeyeballs 2.6.1
aiohttp 3.12.13
aiosignal 1.3.2
altair 5.5.0
annotated-types 0.7.0
anyio 4.9.0
astor 0.8.1
async-timeout 4.0.3
attrs 25.3.0
blinker 1.9.0
cachetools 6.1.0
certifi 2025.1.31
chardet 5.2.0
charset-normalizer 3.4.2
click 8.2.1
colorlog 6.9.0
cssselect 1.3.0
cssutils 2.11.1
dataclasses-json 0.6.7
decorator 5.2.1
distro 1.9.0
einops 0.8.1
et_xmlfile 2.0.0
exceptiongroup 1.2.2
filelock 3.18.0
frozenlist 1.7.0
fsspec 2025.5.1
ftfy 6.3.1
gitdb 4.0.12
GitPython 3.1.44
GPUtil 1.4.0
greenlet 3.2.3
h11 0.14.0
hf-xet 1.1.4
httpcore 1.0.8
httpx 0.28.1
httpx-sse 0.4.0
huggingface-hub 0.33.0
idna 3.10
imagesize 1.4.1
Jinja2 3.1.6
jiter 0.10.0
joblib 1.5.1
jsonpatch 1.33
jsonpointer 3.0.0
jsonschema 4.24.0
jsonschema-specifications 2025.4.1
langchain 0.3.25
langchain-community 0.3.25
langchain-core 0.3.65
langchain-openai 0.3.24
langchain-text-splitters 0.3.8
langsmith 0.3.45
lxml 5.4.0
MarkupSafe 3.0.2
marshmallow 3.26.1
modelscope 1.27.0
more-itertools 10.7.0
multidict 6.5.0
mypy_extensions 1.1.0
narwhals 1.43.1
networkx 3.4.2
numpy 2.2.6
nvidia-cublas-cu11 11.11.3.6
nvidia-cuda-cupti-cu11 11.8.87
nvidia-cuda-nvrtc-cu11 11.8.89
nvidia-cuda-runtime-cu11 11.8.89
nvidia-cudnn-cu11 8.9.6.50
nvidia-cufft-cu11 10.9.0.58
nvidia-curand-cu11 10.3.0.86
nvidia-cusolver-cu11 11.4.1.48
nvidia-cusparse-cu11 11.7.5.86
nvidia-nccl-cu11 2.19.3
nvidia-nvtx-cu11 11.8.86
openai 1.88.0
opencv-contrib-python 4.10.0.84
openpyxl 3.1.5
opt-einsum 3.3.0
orjson 3.10.18
packaging 25.0
paddleocr 3.0.2
paddlepaddle-gpu 3.0.0
paddlex 3.0.2
pandas 2.3.0
pillow 11.2.1
pip 25.1
premailer 3.10.0
prettytable 3.16.0
propcache 0.3.2
protobuf 6.31.1
py-cpuinfo 9.0.0
pyarrow 20.0.0
pyclipper 1.3.0.post6
pydantic 2.11.7
pydantic_core 2.33.2
pydantic-settings 2.9.1
pydeck 0.9.1
pypdfium2 4.30.1
python-dateutil 2.9.0.post0
python-dotenv 1.1.0
pytz 2025.2
PyYAML 6.0.2
referencing 0.36.2
regex 2024.11.6
requests 2.32.4
requests-toolbelt 1.0.0
rpds-py 0.25.1
ruamel.yaml 0.18.14
ruamel.yaml.clib 0.2.12
scikit-learn 1.7.0
scipy 1.15.3
setuptools 78.1.1
shapely 2.1.1
six 1.17.0
smmap 5.0.2
sniffio 1.3.1
SQLAlchemy 2.0.41
streamlit 1.46.0
tenacity 9.1.2
threadpoolctl 3.6.0
tiktoken 0.9.0
tokenizers 0.21.1
toml 0.10.2
tornado 6.5.1
tqdm 4.67.1
typing_extensions 4.14.0
typing-inspect 0.9.0
typing-inspection 0.4.1
tzdata 2025.2
ujson 5.10.0
urllib3 2.5.0
watchdog 6.0.0
wcwidth 0.2.13
wheel 0.45.1
yarl 1.20.1
zstandard 0.23.0
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png
--use_doc_orientation_classify False
--use_doc_unwarping False
--use_textline_orientation False
--save_path ./output
--device gpu:0