Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +115 -0
- rank0.engine +3 -0
- rank1.engine +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ 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
|
| 37 |
+
rank1.engine filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.9.0.dev2024022000",
|
| 3 |
+
"pretrained_config": {
|
| 4 |
+
"architecture": "MixtralForCausalLM",
|
| 5 |
+
"dtype": "float16",
|
| 6 |
+
"logits_dtype": "float32",
|
| 7 |
+
"vocab_size": 32002,
|
| 8 |
+
"max_position_embeddings": 32768,
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"num_hidden_layers": 32,
|
| 11 |
+
"num_attention_heads": 32,
|
| 12 |
+
"num_key_value_heads": 8,
|
| 13 |
+
"head_size": 128,
|
| 14 |
+
"hidden_act": "swiglu",
|
| 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": false,
|
| 20 |
+
"embedding_sharding_dim": 0,
|
| 21 |
+
"share_embedding_table": false,
|
| 22 |
+
"mapping": {
|
| 23 |
+
"world_size": 2,
|
| 24 |
+
"tp_size": 2,
|
| 25 |
+
"pp_size": 1
|
| 26 |
+
},
|
| 27 |
+
"kv_dtype": "float16",
|
| 28 |
+
"max_lora_rank": 64,
|
| 29 |
+
"rotary_base": 1000000.0,
|
| 30 |
+
"rotary_scaling": null,
|
| 31 |
+
"moe_num_experts": 8,
|
| 32 |
+
"moe_top_k": 2,
|
| 33 |
+
"moe_tp_mode": 2,
|
| 34 |
+
"moe_normalization_mode": 1,
|
| 35 |
+
"enable_pos_shift": false,
|
| 36 |
+
"dense_context_fmha": false,
|
| 37 |
+
"lora_target_modules": null,
|
| 38 |
+
"hf_modules_to_trtllm_modules": {
|
| 39 |
+
"q_proj": "attn_q",
|
| 40 |
+
"k_proj": "attn_k",
|
| 41 |
+
"v_proj": "attn_v",
|
| 42 |
+
"o_proj": "attn_dense",
|
| 43 |
+
"gate_proj": "mlp_h_to_4h",
|
| 44 |
+
"down_proj": "mlp_4h_to_h",
|
| 45 |
+
"up_proj": "mlp_gate"
|
| 46 |
+
},
|
| 47 |
+
"trtllm_modules_to_hf_modules": {
|
| 48 |
+
"attn_q": "q_proj",
|
| 49 |
+
"attn_k": "k_proj",
|
| 50 |
+
"attn_v": "v_proj",
|
| 51 |
+
"attn_dense": "o_proj",
|
| 52 |
+
"mlp_h_to_4h": "gate_proj",
|
| 53 |
+
"mlp_4h_to_h": "down_proj",
|
| 54 |
+
"mlp_gate": "up_proj"
|
| 55 |
+
},
|
| 56 |
+
"disable_weight_only_quant_plugin": false,
|
| 57 |
+
"mlp_bias": false,
|
| 58 |
+
"attn_bias": false,
|
| 59 |
+
"quantization": {
|
| 60 |
+
"quant_algo": "W8A16",
|
| 61 |
+
"kv_cache_quant_algo": null,
|
| 62 |
+
"group_size": 128,
|
| 63 |
+
"has_zero_point": false,
|
| 64 |
+
"pre_quant_scale": false,
|
| 65 |
+
"exclude_modules": [
|
| 66 |
+
"lm_head",
|
| 67 |
+
"router"
|
| 68 |
+
],
|
| 69 |
+
"sq_use_plugin": false
|
| 70 |
+
}
|
| 71 |
+
},
|
| 72 |
+
"build_config": {
|
| 73 |
+
"max_input_len": 6000,
|
| 74 |
+
"max_output_len": 1024,
|
| 75 |
+
"max_batch_size": 128,
|
| 76 |
+
"max_beam_width": 1,
|
| 77 |
+
"max_num_tokens": 768000,
|
| 78 |
+
"max_prompt_embedding_table_size": 0,
|
| 79 |
+
"gather_context_logits": false,
|
| 80 |
+
"gather_generation_logits": false,
|
| 81 |
+
"strongly_typed": false,
|
| 82 |
+
"builder_opt": null,
|
| 83 |
+
"profiling_verbosity": "layer_names_only",
|
| 84 |
+
"enable_debug_output": false,
|
| 85 |
+
"max_draft_len": 0,
|
| 86 |
+
"plugin_config": {
|
| 87 |
+
"bert_attention_plugin": "float16",
|
| 88 |
+
"gpt_attention_plugin": "float16",
|
| 89 |
+
"gemm_plugin": "float16",
|
| 90 |
+
"smooth_quant_gemm_plugin": null,
|
| 91 |
+
"identity_plugin": null,
|
| 92 |
+
"layernorm_quantization_plugin": null,
|
| 93 |
+
"rmsnorm_quantization_plugin": null,
|
| 94 |
+
"nccl_plugin": "float16",
|
| 95 |
+
"lookup_plugin": null,
|
| 96 |
+
"lora_plugin": null,
|
| 97 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
| 98 |
+
"weight_only_quant_matmul_plugin": "float16",
|
| 99 |
+
"quantize_per_token_plugin": false,
|
| 100 |
+
"quantize_tensor_plugin": false,
|
| 101 |
+
"moe_plugin": "float16",
|
| 102 |
+
"context_fmha": true,
|
| 103 |
+
"context_fmha_fp32_acc": false,
|
| 104 |
+
"paged_kv_cache": true,
|
| 105 |
+
"remove_input_padding": true,
|
| 106 |
+
"use_custom_all_reduce": true,
|
| 107 |
+
"multi_block_mode": false,
|
| 108 |
+
"enable_xqa": true,
|
| 109 |
+
"attention_qk_half_accumulation": false,
|
| 110 |
+
"tokens_per_block": 128,
|
| 111 |
+
"use_paged_context_fmha": false,
|
| 112 |
+
"use_context_fmha_for_generation": false
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
}
|
rank0.engine
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cce83ce2e61ed2eee302cef3ae045028f8dae3e7a5bd3f25f2e52e16ddde9515
|
| 3 |
+
size 23893710532
|
rank1.engine
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a35edc6d53103c4235316376223830df6114ddb2a0c2a16db8809ed2ca5f575f
|
| 3 |
+
size 23893697804
|