-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "bitgpu",
"version": "0.19.1",
"description": "Fast WebGPU runtime for 1-bit (binary-weight) LLMs in the browser. Bit-exact, zero runtime dependencies.",
"type": "module",
"license": "MIT",
"author": "Sait Furkan Teke",
"repository": {
"type": "git",
"url": "git+https://github.com/stfurkan/bitgpu.git"
},
"homepage": "https://github.com/stfurkan/bitgpu#readme",
"bugs": "https://github.com/stfurkan/bitgpu/issues",
"keywords": [
"webgpu",
"llm",
"low-bit",
"1-bit",
"quantization",
"binary",
"inference",
"browser",
"on-device",
"qwen3"
],
"sideEffects": false,
"files": [
"dist",
"LICENSE",
"THIRD_PARTY_LICENSES.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./chat": {
"types": "./dist/chat.d.ts",
"default": "./dist/chat.js"
},
"./gguf": {
"types": "./dist/gguf.d.ts",
"default": "./dist/gguf.js"
}
},
"scripts": {
"gen:shaders": "tsx scripts/gen-shaders.ts",
"build": "npm run gen:shaders && tsdown",
"dev": "npm run gen:shaders && tsdown --watch",
"typecheck": "npm run gen:shaders && tsc -p tsconfig.json --noEmit && tsc -p tsconfig.node.json --noEmit",
"test:sampler": "tsx scripts/verify-sampler.ts",
"test:pld": "tsx scripts/verify-pld.ts",
"test:chat": "tsx scripts/verify-chat.ts",
"verify:headless": "node scripts/headless-verify.mjs",
"check:publish": "publint --strict && attw --pack . --profile esm-only",
"prepare": "npm run build",
"prepublishOnly": "npm run build && npm run check:publish",
"test:gguf": "tsx scripts/verify-gguf.ts",
"test:kernels": "python3 tools/gen-kernel-cases.py && node scripts/verify-kernels.mjs",
"test:hybrid": "python3 tools/gen-synth-qwen35.py && npm run build && node scripts/verify-hybrid.mjs",
"test:27b": "npm run build && node scripts/verify-27b-live.mjs",
"profile": "node scripts/profile.mjs",
"bench": "node scripts/benchmark.mjs"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.4",
"@huggingface/jinja": "0.5.9",
"@huggingface/tokenizers": "0.1.3",
"@huggingface/transformers": "4.2.0",
"@types/node": "26.1.0",
"@webgpu/types": "0.1.71",
"playwright-core": "1.61.1",
"publint": "0.3.21",
"tsdown": "0.22.3",
"tsx": "4.23.0",
"typescript": "6.0.3"
}
}