Skip to content

feat(ndarray): ArcArray support#20

Merged
Luthaf merged 4 commits intometatensor:mainfrom
HaoZeke:fixClone
Feb 6, 2026
Merged

feat(ndarray): ArcArray support#20
Luthaf merged 4 commits intometatensor:mainfrom
HaoZeke:fixClone

Conversation

@HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Feb 5, 2026

Basically for cases where we don't want to actually take ownership of the data pointer. Basically extracted from metatensor/metatensor#1025.

@HaoZeke HaoZeke force-pushed the fixClone branch 2 times, most recently from f20056d to 80add6f Compare February 5, 2026 12:21
@HaoZeke HaoZeke requested a review from Luthaf February 5, 2026 12:25
@HaoZeke HaoZeke marked this pull request as draft February 5, 2026 13:23
@HaoZeke HaoZeke force-pushed the fixClone branch 4 times, most recently from 5792564 to e73f7c1 Compare February 5, 2026 15:41
@HaoZeke HaoZeke changed the title feat(ndarray): DLPackTensor from a reference feat(ndarray): ArcArray support Feb 6, 2026
@HaoZeke HaoZeke marked this pull request as ready for review February 6, 2026 08:46
@HaoZeke
Copy link
Member Author

HaoZeke commented Feb 6, 2026

cc @Luthaf should be good to go, then a release and we're set on the 0.2.0 metatensor stuff (almost)

Copy link
Member

@Luthaf Luthaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I have two small questions

Into::<ArcArray<A, D>>::into will not clone unlike into_shared()
@HaoZeke HaoZeke requested a review from Luthaf February 6, 2026 12:15
@Luthaf Luthaf merged commit 44549d4 into metatensor:main Feb 6, 2026
5 checks passed
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.

2 participants