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
Hey I haven't updated dask-jobqueue in a while but after updating i've found a slight bug. that worker_spec (at least in distributed should be a dictionary of ids to workers(ie the len of the current # of workers), not a specification of workers to make (like worker_spec = {'cores': 4, 'memory': '16 GB'})
currently if you have your minimum number of workers at 0, (and possibly anything less than 2, distributed/deploy/adaptive.Adaptive checks
try:
current = len(self.cluster.worker_spec)
except AttributeError:
current = len(self.cluster.workers)
to get the number of current workers, and so we just forever sit and spin our wheels because Adaptive thinks we have enough workers already (in reality we haven't even scaled yet :o )
I wanted to open an issue for this, but I still didn't find the time to dive into SpecificationCluster changes. Obviously, your issue shows that dask-jobqueue is not compatible with this new interface.
So the fastest change is probably to rename this attribute. I encourage you to propose a PR for this. In the longer term, we need to be compatible with SpecificationCluster, I'll open an issue for that.
Activity
guillaumeeb commentedon Jun 26, 2019
I believe this is a regression due to dask/distributed#2675 and dask/distributed#2735, the introduction of SpecificationCluster in Dask Distributed.
I wanted to open an issue for this, but I still didn't find the time to dive into SpecificationCluster changes. Obviously, your issue shows that dask-jobqueue is not compatible with this new interface.
So the fastest change is probably to rename this attribute. I encourage you to propose a PR for this. In the longer term, we need to be compatible with SpecificationCluster, I'll open an issue for that.
danpf commentedon Jul 1, 2019
@guillaumeeb
could you bump the version / make a release so that the conda version gets built?
guillaumeeb commentedon Jul 6, 2019
Closed by #282.
Release done!