@gridlock-compute/native-worker 0.1.1 → 0.1.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/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# worker
|
|
1
|
+
# native-worker
|
|
2
2
|
|
|
3
3
|
Headless GPU worker for the [Gridlock](https://grid-lock.tech) decentralized inference network. Connects to the [router](https://github.com/Gridlockcompute/router) over WebSocket, registers your **EVM wallet** (`0x…` on Robinhood Chain) as operator identity, and runs chat jobs locally via **Ollama** or **vLLM**.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ Headless GPU worker for the [Gridlock](https://grid-lock.tech) decentralized inf
|
|
|
6
6
|
|
|
7
7
|
## What it is
|
|
8
8
|
|
|
9
|
-
`worker
|
|
9
|
+
`native-worker` (npm package `@gridlock-compute/native-worker`) is the command-line worker client for operators who want to contribute GPU compute without a desktop UI. It:
|
|
10
10
|
|
|
11
11
|
1. Detects your hardware (GPU or CPU) and runs a short throughput benchmark
|
|
12
12
|
2. Registers with the Gridlock router (`POST /v1/workers/register`) and sets status **Active** so jobs can be dispatched
|
|
@@ -51,8 +51,8 @@ gridlock-native-worker --help
|
|
|
51
51
|
**From source:**
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
git clone https://github.com/Gridlockcompute/worker
|
|
55
|
-
cd worker
|
|
54
|
+
git clone https://github.com/Gridlockcompute/native-worker.git
|
|
55
|
+
cd native-worker
|
|
56
56
|
npm install
|
|
57
57
|
npm run build
|
|
58
58
|
```
|
|
@@ -192,7 +192,7 @@ npm start # node dist/index.js
|
|
|
192
192
|
Project layout:
|
|
193
193
|
|
|
194
194
|
```
|
|
195
|
-
worker
|
|
195
|
+
native-worker/
|
|
196
196
|
├── src/
|
|
197
197
|
│ ├── index.ts # CLI entry (commander)
|
|
198
198
|
│ ├── worker.ts # WebSocket session + job loop
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridlock-compute/native-worker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Native CLI worker for the Gridlock inference network. Connects over WebSocket and runs jobs via Ollama or vLLM.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/Gridlockcompute/worker
|
|
13
|
+
"url": "git+https://github.com/Gridlockcompute/native-worker.git"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://grid-lock.tech",
|
|
16
16
|
"bugs": {
|
|
17
|
-
"url": "https://github.com/Gridlockcompute/worker
|
|
17
|
+
"url": "https://github.com/Gridlockcompute/native-worker/issues"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|