pankajroark commited on
Commit
538344f
·
verified ·
1 Parent(s): a3317aa

Upload folder using huggingface_hub

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