Skip to content

Commit

Permalink
Add ndindex back for Array API tests (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jun 15, 2024
1 parent af5ad37 commit 9cedf62
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/array-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
github.event_name == 'schedule'
name: Array API test
timeout-minutes: 90
runs-on: ubuntu-latest-8core
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ It has a couple of key features:
```python
import onnxruntime as ort
import numpy as np

inference_session = ort.InferenceSession("mean_drop_outliers.onnx")
prediction, = inference_session.run(None, {
"x": np.array([-10, 0.5, 1, 5], dtype=np.float32),
Expand Down
36 changes: 36 additions & 0 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ hypothesis = "*"
onnxruntime = "*"
onnx = "*"
mypy = ">=1.10.0,<1.11"
ndindex = "*"
[feature.test.tasks]
test = "pytest"
test-coverage = "pytest --cov=ndonnx --cov-report=xml --cov-report=term-missing"
Expand Down

0 comments on commit 9cedf62

Please sign in to comment.