pankajroark commited on
Commit
d1d9d4e
·
verified ·
1 Parent(s): 36333a0

Upload folder using huggingface_hub

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