Skip to content
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

Make da.RandomState extensible to other modules #4041

Merged
merged 2 commits into from Oct 5, 2018

Conversation

mrocklin
Copy link
Member

@mrocklin mrocklin commented Oct 1, 2018

This enables other libraries like cupy or randomgen to compose their
random modules with dask array.

Fixes #3993

  • Tests added / passed
  • Passes flake8 dask

This enables other libraries like cupy or randomgen to compose their
random modules with dask array.

Fixes dask#3993
@mrocklin
Copy link
Member Author

mrocklin commented Oct 1, 2018

I ended up wanting this for some cupy experiments.

@dhirschfeld can I ask you to give this a spin?

@mrocklin
Copy link
Member Author

mrocklin commented Oct 1, 2018

Alas: cupy/cupy#1675

@dhirschfeld
Copy link

Only back in the office today so I probably won't get a chance to test until at least tomorrow...

@dhirschfeld
Copy link

Looks like it works great!

image

@mrocklin mrocklin merged commit a472ff2 into dask:master Oct 5, 2018
@mrocklin mrocklin deleted the array-randomstate-extensible branch October 5, 2018 15:05
@mrocklin
Copy link
Member Author

mrocklin commented Oct 5, 2018

Thanks for verifying @dhirschfeld

@dhirschfeld
Copy link

Thanks for adding this functionality - it makes for a very quick/easy win for end users!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants