how to use paddleocr multi gpu? #11574
Unanswered
Seo-Hyung-San
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using paddleocr 2.5.2.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
from paddleocr import PaddleOCR
readerCN = PaddleOCR(lang="ch")
readerJP = PaddleOCR(lang="japan")
readerCN.ocr("test.png", cls=False)
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
I am using OCR in this format, and the server is currently equipped with two A5000 GPUs.
However, if you actually check the GPU usage with nvidia-smi, only GPU 0 is used.
readerCN = PaddleOCR(lang="ch"), readerJP = PaddleOCR(lang="japan") using daemon thread
is always loaded, but even when loaded, only gpu0 usage is increased.
Can't I use two GPUs?
Beta Was this translation helpful? Give feedback.
All reactions