usearch 0.12.0 → 0.12.2
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.
- package/.github/workflows/prerelease.yml +1 -0
- package/Cargo.toml +1 -1
- package/README.md +1 -1
- package/conanfile.py +1 -1
- package/package.json +1 -1
- package/pyproject.toml +2 -2
- package/python/scripts/bench.py +2 -2
- package/python/scripts/test.py +1 -1
- package/python/usearch/index.py +1 -1
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -299,7 +299,7 @@ from numba import cfunc, types, carray
|
|
|
299
299
|
signature = types.float32(
|
|
300
300
|
types.CPointer(types.float32),
|
|
301
301
|
types.CPointer(types.float32),
|
|
302
|
-
types.
|
|
302
|
+
types.uint64, types.uint64)
|
|
303
303
|
|
|
304
304
|
@cfunc(signature)
|
|
305
305
|
def python_dot(a, b, n, m):
|
package/conanfile.py
CHANGED
|
@@ -4,7 +4,7 @@ from conans import ConanFile
|
|
|
4
4
|
class USearchConan(ConanFile):
|
|
5
5
|
|
|
6
6
|
name = 'USearch'
|
|
7
|
-
version = '0.12.
|
|
7
|
+
version = '0.12.2'
|
|
8
8
|
license = 'Apache 2.0'
|
|
9
9
|
url = 'https://github.com/unum-cloud/usearch'
|
|
10
10
|
description = 'Smaller & Faster Single-File Vector Search Engine from Unum'
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -9,7 +9,7 @@ xfail_strict = true
|
|
|
9
9
|
filterwarnings = ["error"]
|
|
10
10
|
|
|
11
11
|
[tool.cibuildwheel]
|
|
12
|
-
test-requires = ["pytest", "numpy"
|
|
12
|
+
test-requires = ["pytest", "numpy"]
|
|
13
13
|
test-command = "pytest {project}/python/scripts/test.py"
|
|
14
14
|
build-verbosity = 0
|
|
15
15
|
skip = ["*musllinux*", "*i686*", "pp*"]
|
|
@@ -46,4 +46,4 @@ before-build = [
|
|
|
46
46
|
"git submodule update --init --recursive"
|
|
47
47
|
]
|
|
48
48
|
archs = ["x86", "AMD64"]
|
|
49
|
-
skip = ["*win32*"]
|
|
49
|
+
skip = ["*win32*", "pp*"]
|
package/python/scripts/bench.py
CHANGED
|
@@ -102,7 +102,7 @@ def main(
|
|
|
102
102
|
signature_f32 = types.float32(
|
|
103
103
|
types.CPointer(types.float32),
|
|
104
104
|
types.CPointer(types.float32),
|
|
105
|
-
types.
|
|
105
|
+
types.uint64, types.uint64)
|
|
106
106
|
|
|
107
107
|
@cfunc(signature_f32)
|
|
108
108
|
def inner_product_f32(a, b, n, m):
|
|
@@ -116,7 +116,7 @@ def main(
|
|
|
116
116
|
signature_f8 = types.float32(
|
|
117
117
|
types.CPointer(types.int8),
|
|
118
118
|
types.CPointer(types.int8),
|
|
119
|
-
types.
|
|
119
|
+
types.uint64, types.uint64)
|
|
120
120
|
|
|
121
121
|
@cfunc(signature_f8)
|
|
122
122
|
def cos_f8(a, b, n, m):
|
package/python/scripts/test.py
CHANGED
|
@@ -121,7 +121,7 @@ def test_index_udf(ndim: int, batch_size: int):
|
|
|
121
121
|
signature = types.float32(
|
|
122
122
|
types.CPointer(types.float32),
|
|
123
123
|
types.CPointer(types.float32),
|
|
124
|
-
types.
|
|
124
|
+
types.uint64, types.uint64)
|
|
125
125
|
|
|
126
126
|
@cfunc(signature)
|
|
127
127
|
def python_dot(a, b, n, m):
|
package/python/usearch/index.py
CHANGED
|
@@ -61,7 +61,7 @@ def jit_metric(ndim: int, metric: MetricKind, dtype: str = 'f32') -> Callable:
|
|
|
61
61
|
signature = types.float32(
|
|
62
62
|
types.CPointer(types.float32),
|
|
63
63
|
types.CPointer(types.float32),
|
|
64
|
-
types.
|
|
64
|
+
types.uint64, types.uint64)
|
|
65
65
|
|
|
66
66
|
if metric == MetricKind.IP:
|
|
67
67
|
|