nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

RunConfig: add support for GPUs #1391

Closed francescolavra closed 1 year ago

francescolavra commented 1 year ago

This change adds 2 new attributes to the RunConfig JSON configuration object:

Handling of these configuration option is implemented for the GCP cloud provider; example configuration suited for GCP:

  "RunConfig": {
    "GPUs": 1,
    "GPUType": "nvidia-tesla-t4"
  }