-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Duck array compatibility meeting #5648
Comments
cc @hameerabbasi for |
I would be happy to attend and look forward to what I'm sure will be a vigorous discussion :) Thank you for providing convenient links to reading materials ahead of time. As a warning, my responsiveness to github comments these days is not what it used to be. If I miss something here then please forgive me. |
I'd also be happy to attend. Keep in mind I'm in the CET timezone. |
I'm happy to join, seems interesting. And yes, I can say something about PyTorch. There probably isn't much to say though - PyTorch is unlikely to adopt The key thing here seems to be Dask <-> Xarray <-> Pint, unless I'm missing something? |
Happy to attend. It might also be useful to have @pentschev involved too. |
Thanks to everyone ho has expressed interest already! I'll give some more time for responses before starting to think about potential meeting times.
Interesting - could you say a bit more? Looking at these two issues, it seemed more like the question was simply on hold until someone who wanted it badly enough came along? (I'm interested because I'm in the set of people who have an ambition to use these libraries (wrapped in xarray) at some point further down the line, but that might remain just an ambition 😅)
You're right, that was the primary motivation for this issue, but it also seemed like a good opportunity to get as many libraries talking (and their relationships codified) as possible, especially if one of the outcomes ends up being a type casting hierarchy resource/NEP. |
Count me in for the meeting! Here are a few suggestions about possible topics to add to the agenda (based on linked issues/discussions), if we can fit it all in:
Also, tagging a few other array type libraries and maintainers/contributors who may be interested (please ping the relevant folks if you know them):
(interesting side note is the first three of these are all ndarray subclasses right now...perhaps discussing the interplay between array subclassing and wrapping is in order too?) |
|
Tagging @greglucas because of his work on numpy/numpy#16022 (comment) - at least I think a very common desired use case of multi-nested arrays would be |
I'm also happy to join the meeting. Thanks @TomNicholas for the initiative here and @jacobtomlinson for tagging me. |
Happy to hop on a call for this as well, thanks for organizing all of this @TomNicholas! |
I'm interested. Let us know when the time will be or if there's a poll for picking a time. Thanks! |
There is a significant backwards compatibility break when a library adds
This is basically what the array API standard provides (most functions follow NumPy, with deviations mostly where other libraries were already deviating because they could implement something on GPU, with a JIT, or with a non-strided memory model). That said, |
Thanks! I am definitely interested. |
👂🏾 |
Apologies for the long delay, but I would like to try to organise this meeting for some time in the next few weeks. If you are interested could you please fill out this When2Meet meeting time poll. (If none of these times work for you because of time zone issues or something then please say so!) It would be great to have lots of libraries represented. Agenda doc here - I will come back to this in more detail soon, but if you have specific things you would like to discuss then please add them. |
TOMORROW: So there is just one slot when essentially everyone said they were free - but it's 11:00am EDT September 22nd, i.e. tomorrow morning. I appreciate that's late notice - but could we can try for that and if we only get the super keen beans attending this time then we woud still be able to have a useful initial discussion about the exact problems that need resolving? Alternatively if people could react to this comment with thumbs up / down for "that time is still good" / "no I need more notice" then that would be useful. @mrocklin are you or anyone else who is able to speak for dask free? I noticed that @jacobtomlinson put down that you were free tomorrow also? EDIT: @keewis I'm pinging you too |
Surprisingly I happen to be free tomorrow at exactly that time. I've
blocked it off. If you want to send a calendar invite to mrocklin at
coiled that would be welcome.
…On Tue, Sep 21, 2021 at 10:27 AM Tom Nicholas ***@***.***> wrote:
TOMORROW: So there is just one slot when essentially everyone said they
were free - but it's 11:00am EDT September 22nd, i.e. tomorrow morning.
I appreciate that's late notice - but could we can try for that and if we
only get the super keen beans attending this time then we woud still be
able to have a useful initial discussion about the exact problems that need
resolving?
Alternatively if people could react to this comment with thumbs up / down
for "that time is still good" / "no I need more notice" then that would be
useful.
@mrocklin <https://github.com/mrocklin> are you or anyone else who is
able to speak for dask free? I noticed that @jacobtomlinson
<https://github.com/jacobtomlinson> put down that you were free tomorrow
also?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5648 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTFTAT62OPPX7Z54MRDUDCP6NANCNFSM5BHAMZ3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I can be there! @jakirkham and @pentschev are also Dask maintainers so there should be good representation. |
Maybe too soon to ask, but do we have a link to the video call? |
Great! I sent an invite to the few people whose emails I could easily find - let me know if that didn't arrive @mrocklin .
I think we can probably just use the one we use for the xarray bi-weekly dev meetings: https://us02web.zoom.us/j/88251613296?pwd=azZsSkU1UWJZTVFKNnhIUVdZcENUZz09 |
I'd like to attend too |
I'd also like to attend, primarily just to learn. |
Will try to join. |
I'd like to attend on behalf of QuTiP. I'll likely mostly listen -- QuTiP is not directly affected in the way that xarray, Dask, cupy, etc are, but we're users of potentially all of these array types (and already explicitly support numpy, CuPy, and our own sparse array format) and we are facing similar issues of our own (i.e. users of QuTiP are asking us to develop a |
Change of plan - use my personal zoom room instead (as I don't think I have permissions to start the xarray one): https://columbiauniversity.zoom.us/j/97399260034?pwd=WS9GUnVrcG1YSWRPeXhITXRhdEJZUT09 Also unless anyone has a problem I'm going to record the meeting, just for note-taking purposes. (EDIT: I'll just take notes as the meeting goes on instead) |
I would very much prefer not to be recorded. |
It looks like there are some other Dask folks participating. I'll step
back and let them take over on our end.
…On Wed, Sep 22, 2021 at 9:53 AM Hameer Abbasi ***@***.***> wrote:
I would very much prefer not to be recorded.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5648 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTAVX5WJDRARG4AOE43UDHUU5ANCNFSM5BHAMZ3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
There are also some relevant and very interesting PyTorch development discussions; there are a lot of Tensor subclasses in the making and thought being put into how those interact: |
Thank you very much to everyone who came today (all 18 of us!). The notes from the meeting are here. I've raised the ToDos we had as an issue in the new duck array discussion repo - anyone interested in this topic might want to watch the activity on that repository. The plan now is to continue via asynchronous discussion on that new repo, referring back to issues in specific libraries when necessary. If we come to another sticking point that requires in-person discussion then we can organise another face-to-face meeting at that point, which I am happy to do. However we won't organise another meeting until there is a specific blockage to discuss. I will therefore keep this issue open so I can use it to alert anyone who might be interested in a follow-up meeting. |
If you haven't already, would be good if those running into issues here could look over the Array API. This is still something that is being worked on, but the goal is to standardize Array APIs. If there are things missing from that, it would be good to hear about them in a new issue. |
Proposal: hold a high-level inter-library meeting to sort out roadblocks in the duck-array wrapping efforts.
Whilst trying to get dask, pint and xarray all working nicely together, I couldn't help but notice there are important issues which conclude with a shared sentiment that "we just need to make a decision as to what wraps what" but since then have had essentially no codified consensus, and hence no progress for the past year. Multiply-nested duck-array wrapping is complicated and involves a lot of separate libraries (as this graph of potential wrappings shows), but could be an amazingly powerful feature!
I suggest that as asynchronous discussion hasn't moved this forward, we should instead hold a (hopefully one-off) meeting to make these high-level design decisions.
I'm happy to arrange the meeting, but for this to work we ideally need attendees who understand the issues from the perspective of each of the main libraries involved - some suggestions:
Possible Agenda (please suggest additions!):
Background reading
Some related issues (there are many more - please add)
The text was updated successfully, but these errors were encountered: