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

The inference is abnormal when running with opencl #2670

Closed
liamsun2019 opened this issue Nov 23, 2023 · 6 comments
Closed

The inference is abnormal when running with opencl #2670

liamsun2019 opened this issue Nov 23, 2023 · 6 comments

Comments

@liamsun2019
Copy link

  1. 某个模型在CPU上可以正常推理,但同样的推理代码,使用opencl版本,则结果不对。
  2. 使用backbendtest.out测试,则会block住
@Qxinyu
Copy link
Collaborator

Qxinyu commented Nov 29, 2023

这个方便提供下模型吗

@liamsun2019
Copy link
Author

可以的。不过这个是我们的内部模型,有没有别的方式私发给你?

@Qxinyu
Copy link
Collaborator

Qxinyu commented Nov 29, 2023

你有加MNN开源交流/三群吗

@liamsun2019
Copy link
Author

有的,模型我之前其实给过霞影。或者加好友我私发给你。我的群昵称是哈拉帕。

@Qxinyu
Copy link
Collaborator

Qxinyu commented Nov 29, 2023

好的

@jxt1234
Copy link
Collaborator

jxt1234 commented Dec 4, 2023

验证下来是 fp16 精度问题,设 precision = 1 后结果是正确的。如有其他问题重新提 issue 吧

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

3 participants