alibaba / MNN

MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba
http://www.mnn.zone/
8.76k stars 1.67k forks source link

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

Open acezhx opened 1 month ago

acezhx commented 1 month ago

版本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 commented 1 month ago

framework 是怎么编译的?

acezhx commented 4 weeks ago

framework 是怎么编译的?

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

jxt1234 commented 3 weeks ago

是使用的 metal 后端么?

acezhx commented 2 weeks ago

是使用的 metal 后端么?

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