Added checks for an NVIDIA GPU, mig compatible GPU.
Only runs when an NVIDIA GPU is detected, mig is only setup/configured when that GPU supports MIG.
Only runs when an NVIDIA GPU is detected, mig is only setup/configured when that GPU supports MIG.