task-execution-schemas
task-execution-schemas copied to clipboard
CWL v1.1 and v1.2 supports floats for fractional CPU cores, memory, and disk space
https://www.commonwl.org/v1.2/CommandLineTool.html#ResourceRequirement
@mr-c what ideally would you like TES to do with fractional resources?
My intuition: If the underlying infrastructure supports fractional resources, provision them - if not, round up to the next integer. But I'm sure Michael will clarify.
@mr-c what ideally would you like TES to do with fractional resources?
TES, as an API, should allow fractional resources in its schema.
Endpoints, which might be packing jobs into a single VM/machine, should either use the fractional requests to better utilize their resources, or round up if they don't want to think about it (as they might do for any other request that falls between the sizes of the available resources).
So ideal @mr-c we should change the these to floats but the implementation of TES can decide how to handle. Is that correct?
@mr-c can you look at the prposed pr. #230