NVIDIA A40 not shows mdev_supported_types and I can't create vGPUS instances

i had the same problem with the a6000 - the manual does not really point it out that great but you need to do the following

/usr/lib/nvidia/sriov-manage -e 00:D8:0000.0 - in your case it should be a other device id.

once you did this it will create mdevs - i my case it created ~20 devices with device id +1 or so - meaning you cant use your original device id but need to take one of the others.

i have to do this after each boot ( could do it permanent if i wanted too=)

hope this helps you