Skip to content

Add pipeline run GPU capabilities and validation - #345

Draft
Mbeaulne wants to merge 1 commit into
masterfrom
compute_resource_endpoint
Draft

Add pipeline run GPU capabilities and validation#345
Mbeaulne wants to merge 1 commit into
masterfrom
compute_resource_endpoint

Conversation

@Mbeaulne

@Mbeaulne Mbeaulne commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add GET /api/pipeline_runs/capabilities to expose supported and deprecated GPU resources
  • validate JSON and SkyPilot-style GPU annotations before creating a pipeline run
  • validate GPU resources across nested pipeline tasks
  • return a structured 422 response for unsupported GPUs without creating database records

Testing

  • add unit and API coverage for supported, deprecated, unsupported, malformed, and nested GPU resources
  • GitHub Actions passes on Python 3.10 and 3.13

@Mbeaulne
Mbeaulne force-pushed the compute_resource_endpoint branch from 1bd894f to 3bb7b2f Compare August 26, 2026 19:04
@Mbeaulne
Mbeaulne force-pushed the compute_resource_endpoint branch from 3bb7b2f to 2b8d84a Compare August 27, 2026 17:00
@Mbeaulne Mbeaulne changed the title Adds a compute resource endpoint Add pipeline run GPU capabilities and validation Aug 27, 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.

1 participant