{"id":15825,"date":"2018-10-30T06:39:37","date_gmt":"2018-10-30T06:39:37","guid":{"rendered":"https:\/\/blog.taragana.com\/?p=15825"},"modified":"2019-01-03T13:37:25","modified_gmt":"2019-01-03T13:37:25","slug":"enable-lxd-gpu-pass-through-in-ubuntu-18-04-bionic-beaver","status":"publish","type":"post","link":"https:\/\/blog.taragana.com\/enable-lxd-gpu-pass-through-in-ubuntu-18-04-bionic-beaver-15825","title":{"rendered":"Enable LXD GPU pass-through in Ubuntu 18.04 (Bionic Beaver)"},"content":{"rendered":"\n
One of the biggest challenge (aside from upgrading nvidia & cuda) in upgrading from Ubuntu 16.04 to Ubuntu 18.04 is enabling GPU passthrough in LXD Containers. Due to a bug in parsing logic, it cannot properly parse Blacklisted line in nvidia-410 drivers.<\/p>\n\n\n\n
The simplest solution is to upgrade lxd to 3.0.2. To do that you have to enable pre-released updates (bionic-proposed).<\/p>\n\n\n\n