zhyncs commited on
Commit
f575ff3
·
verified ·
1 Parent(s): 4190a6a

Upload folder using huggingface_hub

Browse files
Files changed (6) hide show
  1. .gitattributes +4 -0
  2. config.json +172 -0
  3. rank0.engine +3 -0
  4. rank1.engine +3 -0
  5. rank2.engine +3 -0
  6. rank3.engine +3 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
38
+ rank2.engine filter=lfs diff=lfs merge=lfs -text
39
+ rank3.engine filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.13.0",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 500000.0,
7
+ "rotary_scaling": {
8
+ "factor": 8.0,
9
+ "low_freq_factor": 1.0,
10
+ "high_freq_factor": 4.0,
11
+ "original_max_position_embeddings": 8192,
12
+ "rope_type": "llama3"
13
+ },
14
+ "residual_mlp": false,
15
+ "disable_weight_only_quant_plugin": false,
16
+ "moe": {
17
+ "num_experts": 0,
18
+ "top_k": 0,
19
+ "normalization_mode": 1,
20
+ "sparse_mixer_epsilon": 0.01,
21
+ "tp_mode": 0
22
+ },
23
+ "remove_duplicated_kv_heads": false,
24
+ "architecture": "LlamaForCausalLM",
25
+ "dtype": "float16",
26
+ "vocab_size": 128256,
27
+ "hidden_size": 8192,
28
+ "num_hidden_layers": 80,
29
+ "num_attention_heads": 64,
30
+ "hidden_act": "silu",
31
+ "logits_dtype": "float16",
32
+ "norm_epsilon": 1e-05,
33
+ "position_embedding_type": "rope_gpt_neox",
34
+ "max_position_embeddings": 131072,
35
+ "num_key_value_heads": 8,
36
+ "intermediate_size": 28672,
37
+ "mapping": {
38
+ "world_size": 4,
39
+ "gpus_per_node": 8,
40
+ "cp_size": 1,
41
+ "tp_size": 4,
42
+ "pp_size": 1,
43
+ "moe_tp_size": 4,
44
+ "moe_ep_size": 1
45
+ },
46
+ "quantization": {
47
+ "quant_algo": "FP8",
48
+ "kv_cache_quant_algo": "FP8",
49
+ "group_size": 128,
50
+ "smoothquant_val": 0.5,
51
+ "clamp_val": null,
52
+ "has_zero_point": false,
53
+ "pre_quant_scale": false,
54
+ "exclude_modules": null
55
+ },
56
+ "use_parallel_embedding": true,
57
+ "embedding_sharding_dim": 0,
58
+ "share_embedding_table": false,
59
+ "head_size": 128,
60
+ "qk_layernorm": false,
61
+ "producer": {
62
+ "name": "modelopt",
63
+ "version": "0.15.1"
64
+ },
65
+ "bias": false,
66
+ "rotary_pct": 1.0,
67
+ "rank": 0,
68
+ "decoder": "llama",
69
+ "rmsnorm": true,
70
+ "lm_head_bias": false
71
+ },
72
+ "build_config": {
73
+ "max_input_len": 1024,
74
+ "max_seq_len": 8192,
75
+ "opt_batch_size": null,
76
+ "max_batch_size": 256,
77
+ "max_beam_width": 1,
78
+ "max_num_tokens": 8192,
79
+ "opt_num_tokens": 256,
80
+ "max_prompt_embedding_table_size": 0,
81
+ "kv_cache_type": "PAGED",
82
+ "gather_context_logits": false,
83
+ "gather_generation_logits": false,
84
+ "strongly_typed": true,
85
+ "builder_opt": null,
86
+ "force_num_profiles": null,
87
+ "profiling_verbosity": "layer_names_only",
88
+ "enable_debug_output": false,
89
+ "max_draft_len": 0,
90
+ "speculative_decoding_mode": 1,
91
+ "use_refit": false,
92
+ "input_timing_cache": null,
93
+ "output_timing_cache": "model.cache",
94
+ "lora_config": {
95
+ "lora_dir": [],
96
+ "lora_ckpt_source": "hf",
97
+ "max_lora_rank": 64,
98
+ "lora_target_modules": [],
99
+ "trtllm_modules_to_hf_modules": {}
100
+ },
101
+ "auto_parallel_config": {
102
+ "world_size": 1,
103
+ "gpus_per_node": 8,
104
+ "cluster_key": "H100-PCIe",
105
+ "cluster_info": null,
106
+ "sharding_cost_model": "alpha_beta",
107
+ "comm_cost_model": "alpha_beta",
108
+ "enable_pipeline_parallelism": false,
109
+ "enable_shard_unbalanced_shape": false,
110
+ "enable_shard_dynamic_shape": false,
111
+ "enable_reduce_scatter": true,
112
+ "builder_flags": null,
113
+ "debug_mode": false,
114
+ "infer_shape": true,
115
+ "validation_mode": false,
116
+ "same_buffer_io": {
117
+ "past_key_value_(\\d+)": "present_key_value_\\1"
118
+ },
119
+ "same_spec_io": {},
120
+ "sharded_io_allowlist": [
121
+ "past_key_value_\\d+",
122
+ "present_key_value_\\d*"
123
+ ],
124
+ "fill_weights": false,
125
+ "parallel_config_cache": null,
126
+ "profile_cache": null,
127
+ "dump_path": null,
128
+ "debug_outputs": []
129
+ },
130
+ "weight_sparsity": false,
131
+ "weight_streaming": false,
132
+ "plugin_config": {
133
+ "dtype": "float16",
134
+ "bert_attention_plugin": "auto",
135
+ "gpt_attention_plugin": "float16",
136
+ "gemm_plugin": "fp8",
137
+ "gemm_swiglu_plugin": null,
138
+ "fp8_rowwise_gemm_plugin": null,
139
+ "smooth_quant_gemm_plugin": null,
140
+ "identity_plugin": null,
141
+ "layernorm_quantization_plugin": null,
142
+ "rmsnorm_quantization_plugin": null,
143
+ "nccl_plugin": "float16",
144
+ "lookup_plugin": null,
145
+ "lora_plugin": null,
146
+ "weight_only_groupwise_quant_matmul_plugin": null,
147
+ "weight_only_quant_matmul_plugin": null,
148
+ "quantize_per_token_plugin": false,
149
+ "quantize_tensor_plugin": false,
150
+ "moe_plugin": "auto",
151
+ "mamba_conv1d_plugin": "auto",
152
+ "low_latency_gemm_plugin": null,
153
+ "context_fmha": true,
154
+ "bert_context_fmha_fp32_acc": false,
155
+ "paged_kv_cache": true,
156
+ "remove_input_padding": true,
157
+ "reduce_fusion": false,
158
+ "enable_xqa": true,
159
+ "tokens_per_block": 64,
160
+ "use_paged_context_fmha": true,
161
+ "use_fp8_context_fmha": true,
162
+ "multiple_profiles": false,
163
+ "paged_state": false,
164
+ "streamingllm": false,
165
+ "manage_weights": false,
166
+ "use_fused_mlp": true
167
+ },
168
+ "use_strip_plan": false,
169
+ "max_encoder_input_len": 1024,
170
+ "use_fused_mlp": "enable"
171
+ }
172
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:814f1ba2b5f33b418aed9d3811fe69ea25590ba67e71926678ae1966f62b532c
3
+ size 18251896572
rank1.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f108885a9aa9e3d8b93b504368765a7cf72b25bd0738112843a7e2c1ce0479a
3
+ size 18251896828
rank2.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:682bfbaaf2f77d7304816fa3d352d145e52b3d67f8b55ecb91c865dfe93e10f5
3
+ size 18251896828
rank3.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c1f2942b9d0ca22df4e9b38081ba740e2efe922cc904fee0eaf64b86031f259
3
+ size 18251896828