Page 1 of 1

M.2 Google Coral TPU in VB ?

Posted: 29. Nov 2021, 12:11
by jeremypsl
Hello

I was wondering if it is possible to passtrough a M.2 Google Coral TPU card in VB ?
I would like to use it in a Home Assistant/Frigate VM for video surveillance analysis.
I passtough a z-wave usb key without any problem but i don't know where to look for M.2 devices.

Thanks !

Re: M.2 Google Coral TPU in VB ?

Posted: 29. Nov 2021, 12:35
by mpack
In general: Virtual Machines don't use any physical hardware except the CPU.

VirtualBox v7 will I believe have the ability to pass host TPU info to the VM, but we don't have a date for v7 yet (*) and I don't know what the limitations will be when it appears.

(*) There are v7 development snapshost available that you can try now. Bear in mind that these have not been tested at all, so if you need your VMs to keep working you should probably just wait.

Re: M.2 Google Coral TPU in VB ?

Posted: 29. Nov 2021, 13:03
by jeremypsl
Ok thank you for the information.
I will test that.

Re: M.2 Google Coral TPU in VB ?

Posted: 29. Nov 2021, 14:35
by fth0
mpack wrote:VirtualBox v7 will I believe have the ability to pass host TPU info to the VM
Are you perhaps confusing TPU (Tensor Processing Unit) with TPM (Trusted Platform Module) here?
jeremypsl wrote:I was wondering if it is possible to passtrough a M.2 Google Coral TPU card in VB ?
I don't think so, because there is no PCI* passthrough available. But I could imagine that it is possible to passthrough USB devices with TPUs into VirtualBox VMs.

Re: M.2 Google Coral TPU in VB ?

Posted: 29. Nov 2021, 14:51
by mpack
fth0 wrote:
mpack wrote:VirtualBox v7 will I believe have the ability to pass host TPU info to the VM
Are you perhaps confusing TPU (Tensor Processing Unit) with TPM (Trusted Platform Module) here?
I am indeed. Ok, only the first sentence of my previous post applies.