I would like to set the number of GPUs in a CompileOnlyRegressionTest like this:
self.build_job.extra_resources = {'gpu': {'num_gpus_per_node': 1}}
quote from Vasileios in Slack:
extra_resources are not interpreted for build jobs and you can’t set them in the job. That’s why it didn’t work what you’ve tried. ... I think what you request here is a limitation of the framework and it’s probably worth opening an issue.