kinfer 0.4.1__cp312-cp312-macosx_11_0_arm64.whl → 0.4.2__cp312-cp312-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 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
1
  Metadata-Version: 2.4
2
2
  Name: kinfer
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Tool to make it easier to run a model on a real robot
5
5
  Home-page: https://github.com/kscalelabs/kinfer.git
6
6
  Author: K-Scale Labs
@@ -1,8 +1,8 @@
1
1
  kinfer/requirements.txt,sha256=j08HO4ptA5afuj99j8FlAP2qla5Zf4_OiEBtgAmF7Jg,90
2
- kinfer/__init__.py,sha256=YbtJIepEE4pbjYbdgFCV-rBP90AnQpBfDaprkflBmEE,99
2
+ kinfer/__init__.py,sha256=i5da6ND827Cgn8PFKzDCmEBk14ptQasLa_9fdof4Y9c,398
3
3
  kinfer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  kinfer/rust_bindings.pyi,sha256=9u0_TuHwV9xQH3O5OKbYfUZ_Uj6bsUwEOW0bfZujRMQ,1709
5
- kinfer/rust_bindings.cpython-312-darwin.so,sha256=wV5Z2YoSdB5OeUJx4w9nvqxjURieTO6j4nc5EVjFBog,1930976
5
+ kinfer/rust_bindings.cpython-312-darwin.so,sha256=efrQ9tXPm6oqyEDDRBE5nciU9qdUKjq53USCt2-g4Qg,1930976
6
6
  kinfer/rust/Cargo.toml,sha256=uxjvuM1Sm82UgCdHW3R6PbbiJjXvfE4VCLvjGPqp2mY,606
7
7
  kinfer/rust/src/runtime.rs,sha256=eDflFSIa4IxOmG3SInwrHrYc02UzEANZMkK-liA7pVA,3407
8
8
  kinfer/rust/src/lib.rs,sha256=Z3dWdhKhqhWqPJee6vWde4ptqquOYW6W9wB0wyaKCyk,71
@@ -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.1.dist-info/RECORD,,
23
- kinfer-0.4.1.dist-info/WHEEL,sha256=mP9bWt4ASeNWfyg7GBBbGbsOVFgblaN5WklJcvrSjIE,136
24
- kinfer-0.4.1.dist-info/top_level.txt,sha256=6mY_t3PYr3Dm0dpqMk80uSnArbvGfCFkxOh1QWtgDEo,7
25
- kinfer-0.4.1.dist-info/METADATA,sha256=yHLwDqimUopYHXEXsUyN_VBAxH2yBKvTxCWX5SbhvPQ,1745
26
- kinfer-0.4.1.dist-info/licenses/LICENSE,sha256=Qw-Z0XTwS-diSW91e_jLeBPX9zZbAatOJTBLdPHPaC0,1069
22
+ kinfer-0.4.2.dist-info/RECORD,,
23
+ kinfer-0.4.2.dist-info/WHEEL,sha256=mP9bWt4ASeNWfyg7GBBbGbsOVFgblaN5WklJcvrSjIE,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