microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
564 stars 253 forks source link

Remove load-kmods option to libnvidia-container #2181

Closed katiewasnothere closed 2 months ago

katiewasnothere commented 2 months ago

Previously the load-kmods option was set for libnvidia-container because we were not loading the kernel modules at pod boot time. However, recent changes https://github.com/microsoft/hcsshim/pull/2167 would allow for loading kernel modules at boot time. We need to remove load-kmods so we don't attempt to load the modules twice.

Note: this also requires that persistence mode has been set in the pod so that the GPUs stay initialized between pod boot and container start.