Indeed, because of the way NVIDIA integrates with the Linux kernel, they don’t have access to much information that’s restricted to GPL code, including information about namespaces.
You mention being able to look things up by uid, so a solution may be to use security.idmap.isolated=true to have a separate range of uid/gid per container, making it possible to track down the container.