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
In Distributed's Adaptive class, there are calls to Cluster implementations of scale_up and scale_down from within coroutines. While it would be possible to call these as coroutines in some cases (as is the case in dask-drmaa), this appears to not be part of Adaptive's spec for its cluster instance nor is part of the Cluster's spec. A cursory glance at dask-jobqueue suggests it doesn't use coroutines either. Considering it would be possible to make scale_up and scale_down coroutines and these would fit nicely within the Adaptive model, could we consider migrating in that direction?
The text was updated successfully, but these errors were encountered:
For context, was attempting to remove a reimplemented Adaptive._retire_workers method from dask-drmaa, but found that we lost logging info about workers being retired. Based on some investigation, it seems to have something to do with scale_down being a coroutine. Though haven't narrowed down a fix as of yet. Hence the question.
In Distributed's
Adaptive
class, there are calls to Cluster implementations ofscale_up
andscale_down
from within coroutines. While it would be possible to call these as coroutines in some cases (as is the case indask-drmaa
), this appears to not be part ofAdaptive
's spec for its cluster instance nor is part of theCluster
's spec. A cursory glance atdask-jobqueue
suggests it doesn't use coroutines either. Considering it would be possible to makescale_up
andscale_down
coroutines and these would fit nicely within theAdaptive
model, could we consider migrating in that direction?The text was updated successfully, but these errors were encountered: