Repository navigation
[Feature] Machine Learning using Rockchip NPU on supported boards. #13243
Replies: 20 comments 106 replies
|
Update: I am able to run "ViT-B-32__openai" using rknn-toolkit2 on emulator, I haven't verify the accuracy but I will say it got some progress. |
Can someone help me with dynamic_shapes&static_shapes? I have no idea what are them. |
|
I don't know anything about machine learning development but I do have a FriendlyElec CM3588 NAS which is mostly idling at the moment. I was anyways planning to move my Immich to that from my 15 years old Xeon home server. |
|
Oh, wait! It looks like it got itself race-conditioned or something. |
|
Ok, now all models (clip ViT-B-32 and buffalo_l) work with concurrency 1. |
|
We only load the onnx model when the get_input and get_output are required now, no more 1 gig memory usage for a textual model! |
|
Great job, I have an Orangepi CM4 and just made a PCB circuit board that converts PCIe (m2 adapter) to 5 SATA. I happen to need this! |
|
#15241 btw But seems like everything still works(? |
|
After this commit yoni13@4b0f93c#diff-11bd5eb879036c49a92372828a94f25a483e31f60e829255bcee33b87ca0260b , we have idk what happened
|
|
可以打包一个rk3566的镜像测试一下吗 |
|
I would like to ask which version of rknn-toolkit2 are you using? I encountered an issue while using version 1.6, where the onnx model cannot be opened. The reason is that onnx runtime==1.16.0 and onnx==1.14.1 cannot support higher versions of opset in onnx (from immich-app/ViT-B-32_openi), but I upgraded onnx runtime==1.19.0 and onnx==1.17.0 and cannot meet the dependency of rknn-toolkit2==1.6.0. This makes me very distressed. |
|
@harris-shelby @yuukh @mertalev |
|
Btw pointed out by @devinzhang91, the app will cache the wrong file because we use {soc}.RKNN instead of model.rknn. Hope not a blocker(? |
|
Are you all actively working on this feature? Be glad to help because my entire home setup runs on a cluster of orange pi's. I cannot tell, no Github label. |
|
@yoni13 你好,请教个问题,我遇到一个问题,使用【智能搜索】任务可以使用npu加速,但是搜索图片时【以文搜图】却会导致机器学习自动重启,请问这是什么问题啊?内存应该是够的 需要强调的是:在执行任务【智能搜索】整个过程中是一切顺利的,npu也有正常调用,但是无法完成【以文搜图】,非常期待你的答复! |
|
With a mainline RK3588 NPU kernel (v5) and userspace driver close to being merged, has anyone tried it and/or have an idea how it could be integrated by immich? /cc @yoni13 |
|
Seems like it will be integrated as a TensorFlow Lite delegate, I haven't
learn much about it yet.
And also that patch seems rk3588 specific?not sure about that but I only
got a 3566
Tom Vincent ***@***.***> 於 2025年5月23日 週五 上午2:18 寫道:
… With a mainline RK3588 NPU kernel
***@***.***/>
and userspace
<https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29698> driver
close to being merged, has anyone tried it and/or have an idea how it could
be integrated by immich? /cc @yoni13 <https://github.com/yoni13>
—
Reply to this email directly, view it on GitHub
<#13243 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASF5CKGFHNMW2OSKSIS335T27YIG3AVCNFSM6AAAAABPPBM6PWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRTG44TEMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
I encountered some troublesome while using the RK3566. Here are some information: Node.js Libvips ImageMagick FFmpeg ML logs The docker-compose.yml The .env Linux version: |





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
Since immich already supports Hardware Transcoding with hardware acceleration via rkmpp, maybe we can make machine learning working on rockchip NPUs.
Links:
rknn-toolkit2
frigate's implantation
How to test
Platform
All reactions