Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -631,17 +631,6 @@ dependencies:
- --extra-index-url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
- matrix: # fallback for non-nightly dependencies
packages:
# TODO: remove this block once `onnxruntime` has Python 3.14 support (and conda packages built)
- output_types: [conda, requirements, pyproject]
matrices:
- matrix: {py: "3.14"}
packages:
- matrix: {py: "3.*"}
packages:
- *onnxruntime
- *skl2onnx
- matrix:
packages:
# TODO: we're seeing test failures with openblas > 0.3.30 on aarch64. For
# now we pin openblas in tests on that architecture.
- output_types: [conda]
Expand Down Expand Up @@ -678,9 +667,8 @@ dependencies:
- numpydoc<1.9
# 'nvidia-ml-py' provides the 'pynvml' module
- nvidia-ml-py>=12
# TODO: uncomment these two lines once `onnxruntime` has Python 3.14 support (and conda packages built)
# - *onnxruntime
# - *skl2onnx
- *onnxruntime
- *skl2onnx
- pytest
- pytest-benchmark
- pytest-cov
Expand Down
7 changes: 5 additions & 2 deletions python/cuml/cuml_accel_tests/test_onnx.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

import hdbscan
import numpy as np
import pytest
import umap
from packaging.version import Version
from sklearn.cluster import DBSCAN, KMeans
from sklearn.datasets import make_classification, make_regression
from sklearn.decomposition import PCA, TruncatedSVD
Expand All @@ -22,6 +23,8 @@

ort = pytest.importorskip("onnxruntime")
skl2onnx = pytest.importorskip("skl2onnx")
ORT_VERSION = Version(ort.__version__)

convert_sklearn = skl2onnx.convert_sklearn
FloatTensorType = skl2onnx.common.data_types.FloatTensorType

Expand Down Expand Up @@ -63,7 +66,7 @@ def regression_data():
classifiers = [
pytest.param(
RandomForestClassifier(n_estimators=20, max_depth=8, random_state=42),
marks=xfail_skl2onnx_bug,
marks=(xfail_skl2onnx_bug if ORT_VERSION < Version("1.28.0") else ()),
id="RandomForestClassifier",
),
pytest.param(KNeighborsClassifier(), id="KNeighborsClassifier"),
Expand Down
2 changes: 2 additions & 0 deletions python/cuml/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ test = [
"nltk",
"numpydoc<1.9",
"nvidia-ml-py>=12",
"onnxruntime",
"pynndescent",
"pytest",
"pytest-benchmark",
Expand All @@ -132,6 +133,7 @@ test = [
"scikit-learn>=1.6",
"seaborn",
"shap",
"skl2onnx",
"statsmodels",
"umap-learn>=0.5.7,<0.5.13",
"xgboost>=2.1.0",
Expand Down
Loading