airockchip / rknn-toolkit2

BSD 3-Clause "New" or "Revised" License
510 stars 61 forks source link

librknnrt.so distribution and source code availability #58

Open ogvalt opened 1 month ago

ogvalt commented 1 month ago

Hi there! Appreciate all the hard work you put in this project!

I was wondering about two questions:

  1. Is it possible to take a look at source code of runtime and drivers. (I'm thinking about adding support for RockChip accelerators to tinygrad project)
  2. Is it possible to distribute librknnrt.so as part of whl file? This could remove some obsticles while installing python toolkits librknnrt.so like: avoiding replacing library in /usr/bin and dealing with version matching and environment isolation
zpcore commented 1 week ago

+1, this also helps us build our rknn-toolkit2 on ARM.

However, runtime may reveal some NPU hardware details. This can be a hard request to them :>