Skip to content
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

使用gpu,中文文本长度过长时会出现报错。长度较短则不会。报错信息如下 #26

Open
lzh1998-jansen opened this issue Jul 6, 2023 · 2 comments

Comments

@lzh1998-jansen
Copy link

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Add node. Name:'/encoder/embeddings/Add_2' Status Message: /encoder/embeddings/Add_2: right operand cannot broadcast on dim 1 LeftShape: {2,6514,768}, RightShape: {1,2048,768}

@xxllp
Copy link

xxllp commented Sep 26, 2023

你是训练还是预测

@lzh1998-jansen
Copy link
Author

你是训练还是预测

预测

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants