-
-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Not enough arguments provided: missing keys
in dask.persist
with mix of Future
and Delayed
#8948
Comments
@TomAugspurger: Thanks for reporting this issue. This appears to be related to the latest migration toward the |
xref dask/dask#9969 |
@TomAugspurger: This is indeed related to dask/dask#9969. In https://github.com/hendrikmakait/distributed/issues/8797, the Taking a step back, I'm curious, is it intended that you call persist on both persistable Dask collections and ordinary objects? |
The persist happens at https://github.com/dask/dask-ml/blob/ed8a2b7d25d59f1c8f7eeff40a53adc466fa2ce4/dask_ml/model_selection/_incremental.py#L318. I'll spend some time tomorrow getting up to speed with it, but at a glance something strange-ish seems to be going on. The first time through the loop we (successfully) persist a |
Thanks for the update. I've opened up another issue to discuss whether Dask should transparently handle non-persistable objects or raise instead: dask/dask#11566. Feel free to weigh in on which behavior you would deem more helpful. |
Describe the issue:
I get a
RuntimeError
with some dask-ml code that worked with dask / distributed 2024.10.0 and earlier. With 2024.11.0 and newer, it fails:Minimal Complete Verifiable Example:
On the older versions of dask, that prints out
Newer versions fail with
Anything else we need to know?:
It seems to be the combination of Futures and Delayed objects that causes issues. Both of these seem to work fine.
I'll look for fixes / workarounds once I get up to speed on what's going on.
Environment:
The text was updated successfully, but these errors were encountered: