Copy the implementation of SparseCompiler from python/tools to taco/tools until we have a common place to install it. Modify TACO to use this SparseCompiler for compilation and jitting.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for following up so quickly with this!
mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco_utils.py | ||
---|---|---|
21–25 | I am also okay if you simply copy the sparse_compiler.py into mlir_sparse_compiler.mlir of this directory to avoid all this ugliness. It is not that much code duplication, and makes this directory self contained. | |
195 | shall we only set up a sparse_compiler object once, and reuse it between all invocations? |
I am also okay if you simply copy the sparse_compiler.py into mlir_sparse_compiler.mlir of this directory to avoid all this ugliness. It is not that much code duplication, and makes this directory self contained.