From 8e065981598e85e14047b0686a9c7b1ba88a571d Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sun, 5 Mar 2023 11:23:15 +0100 Subject: [PATCH] Update resources.yaml Signed-off-by: Kjeld Schouten-Lebbing --- templates/questions/general/resources.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/templates/questions/general/resources.yaml b/templates/questions/general/resources.yaml index 13e31859fbd..720ad8099f6 100644 --- a/templates/questions/general/resources.yaml +++ b/templates/questions/general/resources.yaml @@ -89,12 +89,24 @@ schema: type: string default: "/dev/ttyACM0" - # Specify GPU configuration - variable: scaleGPU label: GPU Configuration group: Resources and Devices schema: - type: dict - $ref: - - "definitions/gpuConfiguration" - attrs: [] + type: list + default: [] + items: + - variable: scaleGPUEntry + label: GPU + schema: + additional_attrs: true + type: dict + attrs: + # Specify GPU configuration + - variable: gpu + label: Select GPU + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: []