You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add backfill support to SMResourceOptions and fix topology-sensitive tests (#2031)
Add `backfill` field to SMResourceOptions. When True, sets
CU_DEV_SM_RESOURCE_GROUP_BACKFILL on each group's flags, allowing the
driver to relax the co-scheduling constraint when assigning SMs to
groups. This enables requesting arbitrary aligned SM counts that the
driver would otherwise reject due to hardware topology constraints.
Fix test_two_groups and related tests: replace _aligned_half (which
computed half the SMs rounded to alignment — not always a valid
partition on all GPU topologies) with _safe_two_group_count (uses
min_partition_size, always valid). Add dedicated test_two_groups_backfill
that exercises the aggressive even-split with backfill=True.
Fixes#2025.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments