Hi @klmmr, I found a solution to the problem, and @stgraber, maybe LXD can take this solution.
The solution is:
- After the docker starts, map GPU buses /proc/driver/nvidia/gpus/xxxxxx from the host to the LXD container. The xxxxx pci buses should be those of the GPUs passed through from LXD to docker. The needed pci buses can be identified with nvidia-smi.