kinfer 0.3.3__cp312-cp312-macosx_11_0_arm64.whl → 0.4.0__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 +0 -5
- kinfer/common/__init__.py +0 -0
- kinfer/common/types.py +11 -0
- kinfer/export/common.py +35 -0
- kinfer/export/jax.py +51 -0
- kinfer/export/pytorch.py +42 -110
- kinfer/export/serialize.py +86 -0
- kinfer/requirements.txt +3 -4
- kinfer/rust/Cargo.toml +8 -6
- kinfer/rust/src/lib.rs +2 -11
- kinfer/rust/src/model.rs +271 -121
- kinfer/rust/src/runtime.rs +104 -0
- kinfer/rust_bindings/Cargo.toml +8 -1
- kinfer/rust_bindings/rust_bindings.pyi +35 -0
- kinfer/rust_bindings/src/lib.rs +310 -1
- kinfer/rust_bindings.cpython-312-darwin.so +0 -0
- kinfer/rust_bindings.pyi +29 -1
- kinfer-0.4.0.dist-info/METADATA +55 -0
- kinfer-0.4.0.dist-info/RECORD +26 -0
- {kinfer-0.3.3.dist-info → kinfer-0.4.0.dist-info}/WHEEL +2 -1
- kinfer/inference/__init__.py +0 -2
- kinfer/inference/base.py +0 -64
- kinfer/inference/python.py +0 -66
- kinfer/proto/__init__.py +0 -40
- kinfer/proto/kinfer_pb2.py +0 -103
- kinfer/proto/kinfer_pb2.pyi +0 -1097
- kinfer/requirements-dev.txt +0 -8
- kinfer/rust/build.rs +0 -16
- kinfer/rust/src/kinfer_proto.rs +0 -14
- kinfer/rust/src/main.rs +0 -6
- kinfer/rust/src/onnx_serializer.rs +0 -804
- kinfer/rust/src/serializer.rs +0 -221
- kinfer/rust/src/tests/onnx_serializer_tests.rs +0 -212
- kinfer/serialize/__init__.py +0 -60
- kinfer/serialize/base.py +0 -536
- kinfer/serialize/json.py +0 -399
- kinfer/serialize/numpy.py +0 -426
- kinfer/serialize/pytorch.py +0 -402
- kinfer/serialize/schema.py +0 -125
- kinfer/serialize/types.py +0 -17
- kinfer/serialize/utils.py +0 -177
- kinfer-0.3.3.dist-info/METADATA +0 -57
- kinfer-0.3.3.dist-info/RECORD +0 -40
- {kinfer-0.3.3.dist-info → kinfer-0.4.0.dist-info/licenses}/LICENSE +0 -0
- {kinfer-0.3.3.dist-info → kinfer-0.4.0.dist-info}/top_level.txt +0 -0
kinfer/requirements-dev.txt
DELETED
kinfer/rust/build.rs
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
use std::env;
|
2
|
-
use std::path::PathBuf;
|
3
|
-
|
4
|
-
fn main() {
|
5
|
-
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()).join("proto");
|
6
|
-
std::fs::create_dir_all(&out_dir).unwrap();
|
7
|
-
|
8
|
-
let mut config = prost_build::Config::new();
|
9
|
-
config.out_dir(&out_dir);
|
10
|
-
config.retain_enum_prefix();
|
11
|
-
config.enable_type_names();
|
12
|
-
|
13
|
-
config
|
14
|
-
.compile_protos(&["../proto/kinfer.proto"], &["../proto/"])
|
15
|
-
.unwrap();
|
16
|
-
}
|
kinfer/rust/src/kinfer_proto.rs
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
pub mod proto {
|
2
|
-
include!(concat!(env!("OUT_DIR"), "/proto/kinfer.proto.rs"));
|
3
|
-
}
|
4
|
-
|
5
|
-
pub use proto::{
|
6
|
-
AudioFrameSchema, AudioFrameValue, CameraFrameSchema, CameraFrameValue, DType,
|
7
|
-
ImuAccelerometerValue, ImuGyroscopeValue, ImuMagnetometerValue, ImuSchema, ImuValue,
|
8
|
-
Io as ProtoIO, IoSchema as ProtoIOSchema, JointCommandValue, JointCommandsSchema,
|
9
|
-
JointCommandsValue, JointPositionUnit, JointPositionValue, JointPositionsSchema,
|
10
|
-
JointPositionsValue, JointTorqueUnit, JointTorqueValue, JointTorquesSchema, JointTorquesValue,
|
11
|
-
JointVelocitiesSchema, JointVelocitiesValue, JointVelocityUnit, JointVelocityValue,
|
12
|
-
ModelSchema, StateTensorSchema, StateTensorValue, TimestampSchema, TimestampValue,
|
13
|
-
Value as ProtoValue, ValueSchema, VectorCommandSchema, VectorCommandValue,
|
14
|
-
};
|