vGPU passthrough in LXD VM

For vGPU, you’ll need to setup NVIDIA GRID and the licensing server on the host.
Once you have that in place, lxc info --resources should show you mdev profiles on your T4 at which point you can use lxc config device add INSTANCE DEV gpu type=mdev pci=PCI mdev=MDEV