Open subhankardori opened 1 month ago
@SWHL @jzhang533 need an assignee to this issue, tagging because paddle-bot didnt assign it to anyone if any other relevant info is required, please let me know, I'll post it
use_gpu and use_multiprocess cannot be true at the same time.
@GreatV ok so you mean use_multiprocess is by default set to True, since I didn’t explicitly set it
but does this mode use_multiprocess=True allow GPU based processing ? Or simply CPU
Currently, only the CPU can use multithreading, and there have been many reports from the community on this issue. You can refer: https://github.com/search?q=org%3APaddlePaddle+cudaErrorInitializationError&type=issues
so @GreatV , can I do a use_gpu=True and set the use_multiprocess=False, since I want to utilize the CUDA capabilities, what I am able to understand is that use_multiprocess is a param to facilitate threading internally in PaddleOCR
Using NVIDIA docker equipped with CUDA and cuDNN already, a paddleocr script is running end-to-end but not when there is multiprocessing. Need urgent insight/solutions!