joostinyi-baseten
commited on
Commit
•
0ba971f
1
Parent(s):
048ae5d
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +96 -0
- rank0.engine +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
rank0.engine filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.9.0.dev2024022000",
|
3 |
+
"pretrained_config": {
|
4 |
+
"architecture": "LlamaForCausalLM",
|
5 |
+
"dtype": "float16",
|
6 |
+
"logits_dtype": "float32",
|
7 |
+
"vocab_size": 32002,
|
8 |
+
"max_position_embeddings": 4096,
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"num_hidden_layers": 48,
|
11 |
+
"num_attention_heads": 32,
|
12 |
+
"num_key_value_heads": 8,
|
13 |
+
"head_size": 128,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"intermediate_size": 14336,
|
16 |
+
"norm_epsilon": 1e-05,
|
17 |
+
"position_embedding_type": "rope_gpt_neox",
|
18 |
+
"use_prompt_tuning": false,
|
19 |
+
"use_parallel_embedding": true,
|
20 |
+
"embedding_sharding_dim": 0,
|
21 |
+
"share_embedding_table": false,
|
22 |
+
"mapping": {
|
23 |
+
"world_size": 1,
|
24 |
+
"tp_size": 1,
|
25 |
+
"pp_size": 1
|
26 |
+
},
|
27 |
+
"kv_dtype": "fp8",
|
28 |
+
"max_lora_rank": 64,
|
29 |
+
"producer": {
|
30 |
+
"name": "ammo",
|
31 |
+
"version": "0.7.4"
|
32 |
+
},
|
33 |
+
"rotary_base": 10000.0,
|
34 |
+
"mlp_bias": false,
|
35 |
+
"attn_bias": false,
|
36 |
+
"rotary_scaling": null,
|
37 |
+
"enable_pos_shift": false,
|
38 |
+
"dense_context_fmha": false,
|
39 |
+
"moe_num_experts": 0,
|
40 |
+
"moe_top_k": 0,
|
41 |
+
"moe_tp_mode": 2,
|
42 |
+
"moe_normalization_mode": 1,
|
43 |
+
"quantization": {
|
44 |
+
"quant_algo": "FP8",
|
45 |
+
"kv_cache_quant_algo": "FP8",
|
46 |
+
"group_size": 128,
|
47 |
+
"has_zero_point": false,
|
48 |
+
"pre_quant_scale": false,
|
49 |
+
"exclude_modules": null,
|
50 |
+
"sq_use_plugin": false
|
51 |
+
}
|
52 |
+
},
|
53 |
+
"build_config": {
|
54 |
+
"max_input_len": 6000,
|
55 |
+
"max_output_len": 1024,
|
56 |
+
"max_batch_size": 64,
|
57 |
+
"max_beam_width": 1,
|
58 |
+
"max_num_tokens": 384000,
|
59 |
+
"max_prompt_embedding_table_size": 0,
|
60 |
+
"gather_context_logits": false,
|
61 |
+
"gather_generation_logits": false,
|
62 |
+
"strongly_typed": true,
|
63 |
+
"builder_opt": null,
|
64 |
+
"profiling_verbosity": "layer_names_only",
|
65 |
+
"enable_debug_output": false,
|
66 |
+
"max_draft_len": 0,
|
67 |
+
"plugin_config": {
|
68 |
+
"bert_attention_plugin": "float16",
|
69 |
+
"gpt_attention_plugin": "float16",
|
70 |
+
"gemm_plugin": null,
|
71 |
+
"smooth_quant_gemm_plugin": null,
|
72 |
+
"identity_plugin": null,
|
73 |
+
"layernorm_quantization_plugin": null,
|
74 |
+
"rmsnorm_quantization_plugin": null,
|
75 |
+
"nccl_plugin": null,
|
76 |
+
"lookup_plugin": null,
|
77 |
+
"lora_plugin": null,
|
78 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
79 |
+
"weight_only_quant_matmul_plugin": null,
|
80 |
+
"quantize_per_token_plugin": false,
|
81 |
+
"quantize_tensor_plugin": false,
|
82 |
+
"moe_plugin": "float16",
|
83 |
+
"context_fmha": true,
|
84 |
+
"context_fmha_fp32_acc": false,
|
85 |
+
"paged_kv_cache": true,
|
86 |
+
"remove_input_padding": true,
|
87 |
+
"use_custom_all_reduce": true,
|
88 |
+
"multi_block_mode": false,
|
89 |
+
"enable_xqa": true,
|
90 |
+
"attention_qk_half_accumulation": false,
|
91 |
+
"tokens_per_block": 128,
|
92 |
+
"use_paged_context_fmha": false,
|
93 |
+
"use_context_fmha_for_generation": false
|
94 |
+
}
|
95 |
+
}
|
96 |
+
}
|
rank0.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3a235b767adcb33b81d95c07afbd5f1dfc92d58421c78af8a7a02c84a6f8439
|
3 |
+
size 11002110980
|