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

Impl. CumlArray.deserialize() #4965

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

madsbk
Copy link
Member

@madsbk madsbk commented Nov 1, 2022

The "constructor-kwargs" is being removed in rapidsai/cudf#12009

The "constructor-kwargs" is removed in rapidsai/cudf#12009
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Nov 1, 2022
@madsbk madsbk marked this pull request as ready for review November 2, 2022 14:50
@madsbk madsbk requested a review from a team as a code owner November 2, 2022 14:50
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Nov 2, 2022
This PR replaces `DeviceBufferLike` with `Buffer` and clear the way for a spillable sub-class of `Buffer`.

#### Context 
The introduction of the [`DeviceBufferLike`](#11447) protocol was motivated by [the spilling work](#11553), which we initially thought would have to be implemented in Cython. However, it can be done in pure Python, which makes `DeviceBufferLike` an unneeded complexity.  

#### Review notes 

- In order to introduce a spillable-buffer in the future, we still use a factory function, `as_buffer()`, to create Buffers. 
- `buffer.py` is moved into the submodule `core.buffer` to ease organization when adding the spillable-buffer and spilling manager. 

#### Breaking
This PR breaks external use of `Buffer` e.g. `Buffer.__init__` raise an exception now and the `"constructor-kwargs"` header from #4164 has been removed. 
Submitted a PR to fix this in cuml: rapidsai/cuml#4965

##

Authors:
  - Mads R. B. Kristensen (https://github.com/madsbk)

Approvers:
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Ashwin Srinath (https://github.com/shwina)

URL: #12009
@dantegd dantegd added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 2, 2022
@dantegd
Copy link
Member

dantegd commented Nov 2, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 496f1f1 into rapidsai:branch-22.12 Nov 2, 2022
jakirkham pushed a commit to jakirkham/cuml that referenced this pull request Feb 27, 2023
The "constructor-kwargs" is being removed in rapidsai/cudf#12009

Authors:
  - Mads R. B. Kristensen (https://github.com/madsbk)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants