pytorch
408f2109 - [sparse] semi-structured sparse + torch.compile support (#111049)

Commit
1 year ago
[sparse] semi-structured sparse + torch.compile support (#111049) Summary: This PR adds in torch.compile support for semi-structured sparsity, using the subclass tracing @bdhirsh added. Based on wether we are using cuSPARSELt or CUTLASS, we return a different representation of the inner tensors. Test Plan: ``` python test/test_sparse_semi_structured.py -k compile ``` Reviewers: Subscribers: Tasks: Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/111049 Approved by: https://github.com/cpuhrsch ghstack dependencies: #110583
Author
Committer
Parents
Loading