test: add TAS scaling and hierarchical constraint tests#350
Closed
Ronkahn21 wants to merge 3 commits into
Closed
Conversation
- Add 4-level topology hierarchy setup (zone/block/rack/host) - Add KAI Topology verification utilities - Add topology constraint verification helpers - Include 2 foundational tests: * TI1: Topology infrastructure verification * BP1: Multiple cliques with different constraints - Update dependencies to KAI Scheduler v0.13.0-rc1 - Add Makefile target for selective test execution - Add topology-test skaffold profile Signed-off-by: Ron Kahn <rkahn@nvidia.com>
Add 5 tests for simple topology constraint scenarios: - SL1: PCS-only constraint (inherited by children) - SL2: PCSG-only constraint - SL3: No topology constraints (baseline) - PC1: Host-level constraint (strictest packing) - ZL1: Zone-level constraint These tests verify constraint behavior at different resource levels (PCS, PCSG, PCLQ) and topology domains (zone, rack, host, none). Builds on PR ai-dynamo#348 (infrastructure). Signed-off-by: Ron Kahn <rkahn@nvidia.com>
Add 5 tests for scaling and hierarchical topology patterns: - SP1: Full hierarchy with cascading constraints (PCS→PCSG→PCLQ) - SP2: PCS + PCLQ constraint combination - SP3: PCSG scaling with topology constraints - SP5: PCSG + PCLQ without parent PCS constraint - SP8: Large scaling ratio (6+ replicas) These tests verify: - Hierarchical constraint inheritance and overrides - PCSG-level topology constraint propagation - Large-scale PCSG replica handling - KAI PodGroup SubGroup structure with constraints Builds on PR ai-dynamo#349 (simple level tests). Signed-off-by: Ron Kahn <rkahn@nvidia.com>
This was referenced Jan 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds 5 test scenarios for scaling and hierarchical topology constraint patterns in Topology Aware Scheduling (TAS).
Tests Added:
Test Coverage:
This PR is part 3 of 4 in the TAS e2e test suite.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Dependencies:
Test Verification:
-tags e2eWhat's Next:
File Summary:
Does this PR introduce a API change?
Additional documentation e.g., enhancement proposals, usage docs, etc.: