Skip to content

Conversation

@jorgee
Copy link
Contributor

@jorgee jorgee commented Jan 7, 2026

This pull request adds support for reporting accelerator resource requests (such as GPUs) in the task trace report. The changes ensure that accelerator requests are captured from task configuration, included in trace records, and provided to Platform reports .

Support for accelerator requests in task and trace records:

  • Added a new field accelerator_request to the TraceRecord class to store the requested accelerator count, and updated the trace schema accordingly.

  • Modified TaskHandler to extract the accelerator request from the task configuration and populate it in the trace record.

  • Updated and added tests in TaskHandlerTest and TraceRecordTest to verify correct handling, serialization, and persistence of the accelerator_request field. [1] [2] [3] [4] [5]

Integration with Tower plugin:

  • Updated the Tower plugin client and its tests to ensure the accelerator request is included in the task map sent to Platform. [1] [2]

@netlify
Copy link

netlify bot commented Jan 7, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 4aae744
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/695e8b0c6687fa00083a7030

@bentsherman bentsherman merged commit 00f35b3 into master Jan 7, 2026
29 checks passed
@bentsherman bentsherman deleted the add-accelerator-request-trace-record branch January 7, 2026 17:15
pditommaso pushed a commit that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants