Skip to content

feat: add constraints check for job resource allocation#1270

Open
ndrpp wants to merge 6 commits intomainfrom
feat/1187-fair-usage-enforcement
Open

feat: add constraints check for job resource allocation#1270
ndrpp wants to merge 6 commits intomainfrom
feat/1187-fair-usage-enforcement

Conversation

@ndrpp
Copy link
Member

@ndrpp ndrpp commented Mar 18, 2026

Fixes # .

Changes proposed in this PR:

  • add cross-resource constraints for compute job allocation
  • introduces a ResourceConstraint type that allows compute environment resources to define min/max ratios relative to other resources (e.g. "each GPU requires at least 8 GB of RAM")
  • validate constraints in checkAndFillMissingResources method, bumping dependent resources to their required minimum or throwing if the maximum is exceeded

@ndrpp ndrpp marked this pull request as ready for review March 19, 2026 09:06
@ndrpp ndrpp linked an issue Mar 19, 2026 that may be closed by this pull request
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.

Resource Allocation Limits and Fair Usage Enforcement

1 participant