File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ mkdocs-jupyter = "*"
2727
2828[feature .tests .tasks ]
2929test = " pytest --pyargs sparse -n auto"
30- test-mlir = { cmd = " pytest --pyargs sparse/ mlir_backend -v" }
30+ test-mlir = { cmd = " pytest --pyargs sparse. mlir_backend -v" }
3131test-finch = { cmd = " pytest --pyargs sparse/tests -n auto -v" , depends-on = [" precompile" ] }
3232
3333[feature .tests .dependencies ]
@@ -55,6 +55,7 @@ finch-tensor = ">=0.1.31"
5555SPARSE_BACKEND = " Finch"
5656
5757[feature .finch .target .osx-arm64 .activation .env ]
58+ SPARSE_BACKEND = " Finch"
5859PYTHONFAULTHANDLER = " ${HOME}/faulthandler.log"
5960
6061[feature .mlir .dependencies ]
@@ -67,5 +68,5 @@ SPARSE_BACKEND = "MLIR"
6768[environments ]
6869tests = [" tests" , " extras" ]
6970docs = [" docs" , " extras" ]
70- mlir-dev = [" tests" , " mlir" ]
71- finch-dev = [" tests" , " finch" ]
71+ mlir-dev = { features = [" tests" , " mlir" ], no-default-feature = true }
72+ finch-dev = { features = [" tests" , " finch" ], no-default-feature = true }
Original file line number Diff line number Diff line change @@ -151,4 +151,4 @@ def add(x1: Array, x2: Array) -> Array:
151151 * x1 ._to_module_arg (),
152152 * x2 ._to_module_arg (),
153153 )
154- return Array (storage = ret_storage , shape = out_tensor_type .shape )
154+ return Array (storage = ret_storage , shape = tuple ( out_tensor_type .shape ) )
You can’t perform that action at this time.
0 commit comments