@lloyal-labs/lloyal.node 1.0.8 → 1.0.9
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/lib/index.d.ts +10 -0
- package/package.json +14 -14
package/lib/index.d.ts
CHANGED
|
@@ -73,6 +73,16 @@ export interface ContextOptions {
|
|
|
73
73
|
/** Number of threads (default: 4) */
|
|
74
74
|
nThreads?: number;
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Batch size for token processing
|
|
78
|
+
*
|
|
79
|
+
* Controls how many tokens are processed per llama_decode call.
|
|
80
|
+
* Higher values improve throughput for prompt prefill at the cost of memory.
|
|
81
|
+
* Also sets llama_context_params.n_batch and n_ubatch at context creation.
|
|
82
|
+
* Default: 512
|
|
83
|
+
*/
|
|
84
|
+
nBatch?: number;
|
|
85
|
+
|
|
76
86
|
/**
|
|
77
87
|
* Enable embedding extraction mode
|
|
78
88
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lloyal-labs/lloyal.node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Node.js client for liblloyal+llama.cpp",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
"typedoc-rhineai-theme": "^1.2.0"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@lloyal-labs/lloyal.node-darwin-arm64": "1.0.
|
|
58
|
-
"@lloyal-labs/lloyal.node-darwin-x64": "1.0.
|
|
59
|
-
"@lloyal-labs/lloyal.node-linux-arm64": "1.0.
|
|
60
|
-
"@lloyal-labs/lloyal.node-linux-arm64-cuda": "1.0.
|
|
61
|
-
"@lloyal-labs/lloyal.node-linux-arm64-vulkan": "1.0.
|
|
62
|
-
"@lloyal-labs/lloyal.node-linux-x64": "1.0.
|
|
63
|
-
"@lloyal-labs/lloyal.node-linux-x64-cuda": "1.0.
|
|
64
|
-
"@lloyal-labs/lloyal.node-linux-x64-vulkan": "1.0.
|
|
65
|
-
"@lloyal-labs/lloyal.node-win32-arm64": "1.0.
|
|
66
|
-
"@lloyal-labs/lloyal.node-win32-arm64-vulkan": "1.0.
|
|
67
|
-
"@lloyal-labs/lloyal.node-win32-x64": "1.0.
|
|
68
|
-
"@lloyal-labs/lloyal.node-win32-x64-cuda": "1.0.
|
|
69
|
-
"@lloyal-labs/lloyal.node-win32-x64-vulkan": "1.0.
|
|
57
|
+
"@lloyal-labs/lloyal.node-darwin-arm64": "1.0.9",
|
|
58
|
+
"@lloyal-labs/lloyal.node-darwin-x64": "1.0.9",
|
|
59
|
+
"@lloyal-labs/lloyal.node-linux-arm64": "1.0.9",
|
|
60
|
+
"@lloyal-labs/lloyal.node-linux-arm64-cuda": "1.0.9",
|
|
61
|
+
"@lloyal-labs/lloyal.node-linux-arm64-vulkan": "1.0.9",
|
|
62
|
+
"@lloyal-labs/lloyal.node-linux-x64": "1.0.9",
|
|
63
|
+
"@lloyal-labs/lloyal.node-linux-x64-cuda": "1.0.9",
|
|
64
|
+
"@lloyal-labs/lloyal.node-linux-x64-vulkan": "1.0.9",
|
|
65
|
+
"@lloyal-labs/lloyal.node-win32-arm64": "1.0.9",
|
|
66
|
+
"@lloyal-labs/lloyal.node-win32-arm64-vulkan": "1.0.9",
|
|
67
|
+
"@lloyal-labs/lloyal.node-win32-x64": "1.0.9",
|
|
68
|
+
"@lloyal-labs/lloyal.node-win32-x64-cuda": "1.0.9",
|
|
69
|
+
"@lloyal-labs/lloyal.node-win32-x64-vulkan": "1.0.9"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=22.0.0"
|