kinfer 0.4.1__cp311-cp311-macosx_11_0_arm64.whl → 0.4.2__cp311-cp311-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kinfer/__init__.py +11 -0
- kinfer/rust_bindings.cpython-311-darwin.so +0 -0
- {kinfer-0.4.1.dist-info → kinfer-0.4.2.dist-info}/METADATA +1 -1
- {kinfer-0.4.1.dist-info → kinfer-0.4.2.dist-info}/RECORD +7 -7
- {kinfer-0.4.1.dist-info → kinfer-0.4.2.dist-info}/WHEEL +0 -0
- {kinfer-0.4.1.dist-info → kinfer-0.4.2.dist-info}/licenses/LICENSE +0 -0
- {kinfer-0.4.1.dist-info → kinfer-0.4.2.dist-info}/top_level.txt +0 -0
kinfer/__init__.py
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
"""Defines the kinfer API."""
|
2
2
|
|
3
|
+
import os
|
4
|
+
|
5
|
+
if "ORT_DYLIB_PATH" not in os.environ:
|
6
|
+
from pathlib import Path
|
7
|
+
|
8
|
+
import onnxruntime as ort
|
9
|
+
|
10
|
+
LIB_PATH = next((Path(ort.__file__).parent / "capi").glob("libonnxruntime.*"), None)
|
11
|
+
if LIB_PATH is not None:
|
12
|
+
os.environ["ORT_DYLIB_PATH"] = LIB_PATH.resolve().as_posix()
|
13
|
+
|
3
14
|
from .rust_bindings import get_version
|
4
15
|
|
5
16
|
__version__ = get_version()
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
kinfer/rust_bindings.cpython-311-darwin.so,sha256=
|
1
|
+
kinfer/rust_bindings.cpython-311-darwin.so,sha256=fHPKAukypHHVpNxF5OaE_l8IdxAliPUkGXVEhrO7yh8,1933008
|
2
2
|
kinfer/requirements.txt,sha256=j08HO4ptA5afuj99j8FlAP2qla5Zf4_OiEBtgAmF7Jg,90
|
3
|
-
kinfer/__init__.py,sha256=
|
3
|
+
kinfer/__init__.py,sha256=i5da6ND827Cgn8PFKzDCmEBk14ptQasLa_9fdof4Y9c,398
|
4
4
|
kinfer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
kinfer/rust_bindings.pyi,sha256=9u0_TuHwV9xQH3O5OKbYfUZ_Uj6bsUwEOW0bfZujRMQ,1709
|
6
6
|
kinfer/rust/Cargo.toml,sha256=uxjvuM1Sm82UgCdHW3R6PbbiJjXvfE4VCLvjGPqp2mY,606
|
@@ -19,8 +19,8 @@ kinfer/rust_bindings/pyproject.toml,sha256=jLcJuHCnQRh9HWR_R7a9qLHwj6LMBgnHyeKK_
|
|
19
19
|
kinfer/rust_bindings/rust_bindings.pyi,sha256=9u0_TuHwV9xQH3O5OKbYfUZ_Uj6bsUwEOW0bfZujRMQ,1709
|
20
20
|
kinfer/rust_bindings/src/lib.rs,sha256=ydTTyx68d1fZDzc6kjFpU9ePDQa9IBD8Gf2rPy-kutI,10840
|
21
21
|
kinfer/rust_bindings/src/bin/stub_gen.rs,sha256=hhoVGnaSfazbSfj5a4x6mPicGPOgWQAfsDmiPej0B6Y,133
|
22
|
-
kinfer-0.4.
|
23
|
-
kinfer-0.4.
|
24
|
-
kinfer-0.4.
|
25
|
-
kinfer-0.4.
|
26
|
-
kinfer-0.4.
|
22
|
+
kinfer-0.4.2.dist-info/RECORD,,
|
23
|
+
kinfer-0.4.2.dist-info/WHEEL,sha256=rtKwvZSAzWV03G3Ircwq_TRBlj2DQz4ocNXl0bd9DbU,136
|
24
|
+
kinfer-0.4.2.dist-info/top_level.txt,sha256=6mY_t3PYr3Dm0dpqMk80uSnArbvGfCFkxOh1QWtgDEo,7
|
25
|
+
kinfer-0.4.2.dist-info/METADATA,sha256=utM93j1dUATyhQF8h2ittLqKCOwCAt_M-pnJ68dODh4,1745
|
26
|
+
kinfer-0.4.2.dist-info/licenses/LICENSE,sha256=Qw-Z0XTwS-diSW91e_jLeBPX9zZbAatOJTBLdPHPaC0,1069
|
File without changes
|
File without changes
|
File without changes
|