A PCIe Coral TPU Finally Works on Raspberry Pi 5
jeffgeerling.com
jeffgeerling.com
Also a bit sad PyCoral requires python 3.9! Yikes!
PyCoral and Coral hardware development seems glacial lately :(
They have enjoyed a lot of momentum... I wish they could release a follow-up version and get some longstanding software issues resolved.
SDKs for it
https://github.com/rockchip-linux/rknpu2
https://github.com/rockchip-linux/rknn-toolkit2
Quickstart and usage guide:
The bottleneck instead will probably be the video stream decoding speed, especially as the SoC's hardware decoder isn't being used yet.
But I am going to test one of those out soon, too! Hopefully it's software stack is maintained a bit more actively than Coral
It's a bit on the old side, but hardly yikes territory. Ubuntu 20.04 ships with 3.8 [1] as the system python with support until April 2025, and AWS supports 3.7-3.11 for lambda runtimes [2]. 3.12 has only just been released
[1] https://packages.ubuntu.com/focal/python3
[2] https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes...
If you look at the github repo and bug tracker you will see it's largely abandoned. (I have a Coral USB and you can get it running with an old operating system version).
Jetson Nano (~$149)
Orin Nano (~$499, 32 tensor cores, 40 TOPS)
AGX Orin (200-275 TOPS)
NVIDIA Jetson > Origins: https://en.wikipedia.org/wiki/Nvidia_Jetson#Versions
TOPS for NVIDIA [Orin] Nano [AGX] https://connecttech.com/jetson/jetson-module-comparison/
Coral Mini-PCIe ($25; ? tensor cores, 4 TOPS (int8); 2 TOPS per watt)
TPUv5 (393 TOPS)
Tensor Processing Unit (TPU) https://en.wikipedia.org/wiki/Tensor_Processing_Unit
AI Accelerator > Nomenclature: https://en.wikipedia.org/wiki/AI_accelerator
NVIDIA DLSS > Architecture: https://en.wikipedia.org/wiki/Deep_learning_super_sampling#A... :
> DLSS is only available on GeForce RTX 20, GeForce RTX 30, GeForce RTX 40, and Quadro RTX series of video cards, using dedicated AI accelerators called Tensor Cores. [23][28] Tensor Cores are available since the Nvidia Volta GPU microarchitecture, which was first used on the Tesla V100 line of products.[29] They are used for doing fused multiply-add (FMA) operations that are used extensively in neural network calculations for applying a large series of multiplications on weights, followed by the addition of a bias. Tensor cores can operate on FP16, INT8, INT4, and INT1 data types.
Vision processing unit: https://en.wikipedia.org/wiki/Vision_processing_unit
Versatile Processor Unit (VPU)
- Supporting INT4 / INT8 / INT16 / FP16 / BF16 and TF32 acceleration
- Computing power is up to 6TOPs
Obviously mini PCIe is deprecated and it’s unlikely many people have a device with a mini PCIe slot AND they don’t need that slot for WiFi/BT. That’s probably why they’re looking to sell.