Details
Consumer-grade gaming-oriented NVIDIA devices only support the WDDM device driver model. This driver is intended to support graphics display, not computation.
Professional-grade NVIDIA cards support the TCC driver mode, which provides better performance and stability.
The following table describes some considerations for selecting the GPU drivers mode:

Note: It is recommended to use the GPU Memory Optimization
Note: If using a GeForce-branded card, be aware that NVIDIA drivers are updated frequently and may not be compatible with VisionPro Deep Learning.
If available, the TCC Mode can be enabled by running command:
| nvidia-smi -dm 1 -i 0 |

Enabling the TCC Mode might help solving Memory Issues reported as
Cognex internal error (6cc4a157)