Skip to content

Commit

Permalink
fix: onnx tests
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Jul 17, 2023
1 parent 5770008 commit e5f49dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
name: coverage-unit-data
path: .coverage.*
integrations:
name: Running framework integrations tests
name: framework-integration-tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
framework: [catboost, detectron, diffusers, easyocr, fastai, flax, keras, lightgbm, onnx, picklable_model, pytorch, pytorch_lightning, sklearn, tensorflow, torchscript, xgboost]
framework: [catboost, diffusers, easyocr, fastai, flax, keras, lightgbm, onnx, picklable_model, pytorch, pytorch_lightning, sklearn, tensorflow, torchscript, xgboost]
timeout-minutes: 90
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/frameworks/models/onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def make_rf_onnx_model() -> (
iris: sklearn.utils.Bunch = load_iris()
X: ext.NpNDArray = iris.data
y: ext.NpNDArray = iris.target
X_train, X_test, y_train, y_test = train_test_split(X, y)
X_train, X_test, y_train, _ = train_test_split(X, y)
clr = RandomForestClassifier()
clr.fit(X_train, y_train)

Expand Down Expand Up @@ -200,7 +200,6 @@ def _check(out: tuple[ext.NpNDArray, list[dict[int, float]]]) -> bool:
onnx_rf_model = FrameworkTestModel(
name="onnx_rf_model",
model=onnx_rf_raw_model,
model_method_caller=method_caller,
model_signatures={"run": {"batchable": True}},
configurations=[
Config(
Expand Down

0 comments on commit e5f49dd

Please sign in to comment.