Google AI says:
The Raspberry Pi 5's PCIe interface has a default speed of 5
Gigatransfers/sec (GT/sec) per lane, or PCIe Gen 2.0. The external
connector can be configured to run at PCIe Gen 3.0 speeds (8 GT/sec).
Explanation
* The Raspberry Pi 5 has five active PCIe lanes.
* The internal lanes are always set to Gen 2 speed.
* The external connector can be configured to run at Gen 3 speeds.
* The Raspberry Pi 5 is not certified for Gen 3.0 speeds, so connections
to PCIe devices at these speeds may be unstable. (MW: that mght have
changed in the meantime, the AI hats use Gen3)
* The Pi5 NVMe PIP (PCIe Peripheral Board) is a PCIe adapter board
designed for NVMe solid-state drives.
* The NVMe Base for Raspberry Pi 5 is an add-on board that connects to
the Pi's PCIe interface. It offers read speeds of up to 800MB/s and
write speeds of 450MB/s
----------------------------------------------------------------
I could not find any info on 'on hat/on chip' memory:-(
The 26TOPS hat version uses the HAILO-8 chip:
https://hailo.ai/products/ai-accelerators/hailo-8-ai-accelerator
-- Marco