-
Notifications
You must be signed in to change notification settings - Fork 217
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
[BUG]: Calling from_dlpack
with a DLPack tensor is deprecated.
#729
Comments
Thank you for the report, this is now fixed on |
Thanks! When a framework is not specified, would it be a good idea to implement the
Would it be good if |
That would be a break in documented behavior, so I don't think this could be changed in a minor version bump. |
@hpkfft: FYI, your project's website does not work from Japan: https://www.dropbox.com/scl/fi/7wugf992co256963ltf5e/Screenshot-2024-09-21-at-14.44.19.png?rlkey=ji9zuy859okffac63wl8nv3k5&dl=0 |
Thank you for letting me know about my website problem! It should be fixed now. Yes, I've already realized I could implement these two methods in my extension. It was nice of you to add this advice to the nanobind documentation, both for me and for others. |
Problem description
An extension that returns an
ndarray<nb::jax>
will give the user the following DeprecationWarning:This is seen using
test_ndarray.py::test19_return_jax
in PR #728Reproducible example code
The text was updated successfully, but these errors were encountered: