@qvac/ocr-ggml 0.26.1 → 0.27.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/ocr-ggml",
3
- "version": "0.26.1",
3
+ "version": "0.27.1",
4
4
  "description": "GGML-backed OCR addon for qvac (EasyOCR and DocTR pipelines on GGUF weights)",
5
5
  "addon": true,
6
6
  "engines": {
@@ -75,8 +75,8 @@
75
75
  "bugs": "https://github.com/tetherto/qvac/issues",
76
76
  "homepage": "https://qvac.tether.io",
77
77
  "devDependencies": {
78
- "@qvac/fabric-android-arm64": "^0.19.0",
79
- "@qvac/fabric-ios": "^0.19.0",
78
+ "@qvac/fabric-android-arm64": "^0.20.0",
79
+ "@qvac/fabric-ios": "^0.20.0",
80
80
  "@qvac/registry-client": "^0.4.0",
81
81
  "@types/node": "^24.2.1",
82
82
  "bare-stream": "^2.7.0",
@@ -97,7 +97,7 @@
97
97
  },
98
98
  "dependencies": {
99
99
  "@qvac/error": "^0.1.0",
100
- "@qvac/fabric": "^0.19.0",
100
+ "@qvac/fabric": "^0.20.0",
101
101
  "@qvac/infer-base": "^0.6.2",
102
102
  "@qvac/logging": "^0.1.0",
103
103
  "bare-fetch": "^3.0.1",
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.26.1"
10
+ "version": "0.27.1"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.26.1"
10
+ "version": "0.27.1"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.26.1"
10
+ "version": "0.27.1"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.26.1"
10
+ "version": "0.27.1"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.26.1"
10
+ "version": "0.27.1"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -10,7 +10,8 @@ const {
10
10
  ensureModelPath,
11
11
  safeUnload,
12
12
  findVulkanBackendLib,
13
- PREBUILDS_DIR
13
+ PREBUILDS_DIR,
14
+ OCR_TEST_THREADS
14
15
  } = require('./utils')
15
16
 
16
17
  // QVAC-19797: opt-in Vulkan GGML backend. Requesting `backendDevice: 'vulkan'`
@@ -153,7 +154,9 @@ test(
153
154
  pathDetector: detectorPath,
154
155
  pathRecognizer: recognizerPath,
155
156
  langList: ['en'],
156
- backendDevice: 'vulkan'
157
+ backendDevice: 'vulkan',
158
+ // Runs on CPU when no Vulkan GPU is present.
159
+ nThreads: OCR_TEST_THREADS
157
160
  },
158
161
  opts: { stats: true }
159
162
  })
@@ -299,7 +302,9 @@ test(
299
302
  pathDetector: detectorPath,
300
303
  pathRecognizer: recognizerPath,
301
304
  langList: ['en'],
302
- backendDevice: 'metal'
305
+ backendDevice: 'metal',
306
+ // Runs on CPU when no Metal GPU is present.
307
+ nThreads: OCR_TEST_THREADS
303
308
  },
304
309
  opts: { stats: true }
305
310
  })