Hi,
the error PCI_NUM_PINS error could happens because the NVIDIA T4 doesn’t reset properly after a VM shutdown, leaving KVM with invalid PCI interrupt pins.
You could try to bind the T4 to VFIO at boot, disable PCIe ASPM and probably vendor-reset script to reset a GPU to a clean state.