Replies: 2 comments 1 reply
-
We did this in MLX. Here's the relevant code if it's useful:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on switching our lib to use nanobind and don't have a good idea of how to replace def_buffer. Here is an example of what we have running in pybind:
From: https://github.com/mcneel/rhino3dm/blob/main/src/bindings/bnd_nurbscurve.cpp#L255
Would appreciate any tips on how to do this in nanobind!
Beta Was this translation helpful? Give feedback.
All reactions