DataBiosphere / toil

A scalable, efficient, cross-platform (Linux/macOS) and easy-to-use workflow engine in pure Python.
http://toil.ucsc-cgl.org/.
Apache License 2.0
879 stars 237 forks source link

Support WDL 1.1 standard `gpu: true` Runtime attribute #4949

Closed adamnovak closed 2 weeks ago

adamnovak commented 1 month ago

Our code for reading GPU requirements in WDL understands gpuCount (maybe to try and match Cromwell?):

https://github.com/DataBiosphere/toil/blob/ccf57e6071e32675daabdcbacb91988e871745a9/src/toil/wdl/wdltoil.py#L1582-L1600

But WDL 1.1 says we need to take gpu: true, which we don't.

We should add support for that flag.

This is somewhat related to #4945.

┆Issue is synchronized with this Jira Story ┆Issue Number: TOIL-1579