fastdeploy 中cpu-gpu,python有没有设置CPU线程cpu_threads 的参数 #12344
Unanswered
mrchengshunlong
asked this question in
Q&A
Replies: 2 comments
-
您好,请给出具体的环境,运行命令,使用cpu_threads=32或者enable_mkldnn=True 的报错信息。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Sunting78
在说明md中,我并没有找到像传统PaddleOCR的参数设置,只看到切换backend的方法,我把cpu_threads=32 之类的放入到fd.vision.ocr.PPOCRv3或者ppocr_v3.predict,都会显示没有该配置
我想问的是,fastdeploy 支不支持配置cpu核心,如果支持,请告诉我方法,非常感谢 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
提到可以修改前后处理超参数,但没有说明具体的用法,直接使用cpu_threads=32或者enable_mkldnn=True 要报错,option = fd.RuntimeOption()貌似也只能切换后端。请求给出具体用法
Beta Was this translation helpful? Give feedback.
All reactions