Skip to content

Commit 108adbd

Browse files
committed
pixi.toml fixes.
1 parent bd2c1b2 commit 108adbd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pixi.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mkdocs-jupyter = "*"
2727

2828
[feature.tests.tasks]
2929
test = "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" }
3131
test-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"
5555
SPARSE_BACKEND = "Finch"
5656

5757
[feature.finch.target.osx-arm64.activation.env]
58+
SPARSE_BACKEND = "Finch"
5859
PYTHONFAULTHANDLER = "${HOME}/faulthandler.log"
5960

6061
[feature.mlir.dependencies]
@@ -67,5 +68,5 @@ SPARSE_BACKEND = "MLIR"
6768
[environments]
6869
tests = ["tests", "extras"]
6970
docs = ["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}

sparse/mlir_backend/_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)