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.
@@ -2,6 +2,7 @@ name: Pre-Release
2
2
 
3
3
  on:
4
4
  push:
5
+ branches: ["main-dev"]
5
6
  pull_request:
6
7
  branches: ["main-dev"]
7
8
 
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "usearch"
3
- version = "0.12.0"
3
+ version = "0.12.2"
4
4
  authors = ["Ashot Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
5
5
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
6
6
  edition = "2021"
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.size_t, types.size_t)
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.0'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usearch",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "Smaller & Faster Single-File Vector Search Engine from Unum",
5
5
  "author": "Ashot Vardanian",
6
6
  "license": "Apache 2.0",
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", "numba"]
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*"]
@@ -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.size_t, types.size_t)
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.size_t, types.size_t)
119
+ types.uint64, types.uint64)
120
120
 
121
121
  @cfunc(signature_f8)
122
122
  def cos_f8(a, b, n, m):
@@ -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.size_t, types.size_t)
124
+ types.uint64, types.uint64)
125
125
 
126
126
  @cfunc(signature)
127
127
  def python_dot(a, b, n, m):
@@ -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.size_t, types.size_t)
64
+ types.uint64, types.uint64)
65
65
 
66
66
  if metric == MetricKind.IP:
67
67