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

macos15下,app的名称是三字中文,启动MNN推理就会崩溃。 #3063

Open
acezhx opened this issue Oct 24, 2024 · 4 comments
Open
Labels
bug Something isn't working

Comments

@acezhx
Copy link

acezhx commented Oct 24, 2024

版本2.9.0,编译macos下的framework,使用该framework开发的macos app,把app的名字修改成是三个字的中文,在macos15系统上运行MNN推理会崩溃。在macos15以下的系统上是正常的。
image
报错信息:-[MTLComputePipelineDescriptorInternal setComputeFunction:withType:]:800: failed assertion `computeFunction must not be nil.'

@jxt1234 jxt1234 added the bug Something isn't working label Oct 25, 2024
@jxt1234
Copy link
Collaborator

jxt1234 commented Oct 25, 2024

framework 是怎么编译的?

@acezhx
Copy link
Author

acezhx commented Oct 25, 2024

framework 是怎么编译的?

MNN/package_scripts/mac
/buildFrameWork.sh
直接用的项目里的命令编译的

@jxt1234
Copy link
Collaborator

jxt1234 commented Oct 31, 2024

是使用的 metal 后端么?

@acezhx
Copy link
Author

acezhx commented Nov 4, 2024

是使用的 metal 后端么?

是的,编译命令里是 -DMNN_METAL=ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants