Skip to content

Commit

Permalink
Drop pyproject.toml entries, start windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jun 10, 2024
1 parent c4fa1fd commit 2687c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,3 @@ exclude = ["docs/"]

[tool.typos.default]
extend-ignore-identifiers-re = ["scatter_nd", "arange"]

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["osx-arm64"]

[tool.pixi.pypi-dependencies]
ndonnx = { path = ".", editable = true }

[tool.pixi.tasks]
4 changes: 2 additions & 2 deletions tests/ndonnx/test_constant_propagation.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ def dynamic_masking_model(mode: Literal["lazy", "constant"]):

def constant_indexing_model(mode: Literal["lazy", "constant"]):
if mode == "constant":
a = ndx.asarray([0, 1, 2, 3])
a = ndx.asarray([0, 1, 2, 3], dtype=ndx.int64)
else:
a = ndx.array(
shape=("N",),
dtype=ndx.int64,
)
b = ndx.asarray([5, 7, 8, 8, 9, 9, 234])
b = ndx.asarray([5, 7, 8, 8, 9, 9, 234], dtype=ndx.int64)
idx = ndx.asarray([1, 3, 5, 0])
result = a * b[idx]
return ndx.build({"a": a} if mode == "lazy" else {}, {"y": result})
Expand Down

0 comments on commit 2687c0e

Please sign in to comment.