Jinde.Song
Jinde.Song
是的,可以在 modelscope 上放个列表。
https://github.com/alibaba/MNN/blob/master/apps/Android/MnnLlmChat/README.md#version-050 0.5.0 support push to/data/loca/tmp/mnn_models/ and then you can use from modellist.
adb shell ls /data/local/tmp/mnn_models/model 看下显示
private val localModelList: MutableList by lazy { val result = mutableListOf() try { val modelsDir = File("/data/local/tmp/mnn_models/") if (modelsDir.exists() && modelsDir.isDirectory) { modelsDir.listFiles()?.forEach { modelDir -> if (modelDir.isDirectory && File(modelDir,...
FileUtils.getFileSize 这个方法改为直接返回 0 试试。 另外你的机器是什么型号 。
> > FileUtils.getFileSize 这个方法改为直接返回 0 试试。 另外你的机器是什么型号 。 > > [@Juude](https://github.com/Juude) > > 感谢~~~手机型号 OPPO Reno14 & OPPO FIND X7Ultra, 似乎是 /data/local/tmp/mnn_models 这个路径没有足够的权限,adb shell chmod -R 777 /data/local/tmp/mnn_models/ 后,可以正常访问该路径后本地模型就正常显示在模型列表了~ 那应该是不同手机对这个目录的权限设置不一样
https://github.com/alibaba/MNN/blob/master/apps/Android/MnnLlmChat/README.md#version-050 the android app is released too
@wangzhaode same with me > app crash when i load smoldocling 256m
refer to this https://github.com/alibaba/MNN/issues/3499
未来 可以提供设置选项。