pankajroark commited on
Commit
02c6d27
·
verified ·
1 Parent(s): a6dbb23

Upload folder using huggingface_hub

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