Skip to content

wrap cupy.einsum() with ascontiguousarray() as einsum can return transposed view when requested output order differs from internal contraction order - #904

Merged
sunqm merged 1 commit into
pyscf:masterfrom
Efithor:fix-einsum-contract-contiguous
Sep 10, 2026
Merged

Conversation

@Efithor

@Efithor Efithor commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

wrap cupy.einsum() with ascontiguousarray() as einsum can return transposed view when requested output order differs from internal contraction order

…posed view when requested output order differs from internal contraction order
@Efithor Efithor changed the title swap cupy.einsum() for ascontiguousarray() as einsum can return transposed view when requested output order differs from internal contraction order wrap cupy.einsum() with ascontiguousarray() as einsum can return transposed view when requested output order differs from internal contraction order Sep 9, 2026
@sunqm
sunqm merged commit 549cc7b into pyscf:master Sep 10, 2026
4 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