fluencelabs / nox

Rust implementation of the Fluence network peer
https://fluence.network
GNU Affero General Public License v3.0
992 stars 187 forks source link

feat(vm): add all GPUs on the host to a VM #2355

Closed kmd-fl closed 2 months ago

kmd-fl commented 2 months ago

Description

Add all the GPUs to the XML of a newly created VM

Proposed changes

  1. When creating VMs, get the info about GPUs and add them to the VM XML
  2. Added the config setting that allows to enable/disable this functionallity
    [vm]
    allow_gpu = true

    By default, GPUs are disabled

kmd-fl commented 2 months ago

This is merged here https://github.com/fluencelabs/nox/pull/2356. The rest is here https://github.com/fluencelabs/nox/pull/2358