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
SpecCluster.requested doesn't match what AdaptiveCore expects:
AdaptiveCore expects: "workers we've asked for but haven't arrived yet"
SpecCluster provides: "all workers in our spec, expanded by groups"
This mismatch exists because SpecCluster uses self.workers as a proxy for "requested". For non-grouped workers these are 1:1. For grouped workers, a single worker in self.workers is a group of multiple worker processes.
potential fix
We could make SpecCluster.requested more accurately represent "workers we've asked for that the scheduler knows about"
@guillaumeeb it would not be a full solution but would improve adaptive behaviour in the short term.
With the fix Adaptive would see a drop in requested workers and scale up but dead jobs would accumulate in SpecCluster.workers and SpecCluster.worker_spec - cluster state would get more broken over time
Activity
guillaumeeb commentedon Sep 5, 2025
Just a quick question, would this fix be enough for handling the issue #9102?
alisterburt commentedon Sep 5, 2025
@guillaumeeb it would not be a full solution but would improve adaptive behaviour in the short term.
With the fix Adaptive would see a drop in requested workers and scale up but dead jobs would accumulate in SpecCluster.workers and SpecCluster.worker_spec - cluster state would get more broken over time