Skip to content

Commit 764d5e3

Browse files
committed
onnxruntime_extensions
Signed-off-by: xavier dupré <[email protected]>
1 parent 7bafec5 commit 764d5e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ci_build/azure_pipelines/templates/setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ steps:
2727
2828
if [[ $CI_PLATFORM == "windows" ]] ;
2929
then
30-
pip install -i https://test.pypi.org/simple/ onnxruntime-customops==0.0.1
30+
pip install onnxruntime-extensions
3131
if [[ $CI_TF_VERSION == 2.* ]] ;
3232
then
3333
pip install tensorflow-text

tests/backend_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def run_onnxruntime(self, model_path, inputs, output_names, use_custom_ops=False
8080
providers = ['CUDAExecutionProvider']
8181
opt = rt.SessionOptions()
8282
if use_custom_ops:
83-
from onnxruntime_customops import get_library_path
83+
from onnxruntime_extensions import get_library_path
8484
opt.register_custom_ops_library(get_library_path())
8585
# in case of issues with the runtime, one can enable more logging
8686
# opt.log_severity_level = 0

tests/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def requires_custom_ops(message=""):
242242
""" Skip until custom ops framework is on PyPI. """
243243
reason = _append_message("test needs custom ops framework", message)
244244
try:
245-
import onnxruntime_customops #pylint: disable=import-outside-toplevel,unused-import
245+
import onnxruntime_extensions #pylint: disable=import-outside-toplevel,unused-import
246246
can_import = True
247247
except ModuleNotFoundError:
248248
can_import = False

0 commit comments

Comments
 (0)