-
Notifications
You must be signed in to change notification settings - Fork 57
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
Optimizing Sparse Tensor Contraction with TiledArray #496
Comments
@ChemChuan I'd say for the specific problem sizes and tensor expressions TiledArray will not be useful. I'm making several assumptions here:
Rationale:
I have followed up with my collaborators who are working on developing tools for evaluation of (structured and unstructured) sparse tensor networks such as described here, they may provide further comments here. |
@ChemChuan, it seems you want to solve a sparse tensor network with element-wise sparsity in all inputs. As Prof. Valeyev mentioned, we built CoNST exactly for this purpose. It is an IR generator for TACO (another tensor algebra compiler). CoNST generates a TACO kernel that will be compiled and run using the TACO compiler (https://github.com/tensor-compiler/taco). Finally, it would be useful to know more about your application from a research standpoint. |
Thank you very much for your response and your collaborators. In this case, would it be feasible to use the CoNST tool mentioned above to generate my code and then process it with the TACO compiler? I am studying the materials mentioned above. |
Dear contributors:
$X(a,b)=\sum_{c,d}T(c,d)*H(a,b,c,d)$
$X(a,b)=\sum_{c,d}T(a,c)*T(b,d)*H(a,b,c,d)$
$X(a,b)=\sum_{c,d,e,f}T(a,c)*T(b,d)*T(e,f)*H(c,d,e,f)$
I am working on tensor contraction problems involving various formulas, such as:
Here are some details:
I used to use the einsum function in libtorch in the past, but there is no further optimization for the einusm of this sparse matrix in libtorch. Can tiledarray be applied to these types of situations? If possible, could you provide me with an example or reference.
Thanks for your help!
The text was updated successfully, but these errors were encountered: