airockchip / rknn-llm

Other
417 stars 36 forks source link

输出全是: !!!!!!! 。这样的 #50

Open wmx-github opened 6 months ago

wmx-github commented 6 months ago

orangepi@orangepi5b:~$ dmesg | grep -i rknpu [ 3.019014] RKNPU fdab0000.npu: Adding to iommu group 0 [ 3.019175] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode [ 3.024422] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff] [ 3.024448] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff] [ 3.024463] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]

[ 3.024837] [drm] Initialized rknpu 0.9.6 20240322 for fdab0000.npu on minor 1

[ 3.032475] RKNPU fdab0000.npu: RKNPU: bin=0 [ 3.032726] RKNPU fdab0000.npu: leakage=10 [ 3.032773] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present! [ 3.041895] RKNPU fdab0000.npu: pvtm=895 [ 3.047136] RKNPU fdab0000.npu: pvtm-volt-sel=4 [ 3.047267] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present! [ 3.049733] RKNPU fdab0000.npu: avs=0 [ 3.049930] RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0

下面运行模型:

user: 你是? robot: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

user: 你好 robot: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!