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

Adds support for PyArray and PyIterable #40

Merged
merged 2 commits into from
May 28, 2024
Merged

Adds support for PyArray and PyIterable #40

merged 2 commits into from
May 28, 2024

Conversation

pabloferz
Copy link
Owner

When called from juliacall, the automatic conversion rules might turn numpy.ndarrays into PyArrays and torch.Tensors into PyIterables. This PR adds support for both PyArray and PyIterable such that DLPack.from_dpack works out of the box from juliacall.

@pabloferz pabloferz force-pushed the juliacall branch 4 times, most recently from 1cd7617 to ac729c5 Compare May 28, 2024 20:15
@pabloferz pabloferz merged commit 8ed6e00 into main May 28, 2024
6 checks passed
@pabloferz pabloferz deleted the juliacall branch May 28, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant