Skip to content

support setting the number requested GPUs in a CompileOnlyRegressionTest #2499

@smoors

Description

@smoors

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions