dask / dask/distributed

Allow calling client.persist on non-lazy data

Open
#7,821 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

Hi,
Not really sure if to label this a feature request, bug or more of a discussion. In our application of distributed it can sometimes occur that we try to call `client.persist` on data which isn't lazy, e.g. just regular numpy arrays. Currently this would throw an empty `AssertionError`. On our end the simple solution to this is to make sure that the data is lazy before trying to persist, or add some other logic to skip it entirely. However, with the increasing interoperability between dask and numpy maybe this would be a good enhancement to the client?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.