-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新到1.0.1之后,还是出现RuntimeError: could not execute a primitive #1581
Comments
你把完整的报错信息发一下看看? |
pip list 看下paddleocr和paddlepaddle的版本 |
版本都没问题,命令行执行没有这个报错? |
我刚才使用4个10页左右的PDF,采用命令行的方式:magic-pdf -p input -o output -m auto 的方式进行测试,没有报错。好像还是paddle的问题,我找到的几个回答都是几年前的,最新的回答如下,fastapi好像可有效缓解,但是gradio是否有解决的办法呢? |
我们在gradio上没有遇到该问题,可能因为我们都是在使用paddlepaddle-gpu的,你也可以尝试使用gpu版本的paddle |
我这边不太支持gpu,我准备试试您们新出的华为的npu镜像,这个应该也是配了gradio了吧? |
镜像只包含命令行程序,可以自己部署gradio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @myhloli in #1563
您好,我按照您说的更新了magic-pdf的版本到1.0.1(magic-pdf --version命令显示的结果是1.0.1),并且在master分支重新拉取了gradio_app的代码,但是当我多次上传文件进行解析后,还是会出现RuntimeError: could not execute a primitive,您说这个是paddle的问题,那我需要更新paddle的版本吗?我目前的版本好像是paddle 3.0.0b
The text was updated successfully, but these errors were encountered: