xin-tong commited on
Commit
af2c08d
·
verified ·
1 Parent(s): e13ffb6

Upload PowerServe/SmallThinker-3B-PowerServe-QNN29-8G3

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +7 -0
  2. ggml/weights.gguf +3 -0
  3. model.json +27 -0
  4. qnn/config.json +126 -0
  5. qnn/kv/layer_0_key_0.raw +0 -0
  6. qnn/kv/layer_0_key_1.raw +0 -0
  7. qnn/kv/layer_0_value_0.raw +0 -0
  8. qnn/kv/layer_0_value_1.raw +0 -0
  9. qnn/kv/layer_10_key_0.raw +0 -0
  10. qnn/kv/layer_10_key_1.raw +0 -0
  11. qnn/kv/layer_10_value_0.raw +0 -0
  12. qnn/kv/layer_10_value_1.raw +0 -0
  13. qnn/kv/layer_11_key_0.raw +0 -0
  14. qnn/kv/layer_11_key_1.raw +0 -0
  15. qnn/kv/layer_11_value_0.raw +0 -0
  16. qnn/kv/layer_11_value_1.raw +0 -0
  17. qnn/kv/layer_12_key_0.raw +0 -0
  18. qnn/kv/layer_12_key_1.raw +0 -0
  19. qnn/kv/layer_12_value_0.raw +0 -0
  20. qnn/kv/layer_12_value_1.raw +0 -0
  21. qnn/kv/layer_13_key_0.raw +0 -0
  22. qnn/kv/layer_13_key_1.raw +0 -0
  23. qnn/kv/layer_13_value_0.raw +0 -0
  24. qnn/kv/layer_13_value_1.raw +0 -0
  25. qnn/kv/layer_14_key_0.raw +0 -0
  26. qnn/kv/layer_14_key_1.raw +0 -0
  27. qnn/kv/layer_14_value_0.raw +0 -0
  28. qnn/kv/layer_14_value_1.raw +0 -0
  29. qnn/kv/layer_15_key_0.raw +0 -0
  30. qnn/kv/layer_15_key_1.raw +0 -0
  31. qnn/kv/layer_15_value_0.raw +0 -0
  32. qnn/kv/layer_15_value_1.raw +0 -0
  33. qnn/kv/layer_16_key_0.raw +0 -0
  34. qnn/kv/layer_16_key_1.raw +0 -0
  35. qnn/kv/layer_16_value_0.raw +0 -0
  36. qnn/kv/layer_16_value_1.raw +0 -0
  37. qnn/kv/layer_17_key_0.raw +0 -0
  38. qnn/kv/layer_17_key_1.raw +0 -0
  39. qnn/kv/layer_17_value_0.raw +0 -0
  40. qnn/kv/layer_17_value_1.raw +0 -0
  41. qnn/kv/layer_18_key_0.raw +0 -0
  42. qnn/kv/layer_18_key_1.raw +0 -0
  43. qnn/kv/layer_18_value_0.raw +0 -0
  44. qnn/kv/layer_18_value_1.raw +0 -0
  45. qnn/kv/layer_19_key_0.raw +0 -0
  46. qnn/kv/layer_19_key_1.raw +0 -0
  47. qnn/kv/layer_19_value_0.raw +0 -0
  48. qnn/kv/layer_19_value_1.raw +0 -0
  49. qnn/kv/layer_1_key_0.raw +0 -0
  50. qnn/kv/layer_1_key_1.raw +0 -0
.gitattributes CHANGED
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ ggml/weights.gguf filter=lfs diff=lfs merge=lfs -text
37
+ qnn/libQnnHtp.so filter=lfs diff=lfs merge=lfs -text
38
+ qnn/libQnnHtpV75.so filter=lfs diff=lfs merge=lfs -text
39
+ qnn/libQnnHtpV75Skel.so filter=lfs diff=lfs merge=lfs -text
40
+ qnn/libQnnHtpV79.so filter=lfs diff=lfs merge=lfs -text
41
+ qnn/libQnnHtpV79Skel.so filter=lfs diff=lfs merge=lfs -text
42
+ vocab.gguf filter=lfs diff=lfs merge=lfs -text
ggml/weights.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624c99081bd41a84c3a0a06d0d1ef2960ec8276c3fcc3b621bae2a2583a76a31
3
+ size 3616086496
model.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "smallthinker_3b",
3
+ "model_arch": "qwen2",
4
+ "version": 20241202,
5
+ "llm_config": {
6
+ "embed_dim": 2048,
7
+ "ffn_dim": 11008,
8
+ "head_size": 128,
9
+ "kv_dim": 256,
10
+ "n_attn_heads": 16,
11
+ "n_attn_kv_heads": 2,
12
+ "n_ctx": 32768,
13
+ "n_layers": 36,
14
+ "norm_eps": 9.999999974752427e-07,
15
+ "vocab_size": 151936,
16
+ "rope_config": {
17
+ "n_rope_ctx_orig": 32768,
18
+ "rope_attn_factor": 1.0,
19
+ "rope_dim": 128,
20
+ "rope_freq_base": 1000000.0,
21
+ "rope_freq_scale": 1.0,
22
+ "rope_scale_type": "linear",
23
+ "rope_type": -1
24
+ }
25
+ },
26
+ "vision": {}
27
+ }
qnn/config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_parameters": {
3
+ "n_layers": 36,
4
+ "vocab_size": 151936,
5
+ "embed_dim": 2048,
6
+ "ffn_hidden_dim": 11008,
7
+ "head_dim": 128,
8
+ "n_kv_heads": 2,
9
+ "rope_theta": 1000000.0,
10
+ "rms_norm_eps": 1e-06,
11
+ "attention_mask_value": -50000.0,
12
+ "tie_embedding": true
13
+ },
14
+ "qnn_parameters": {
15
+ "n_hvx_threads": 4
16
+ },
17
+ "graphs": [
18
+ {
19
+ "type": "transformers",
20
+ "start_layer_id": 0,
21
+ "end_layer_id": 18,
22
+ "batch_size": 1,
23
+ "cache_size": 1920,
24
+ "context_size": 2048,
25
+ "graph_name": "batch_1",
26
+ "model_path": "smallthinker_3b_0.bin",
27
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
28
+ "kv_size": 11,
29
+ "x_name": "x",
30
+ "out_name": "out"
31
+ },
32
+ {
33
+ "type": "transformers",
34
+ "start_layer_id": 18,
35
+ "end_layer_id": 36,
36
+ "batch_size": 1,
37
+ "cache_size": 1920,
38
+ "context_size": 2048,
39
+ "graph_name": "batch_1",
40
+ "model_path": "smallthinker_3b_1.bin",
41
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
42
+ "kv_size": 11,
43
+ "x_name": "x",
44
+ "out_name": "out"
45
+ },
46
+ {
47
+ "type": "transformers",
48
+ "start_layer_id": 0,
49
+ "end_layer_id": 18,
50
+ "batch_size": 12,
51
+ "cache_size": 1920,
52
+ "context_size": 2048,
53
+ "graph_name": "batch_12",
54
+ "model_path": "smallthinker_3b_0.bin",
55
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
56
+ "kv_size": 11,
57
+ "x_name": "x",
58
+ "out_name": "out"
59
+ },
60
+ {
61
+ "type": "transformers",
62
+ "start_layer_id": 18,
63
+ "end_layer_id": 36,
64
+ "batch_size": 12,
65
+ "cache_size": 1920,
66
+ "context_size": 2048,
67
+ "graph_name": "batch_12",
68
+ "model_path": "smallthinker_3b_1.bin",
69
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
70
+ "kv_size": 11,
71
+ "x_name": "x",
72
+ "out_name": "out"
73
+ },
74
+ {
75
+ "type": "transformers",
76
+ "start_layer_id": 0,
77
+ "end_layer_id": 18,
78
+ "batch_size": 128,
79
+ "cache_size": 1920,
80
+ "context_size": 2048,
81
+ "graph_name": "batch_128",
82
+ "model_path": "smallthinker_3b_0.bin",
83
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
84
+ "kv_size": 11,
85
+ "x_name": "x",
86
+ "out_name": "out"
87
+ },
88
+ {
89
+ "type": "transformers",
90
+ "start_layer_id": 18,
91
+ "end_layer_id": 36,
92
+ "batch_size": 128,
93
+ "cache_size": 1920,
94
+ "context_size": 2048,
95
+ "graph_name": "batch_128",
96
+ "model_path": "smallthinker_3b_1.bin",
97
+ "kv_path_format": "kv/layer_{layer_id}_{kv_type}_{head_id}.raw",
98
+ "kv_size": 11,
99
+ "x_name": "x",
100
+ "out_name": "out"
101
+ }
102
+ ],
103
+ "embeddings": [
104
+ {
105
+ "graph_name": "batch_1",
106
+ "model_path": "lm_head.bin",
107
+ "batch_size": 1,
108
+ "x_name": "x",
109
+ "out_name": "logits"
110
+ },
111
+ {
112
+ "graph_name": "batch_12",
113
+ "model_path": "lm_head.bin",
114
+ "batch_size": 12,
115
+ "x_name": "x",
116
+ "out_name": "logits"
117
+ },
118
+ {
119
+ "graph_name": "batch_128",
120
+ "model_path": "lm_head.bin",
121
+ "batch_size": 128,
122
+ "x_name": "x",
123
+ "out_name": "logits"
124
+ }
125
+ ]
126
+ }
qnn/kv/layer_0_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_0_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_0_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_0_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_10_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_10_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_10_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_10_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_11_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_11_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_11_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_11_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_12_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_12_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_12_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_12_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_13_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_13_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_13_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_13_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_14_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_14_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_14_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_14_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_15_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_15_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_15_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_15_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_16_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_16_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_16_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_16_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_17_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_17_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_17_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_17_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_18_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_18_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_18_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_18_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_19_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_19_key_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_19_value_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_19_value_1.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_1_key_0.raw ADDED
Binary file (5.63 kB). View file
 
qnn/kv/layer_1_key_1.raw ADDED
Binary file (5.63 kB). View file