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

Cutensor #1943

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Cutensor #1943

wants to merge 3 commits into from

Conversation

ThrudPrimrose
Copy link
Collaborator

I have added tensor transpose node for cutensor.
I would like you to review the structure of the changes.
I want to use this change to improve the transpose calls in ECRAD.

@@ -1,5 +1,4 @@
# Copyright 2019-2023 ETH Zurich and the DaCe authors. All rights reserved.
from dace.library import register_library
from .nodes import *
Copy link
Collaborator

Choose a reason for hiding this comment

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

you should not remove this statement from a library init, we use it for querying nodes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I see I will reintroduce it. I had a circular import issue with them and looked unnecessary in the first glance.
I will reintroduce them and handle the circular import differently.

Copy link
Contributor

@alexnick83 alexnick83 left a comment

Choose a reason for hiding this comment

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

Is the corresponding tensordot implementation compatible with CuTENSOR v2?

@ThrudPrimrose
Copy link
Collaborator Author

ThrudPrimrose commented Feb 22, 2025

Is the corresponding tensordot implementation compatible with CuTENSOR v2?

No, but if you approve the design of tensor transpose, I will update the tensordot too. It is possible that I will do it after SC, and first focus on optimizing index permutations on f2dace/dev branch,

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.

3 participants