@adrianco Far as I understand, it doesn't work on macOS because it's an Apple GPU (part of the M-series chips) and not NVIDIA.
Exotic enough of a combination of hardware & drivers to not have support in Linux contexts, even if you could pass through access to a Linux-based container. But it does work if you run directly on macOS, since that's access to the Metal libraries.