What dask pins does qhub require? #313
-
I had been using the following pins for my qhub envs:
Is this still the required set of pins? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 15 replies
-
@kcpevey, I think questions here on discussions unfortunately don't show up on the radar screens of quansight folks. I think it's good to use discussion for these sorts of questions, but then perhaps we should post the discussion link on the Qhub Gitter to get attention. |
Beta Was this translation helpful? Give feedback.
-
@rsignell-usgs The best way to manage dask pins now is to use the
The pins for the metapackage can be found in the conda-forge recipe here: https://github.com/conda-forge/qhub-dask-meta-feedstock/blob/master/recipe/meta.yaml |
Beta Was this translation helpful? Give feedback.
-
To my knowledge, since It looks like the pins in the Based on the dask gateway dockerfile, they are using dask 2.3.0 and distributed 2.3.1, which I would probably consider as the minimum bound of the versions of dask to use with the current version of dask gateway. Also note this comment from @costrouc:
So it appears that It would be great if the pins in the In general, I have concerns about having so many version pins without some mechanisms for keeping them reasonably up to date. To be fair, it is possible that my perspective has become a bit biased after some difficult dask issues I have dealt with while stuck on an old version. I can also appreciate the need for stability in managing the complexity of such a complicated stack of technology, as indicated by @costrouc here:
I wonder if, to help address this concern, it might help if there was something like a checklist of all the tools, dependencies, images, charts, providers, etc that are pinned along with links to those where those pins are in the code, and possibly even with associated links to repos and registries. My thinking here is it might make it easier for users and new contributors to try updating things to allow for more ad-hoc or haphazard testing. And finally, for yet another shameless plug, I think such ad-hoc or haphazard testing and integration of updated versions of all the various components would be greatly improved and simplified by incorporating this suggestion. Sorry for the long winded |
Beta Was this translation helpful? Give feedback.
-
I understand pinning
which results in my ESIP qhub/nebari environment having:
I'd like to use the new memory management in |
Beta Was this translation helpful? Give feedback.
-
Seems like @rsignell-usgs you and I are cosmically synchronised :) I came here to ask pretty much the same thing, specifically...
Both of these I think are going to be pretty game-changing for being able to run computations that previously wouldn't run at all. I'd really like to know whether we need to strictly stick to the pinning in the nebari-dask (formerly qhub-dask) metapackage or not? If so, what is the schedule for upgrading to these newer versions of dask and distributed? (And why is distributed getting pinned?) |
Beta Was this translation helpful? Give feedback.
-
@alimanfoo , as hoped, pinning dask gateway and click but unpinning dask worked fine. Here's the ESIP qhub config: https://gist.github.com/rsignell-usgs/0eb26dadc6a0e0c3f8a9c0e6bb06a4d2 If you take a look at the config, you can see we modified the
And it works great! I ran your original test case (I used the notebook here) with both dask 2022.4.0 and with 2022.11.0: |
Beta Was this translation helpful? Give feedback.
@rsignell-usgs The best way to manage dask pins now is to use the
qhub-dask
metapackage from conda-forge. Usage will look like this:The pins for the metapackage can be found in the conda-forge recipe here: https://github.com/conda-forge/qhub-dask-meta-feedstock/blob/master/recipe/meta.yaml