Commit
•
033f6c7
1
Parent(s):
97a79a9
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +137 -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,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.11.0.dev2024061800",
|
3 |
+
"pretrained_config": {
|
4 |
+
"architecture": "BloomForCausalLM",
|
5 |
+
"dtype": "float16",
|
6 |
+
"vocab_size": 250880,
|
7 |
+
"hidden_size": 1024,
|
8 |
+
"num_hidden_layers": 24,
|
9 |
+
"num_attention_heads": 16,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"logits_dtype": "float32",
|
12 |
+
"norm_epsilon": 1e-05,
|
13 |
+
"position_embedding_type": "alibi",
|
14 |
+
"max_position_embeddings": null,
|
15 |
+
"num_key_value_heads": 16,
|
16 |
+
"intermediate_size": 4096,
|
17 |
+
"mapping": {
|
18 |
+
"world_size": 2,
|
19 |
+
"gpus_per_node": 8,
|
20 |
+
"tp_size": 2,
|
21 |
+
"pp_size": 1,
|
22 |
+
"moe_tp_size": 2,
|
23 |
+
"moe_ep_size": 1
|
24 |
+
},
|
25 |
+
"quantization": {
|
26 |
+
"quant_algo": null,
|
27 |
+
"kv_cache_quant_algo": null,
|
28 |
+
"group_size": 128,
|
29 |
+
"smoothquant_val": null,
|
30 |
+
"has_zero_point": false,
|
31 |
+
"pre_quant_scale": false,
|
32 |
+
"exclude_modules": null
|
33 |
+
},
|
34 |
+
"use_parallel_embedding": false,
|
35 |
+
"embedding_sharding_dim": 0,
|
36 |
+
"share_embedding_table": false,
|
37 |
+
"head_size": 64,
|
38 |
+
"qk_layernorm": false
|
39 |
+
},
|
40 |
+
"build_config": {
|
41 |
+
"max_input_len": 1024,
|
42 |
+
"max_seq_len": 2048,
|
43 |
+
"opt_batch_size": null,
|
44 |
+
"max_batch_size": 64,
|
45 |
+
"max_beam_width": 1,
|
46 |
+
"max_num_tokens": 8192,
|
47 |
+
"opt_num_tokens": 64,
|
48 |
+
"max_prompt_embedding_table_size": 0,
|
49 |
+
"gather_context_logits": false,
|
50 |
+
"gather_generation_logits": false,
|
51 |
+
"strongly_typed": true,
|
52 |
+
"builder_opt": null,
|
53 |
+
"profiling_verbosity": "layer_names_only",
|
54 |
+
"enable_debug_output": false,
|
55 |
+
"max_draft_len": 0,
|
56 |
+
"speculative_decoding_mode": 1,
|
57 |
+
"use_refit": false,
|
58 |
+
"input_timing_cache": null,
|
59 |
+
"output_timing_cache": "model.cache",
|
60 |
+
"lora_config": {
|
61 |
+
"lora_dir": [],
|
62 |
+
"lora_ckpt_source": "hf",
|
63 |
+
"max_lora_rank": 64,
|
64 |
+
"lora_target_modules": [],
|
65 |
+
"trtllm_modules_to_hf_modules": {}
|
66 |
+
},
|
67 |
+
"auto_parallel_config": {
|
68 |
+
"world_size": 1,
|
69 |
+
"gpus_per_node": 8,
|
70 |
+
"cluster_key": "A100-SXM-80GB",
|
71 |
+
"cluster_info": null,
|
72 |
+
"sharding_cost_model": "alpha_beta",
|
73 |
+
"comm_cost_model": "alpha_beta",
|
74 |
+
"enable_pipeline_parallelism": false,
|
75 |
+
"enable_shard_unbalanced_shape": false,
|
76 |
+
"enable_shard_dynamic_shape": false,
|
77 |
+
"enable_reduce_scatter": true,
|
78 |
+
"builder_flags": null,
|
79 |
+
"debug_mode": false,
|
80 |
+
"infer_shape": true,
|
81 |
+
"validation_mode": false,
|
82 |
+
"same_buffer_io": {
|
83 |
+
"past_key_value_(\\d+)": "present_key_value_\\1"
|
84 |
+
},
|
85 |
+
"same_spec_io": {},
|
86 |
+
"sharded_io_allowlist": [
|
87 |
+
"past_key_value_\\d+",
|
88 |
+
"present_key_value_\\d*"
|
89 |
+
],
|
90 |
+
"fill_weights": false,
|
91 |
+
"parallel_config_cache": null,
|
92 |
+
"profile_cache": null,
|
93 |
+
"dump_path": null,
|
94 |
+
"debug_outputs": []
|
95 |
+
},
|
96 |
+
"weight_sparsity": false,
|
97 |
+
"weight_streaming": false,
|
98 |
+
"plugin_config": {
|
99 |
+
"dtype": "float16",
|
100 |
+
"bert_attention_plugin": "auto",
|
101 |
+
"gpt_attention_plugin": "auto",
|
102 |
+
"gemm_plugin": "float16",
|
103 |
+
"gemm_swiglu_plugin": null,
|
104 |
+
"smooth_quant_gemm_plugin": null,
|
105 |
+
"identity_plugin": null,
|
106 |
+
"layernorm_quantization_plugin": null,
|
107 |
+
"rmsnorm_quantization_plugin": null,
|
108 |
+
"nccl_plugin": "float16",
|
109 |
+
"lookup_plugin": null,
|
110 |
+
"lora_plugin": null,
|
111 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
112 |
+
"weight_only_quant_matmul_plugin": null,
|
113 |
+
"quantize_per_token_plugin": false,
|
114 |
+
"quantize_tensor_plugin": false,
|
115 |
+
"moe_plugin": "auto",
|
116 |
+
"mamba_conv1d_plugin": "auto",
|
117 |
+
"context_fmha": true,
|
118 |
+
"context_fmha_fp32_acc": false,
|
119 |
+
"paged_kv_cache": true,
|
120 |
+
"remove_input_padding": true,
|
121 |
+
"use_custom_all_reduce": true,
|
122 |
+
"reduce_fusion": false,
|
123 |
+
"multi_block_mode": false,
|
124 |
+
"enable_xqa": true,
|
125 |
+
"attention_qk_half_accumulation": false,
|
126 |
+
"tokens_per_block": 64,
|
127 |
+
"use_paged_context_fmha": false,
|
128 |
+
"use_fp8_context_fmha": false,
|
129 |
+
"multiple_profiles": false,
|
130 |
+
"paged_state": true,
|
131 |
+
"streamingllm": false
|
132 |
+
},
|
133 |
+
"use_strip_plan": false,
|
134 |
+
"max_encoder_input_len": 1024,
|
135 |
+
"use_fused_mlp": false
|
136 |
+
}
|
137 |
+
}
|
rank0.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a0e1f3c1b79edc1f25d4872e44463c475a277103892c219d5ea7dc6d2b5fe00
|
3 |
+
size 1076754244
|
rank1.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:616112c7518b7056eedbed263c72a11b07c91aecbbb579350ebfb1c00d4a0e6c
|
3 |
+
size 1076754244
|