NikiPshg commited on
Commit
9b60f53
·
verified ·
1 Parent(s): 6756e59

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +201 -0
  3. 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,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.20.0",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": true,
6
+ "rotary_base": 1000000.0,
7
+ "rotary_scaling": null,
8
+ "disable_weight_only_quant_plugin": false,
9
+ "num_labels": 1,
10
+ "use_logn_attn": false,
11
+ "moe": {
12
+ "num_experts": 0,
13
+ "shared_expert_intermediate_size": 0,
14
+ "top_k": 0,
15
+ "normalization_mode": 0,
16
+ "sparse_mixer_epsilon": 0.01,
17
+ "tp_mode": 0,
18
+ "device_limited_n_group": 0,
19
+ "device_limited_topk_group": 0,
20
+ "device_limited_routed_scaling_factor": 1.0
21
+ },
22
+ "architecture": "Qwen2ForCausalLM",
23
+ "dtype": "bfloat16",
24
+ "vocab_size": 158336,
25
+ "hidden_size": 896,
26
+ "num_hidden_layers": 24,
27
+ "num_attention_heads": 14,
28
+ "hidden_act": "silu",
29
+ "logits_dtype": "float32",
30
+ "norm_epsilon": 1e-06,
31
+ "runtime_defaults": null,
32
+ "position_embedding_type": "rope_gpt_neox",
33
+ "num_key_value_heads": 2,
34
+ "intermediate_size": 4864,
35
+ "max_position_embeddings": 32768,
36
+ "mapping": {
37
+ "world_size": 1,
38
+ "gpus_per_node": 8,
39
+ "cp_size": 1,
40
+ "tp_size": 1,
41
+ "pp_size": 1,
42
+ "moe_tp_size": 1,
43
+ "moe_cluster_size": 1,
44
+ "moe_ep_size": 1,
45
+ "attn_tp_size": 1,
46
+ "attn_cp_size": 1,
47
+ "auto_parallel": false
48
+ },
49
+ "quantization": {
50
+ "quant_algo": null,
51
+ "kv_cache_quant_algo": null,
52
+ "group_size": 128,
53
+ "smoothquant_val": 0.5,
54
+ "clamp_val": null,
55
+ "use_meta_recipe": false,
56
+ "has_zero_point": false,
57
+ "pre_quant_scale": false,
58
+ "exclude_modules": null
59
+ },
60
+ "use_parallel_embedding": false,
61
+ "embedding_sharding_dim": 0,
62
+ "head_size": 64,
63
+ "qk_layernorm": false,
64
+ "rotary_embedding_dim": 64,
65
+ "seq_length": 8192,
66
+ "qwen_type": "qwen2",
67
+ "moe_intermediate_size": 0,
68
+ "moe_shared_expert_intermediate_size": 0,
69
+ "tie_word_embeddings": false
70
+ },
71
+ "build_config": {
72
+ "max_input_len": 1024,
73
+ "max_seq_len": 32768,
74
+ "opt_batch_size": 8,
75
+ "max_batch_size": 16,
76
+ "max_beam_width": 1,
77
+ "max_num_tokens": 32768,
78
+ "opt_num_tokens": 16,
79
+ "max_prompt_embedding_table_size": 0,
80
+ "kv_cache_type": "PAGED",
81
+ "gather_context_logits": false,
82
+ "gather_generation_logits": false,
83
+ "strongly_typed": true,
84
+ "force_num_profiles": null,
85
+ "profiling_verbosity": "layer_names_only",
86
+ "enable_debug_output": false,
87
+ "max_draft_len": 0,
88
+ "speculative_decoding_mode": 1,
89
+ "use_refit": false,
90
+ "input_timing_cache": null,
91
+ "output_timing_cache": "model.cache",
92
+ "lora_config": {
93
+ "lora_dir": [],
94
+ "lora_ckpt_source": "hf",
95
+ "max_lora_rank": 64,
96
+ "lora_target_modules": [],
97
+ "trtllm_modules_to_hf_modules": {},
98
+ "max_loras": 4,
99
+ "max_cpu_loras": 4
100
+ },
101
+ "auto_parallel_config": {
102
+ "world_size": 1,
103
+ "gpus_per_node": 8,
104
+ "cluster_key": "NVIDIA-GeForce-RTX-4090",
105
+ "cluster_info": {
106
+ "inter_node_bw_per_device": 25,
107
+ "intra_node_bw_per_device": 5,
108
+ "inter_node_latency": 10,
109
+ "intra_node_latency": 10,
110
+ "intra_node_sharp": false,
111
+ "inter_node_sharp": true,
112
+ "memory_bw": 1008,
113
+ "memory_budget_per_device": 23,
114
+ "math_throughput": {
115
+ "int4": 825,
116
+ "int8": 412,
117
+ "fp8": 412,
118
+ "float16": 206,
119
+ "bfloat16": 206,
120
+ "float32": 103
121
+ },
122
+ "memory_efficiency": 1.0,
123
+ "math_efficiency": 1.0,
124
+ "communication_efficiency": 1.0
125
+ },
126
+ "sharding_cost_model": "alpha_beta",
127
+ "comm_cost_model": "alpha_beta",
128
+ "enable_pipeline_parallelism": false,
129
+ "enable_shard_unbalanced_shape": false,
130
+ "enable_shard_dynamic_shape": false,
131
+ "enable_reduce_scatter": true,
132
+ "builder_flags": null,
133
+ "debug_mode": false,
134
+ "infer_shape": true,
135
+ "validation_mode": false,
136
+ "same_buffer_io": {
137
+ "past_key_value_(\\d+)": "present_key_value_\\1"
138
+ },
139
+ "same_spec_io": {},
140
+ "sharded_io_allowlist": [
141
+ "past_key_value_\\d+",
142
+ "present_key_value_\\d*"
143
+ ],
144
+ "fill_weights": false,
145
+ "parallel_config_cache": null,
146
+ "profile_cache": null,
147
+ "dump_path": null,
148
+ "debug_outputs": []
149
+ },
150
+ "weight_sparsity": false,
151
+ "weight_streaming": false,
152
+ "plugin_config": {
153
+ "dtype": "bfloat16",
154
+ "bert_attention_plugin": "auto",
155
+ "gpt_attention_plugin": "auto",
156
+ "gemm_plugin": "bfloat16",
157
+ "explicitly_disable_gemm_plugin": false,
158
+ "gemm_swiglu_plugin": null,
159
+ "fp8_rowwise_gemm_plugin": null,
160
+ "qserve_gemm_plugin": null,
161
+ "identity_plugin": null,
162
+ "nccl_plugin": null,
163
+ "lora_plugin": null,
164
+ "dora_plugin": false,
165
+ "weight_only_groupwise_quant_matmul_plugin": null,
166
+ "weight_only_quant_matmul_plugin": null,
167
+ "smooth_quant_plugins": true,
168
+ "smooth_quant_gemm_plugin": null,
169
+ "layernorm_quantization_plugin": null,
170
+ "rmsnorm_quantization_plugin": null,
171
+ "quantize_per_token_plugin": false,
172
+ "quantize_tensor_plugin": false,
173
+ "moe_plugin": "auto",
174
+ "mamba_conv1d_plugin": "auto",
175
+ "low_latency_gemm_plugin": null,
176
+ "low_latency_gemm_swiglu_plugin": null,
177
+ "gemm_allreduce_plugin": null,
178
+ "context_fmha": true,
179
+ "bert_context_fmha_fp32_acc": false,
180
+ "paged_kv_cache": true,
181
+ "remove_input_padding": true,
182
+ "norm_quant_fusion": false,
183
+ "reduce_fusion": false,
184
+ "user_buffer": false,
185
+ "tokens_per_block": 32,
186
+ "use_paged_context_fmha": true,
187
+ "use_fp8_context_fmha": false,
188
+ "fuse_fp4_quant": false,
189
+ "multiple_profiles": false,
190
+ "paged_state": false,
191
+ "streamingllm": false,
192
+ "manage_weights": false,
193
+ "use_fused_mlp": true,
194
+ "pp_reduce_scatter": false
195
+ },
196
+ "use_strip_plan": false,
197
+ "max_encoder_input_len": 1024,
198
+ "monitor_memory": false,
199
+ "use_mrope": false
200
+ }
201
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149c6b509ffc027e2f4995fbb9132aefb2864dddce632e5a6dcfd8648eadab11
3
+ size 1297641900