|
【技术讨论】
rk3399pro eval_memory得到以下内存结果有问题吗?
发表于 2021-7-11 21:20:38
浏览:6067
|
回复:0
打印
只看该作者
[复制链接]
楼主
本帖最后由 junyius 于 2021-7-11 21:23 编辑
--> Init runtime environment
W Flag eval_mem has been set, it will affect the performance of inference!
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 1.6.0 (79320de build: 2020-12-29 10:57:09)
D RKNNAPI: DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
D RKNNAPI: ==============================================
*************************
all device(s) with ntb mode:
0123456789ABCDEF
*************************
----------------->>>>> ([], ['0123456789ABCDEF'])
done
======================================================
Memory Profile Info Dump
======================================================
System memory:
maximum allocation : 24.09 MiB
total allocation : 73.42 MiB
NPU memory:
maximum allocation : 34.53 MiB
total allocation : 34.55 MiB
Total memory:
maximum allocation : 58.62 MiB
total allocation : 107.97 MiB
INFO: When evaluating memory usage, we need consider
the size of model, current model size is: 4.10 MiB
======================================================
板子说明书说的rk3399pro的npu内存有1G,但是得到的NPU memory: 只有30多M,这个正常吗?有没办法得到npu的总内存,而不是使用内存? |
|