@fugood/node-llama-linux-arm64-snapdragon 1.3.6

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/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # @fugood/node-llama-linux-arm64-snapdragon
2
+
3
+ Native module for llama.node targeting linux-arm64-snapdragon.
4
+
5
+ This package contains the pre-compiled native module for the specified platform and architecture with Qualcomm Snapdragon OpenCL and Hexagon support.
6
+
7
+ ## Installation
8
+
9
+ This package is typically installed automatically as a dependency of `@fugood/llama.node`.
10
+
11
+ ## Platform Support
12
+
13
+ - **OS**: linux
14
+ - **Architecture**: arm64
15
+ - **Variant**: snapdragon
16
+ - **Backends**: OpenCL, Hexagon NPU
17
+
18
+ ## Usage
19
+
20
+ This package is not meant to be used directly. It is consumed by the main `@fugood/llama.node` package.
21
+
22
+ ## Best Practice
23
+
24
+ This config for best practice.
25
+
26
+ ```js
27
+ {
28
+ n_gpu_layers: 99,
29
+ devices: ['HTP0'], // All available HTP devices
30
+ flash_attn_type: 'on',
31
+ n_threads: 6,
32
+ batch_size: 128,
33
+ cache_type_k: 'q8_0',
34
+ cache_type_v: 'q8_0',
35
+ cpu_mask: '0xfc',
36
+ cpu_strict: true,
37
+ }
38
+ ```
package/index.node ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@fugood/node-llama-linux-arm64-snapdragon",
3
+ "version": "1.3.6",
4
+ "description": "Native module for An another Node binding of llama.cpp (linux-arm64-snapdragon)",
5
+ "main": "index.node",
6
+ "os": [
7
+ "linux"
8
+ ],
9
+ "cpu": [
10
+ "arm64"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/mybigday/llama.node.git"
15
+ },
16
+ "keywords": [
17
+ "llama",
18
+ "llm",
19
+ "ai",
20
+ "genai",
21
+ "Local LLM",
22
+ "llama.cpp",
23
+ "linux",
24
+ "arm64",
25
+ "native",
26
+ "qualcomm",
27
+ "snapdragon",
28
+ "opencl",
29
+ "hexagon"
30
+ ],
31
+ "author": "Hans <hans.chen@bricks.tools>",
32
+ "license": "MIT",
33
+ "bugs": {
34
+ "url": "https://github.com/mybigday/llama.node/issues"
35
+ },
36
+ "homepage": "https://github.com/mybigday/llama.node#readme",
37
+ "publishConfig": {
38
+ "registry": "https://registry.npmjs.org",
39
+ "access": "public"
40
+ },
41
+ "files": [
42
+ "index.node",
43
+ "*.so"
44
+ ],
45
+ "variant": "snapdragon"
46
+ }