Jump to content

Recommended Posts

Posted

Can someone tell me the major/minor device numbers for the /dev/rknpu device? It wasn't created in the image that I'm using.  I'm trying to determine if the built-in npu has enough functionality to test a llm:
 

# cat /sys/kernel/debug/rknpu/version 
RKNPU driver: v0.9.8
# 



 

I'm running the latest of the linux-image-vendor-rk35xx=25.5.1 v6.1.115

$ uname -a
Linux cm3588-nas 6.1.115-vendor-rk35xx #1 SMP Wed Aug 13 03:55:09 UTC 2025 aarch64 GNU/Linux
$


 

# LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu python3 server.py
Loaded RKLLM library from '/usr/lib/aarch64-linux-gnu/librkllmrt.so'
RKLLM_LOG_LEVEL: 1
Initializing model with parameters: 
  Path: /src/models/tinyllama-v1-rk3588/tinyllama-v1.0-1.1B-rk3588.rkllm
  Max Context: 30000
  Max New Tokens: -1
  N_Keep: 32
  Use GPU: True
  Is Async (Library Flag): False
E RKNN: [23:47:17.469] failed to open rknpu module, need to insmod rknpu dirver!
E RKNN: [23:47:17.469] failed to open rknn device!
E RKNN: [23:47:17.570] Device is not available
Get device properties failed
Error: rkllm_init failed (code 1).
Failed to initialize RKLLM model. Server not starting.


 

# ls -l /dev/rknpu
ls: cannot access '/dev/rknpu': No such file or directory
#

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines