mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-10 00:38:54 +00:00
* Update cuda for python wheels * Update cuda for python wheels * Update cuda for python wheels * Update azure-pipelines-py-packaging.yml * Update to cuda 10 * Only test win gpu * Update cuda for python wheels * Use manylinux2010 image to build linux python wheels Allow wheels built to truly be compliant with a manylinux policy
13 lines
498 B
Python
13 lines
498 B
Python
#-------------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
#--------------------------------------------------------------------------
|
|
import sys
|
|
import os
|
|
import warnings
|
|
import onnxruntime.capi._ld_preload
|
|
|
|
try:
|
|
from onnxruntime.capi.onnxruntime_pybind11_state import * # noqa
|
|
except ImportError as e:
|
|
warnings.warn("Cannot load onnxruntime.capi. Error: '{0}'".format(str(e)))
|