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

[FEA] Remove numpy dependency #1764

Open
vyasr opened this issue Dec 12, 2024 · 2 comments
Open

[FEA] Remove numpy dependency #1764

vyasr opened this issue Dec 12, 2024 · 2 comments
Labels
? - Needs Triage Need team to review and classify feature request New feature or request

Comments

@vyasr
Copy link
Contributor

vyasr commented Dec 12, 2024

Is your feature request related to a problem? Please describe.
I have thought about this issue for a while, and in light of #1760 I thought it would be worth raising. Currently rmm uses numpy in exactly one place and it's really just a shortcut to get host buffers with huge pages turned on.

Describe the solution you'd like
We should be able to trivially emulate this behavior by using madvise directly. Then we can remove numpy as a dependency altogether.

@vyasr vyasr added ? - Needs Triage Need team to review and classify feature request New feature or request labels Dec 12, 2024
@vyasr
Copy link
Contributor Author

vyasr commented Dec 12, 2024

@jakirkham may be able to comment on how useful this optimization even is right now since he added the relevant comment.

@bdice
Copy link
Contributor

bdice commented Dec 12, 2024

I think this is a good idea. I am first working on reducing Numba dependencies in #1760 / #1761. This would be a good follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify feature request New feature or request
Projects
Status: To-do
Development

No branches or pull requests

2 participants