HarryCTS commited on
Commit
dbccbc5
·
verified ·
1 Parent(s): 4343ece

Upload folder using huggingface_hub

Browse files
.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
+ decoder/rank0.engine filter=lfs diff=lfs merge=lfs -text
37
+ encoder/rank0.engine filter=lfs diff=lfs merge=lfs -text
decoder/config.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.13.0",
3
+ "pretrained_config": {
4
+ "architecture": "DecoderModel",
5
+ "dtype": "float16",
6
+ "vocab_size": 51865,
7
+ "hidden_size": 1024,
8
+ "num_hidden_layers": 24,
9
+ "num_attention_heads": 16,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float16",
12
+ "norm_epsilon": 1e-05,
13
+ "position_embedding_type": "learned_absolute",
14
+ "max_position_embeddings": 448,
15
+ "num_key_value_heads": 16,
16
+ "intermediate_size": 4096,
17
+ "mapping": {
18
+ "world_size": 1,
19
+ "gpus_per_node": 8,
20
+ "cp_size": 1,
21
+ "tp_size": 1,
22
+ "pp_size": 1,
23
+ "moe_tp_size": 1,
24
+ "moe_ep_size": 1
25
+ },
26
+ "quantization": {
27
+ "quant_algo": "W8A16",
28
+ "kv_cache_quant_algo": null,
29
+ "group_size": 128,
30
+ "smoothquant_val": 0.5,
31
+ "clamp_val": null,
32
+ "has_zero_point": false,
33
+ "pre_quant_scale": false,
34
+ "exclude_modules": null
35
+ },
36
+ "use_parallel_embedding": false,
37
+ "embedding_sharding_dim": 0,
38
+ "share_embedding_table": false,
39
+ "head_size": 64,
40
+ "qk_layernorm": false,
41
+ "use_prompt_tuning": false,
42
+ "has_position_embedding": true,
43
+ "layernorm_type": 0,
44
+ "has_attention_qkvo_bias": true,
45
+ "has_mlp_bias": true,
46
+ "has_model_final_layernorm": true,
47
+ "has_embedding_layernorm": false,
48
+ "has_embedding_scale": false,
49
+ "ffn_hidden_size": 4096,
50
+ "q_scaling": 1.0,
51
+ "layernorm_position": 0,
52
+ "relative_attention": false,
53
+ "max_distance": 0,
54
+ "num_buckets": 0,
55
+ "model_type": "whisper",
56
+ "rescale_before_lm_head": false,
57
+ "encoder_hidden_size": 1024,
58
+ "encoder_num_heads": 16,
59
+ "encoder_head_size": null,
60
+ "skip_cross_qkv": false,
61
+ "type_vocab_size": null,
62
+ "encoder_num_kv_heads": null,
63
+ "mlp_type": 0,
64
+ "residual_scaling": 1.0,
65
+ "has_lm_head_bias": false
66
+ },
67
+ "build_config": {
68
+ "max_input_len": 100,
69
+ "max_seq_len": 460,
70
+ "opt_batch_size": null,
71
+ "max_batch_size": 16,
72
+ "max_beam_width": 1,
73
+ "max_num_tokens": 4096,
74
+ "opt_num_tokens": 16,
75
+ "max_prompt_embedding_table_size": 0,
76
+ "kv_cache_type": "PAGED",
77
+ "gather_context_logits": false,
78
+ "gather_generation_logits": true,
79
+ "strongly_typed": true,
80
+ "builder_opt": null,
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": "L4",
100
+ "cluster_info": null,
101
+ "sharding_cost_model": "alpha_beta",
102
+ "comm_cost_model": "alpha_beta",
103
+ "enable_pipeline_parallelism": false,
104
+ "enable_shard_unbalanced_shape": false,
105
+ "enable_shard_dynamic_shape": false,
106
+ "enable_reduce_scatter": true,
107
+ "builder_flags": null,
108
+ "debug_mode": false,
109
+ "infer_shape": true,
110
+ "validation_mode": false,
111
+ "same_buffer_io": {
112
+ "past_key_value_(\\d+)": "present_key_value_\\1"
113
+ },
114
+ "same_spec_io": {},
115
+ "sharded_io_allowlist": [
116
+ "past_key_value_\\d+",
117
+ "present_key_value_\\d*"
118
+ ],
119
+ "fill_weights": false,
120
+ "parallel_config_cache": null,
121
+ "profile_cache": null,
122
+ "dump_path": null,
123
+ "debug_outputs": []
124
+ },
125
+ "weight_sparsity": false,
126
+ "weight_streaming": false,
127
+ "plugin_config": {
128
+ "dtype": "float16",
129
+ "bert_attention_plugin": "float16",
130
+ "gpt_attention_plugin": "float16",
131
+ "gemm_plugin": "float16",
132
+ "gemm_swiglu_plugin": null,
133
+ "fp8_rowwise_gemm_plugin": null,
134
+ "smooth_quant_gemm_plugin": null,
135
+ "identity_plugin": null,
136
+ "layernorm_quantization_plugin": null,
137
+ "rmsnorm_quantization_plugin": null,
138
+ "nccl_plugin": null,
139
+ "lookup_plugin": null,
140
+ "lora_plugin": null,
141
+ "weight_only_groupwise_quant_matmul_plugin": null,
142
+ "weight_only_quant_matmul_plugin": "float16",
143
+ "quantize_per_token_plugin": false,
144
+ "quantize_tensor_plugin": false,
145
+ "moe_plugin": null,
146
+ "mamba_conv1d_plugin": "auto",
147
+ "low_latency_gemm_plugin": null,
148
+ "context_fmha": true,
149
+ "bert_context_fmha_fp32_acc": false,
150
+ "paged_kv_cache": true,
151
+ "remove_input_padding": true,
152
+ "reduce_fusion": false,
153
+ "enable_xqa": false,
154
+ "tokens_per_block": 64,
155
+ "use_paged_context_fmha": false,
156
+ "use_fp8_context_fmha": false,
157
+ "multiple_profiles": false,
158
+ "paged_state": false,
159
+ "streamingllm": false,
160
+ "manage_weights": false,
161
+ "use_fused_mlp": true
162
+ },
163
+ "use_strip_plan": false,
164
+ "max_encoder_input_len": 1500,
165
+ "use_fused_mlp": false
166
+ }
167
+ }
decoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fc5d2250e664f3fec09a96a35cd484e2df0a3ef2b1e5a21af6514785f7c144
3
+ size 624817620
encoder/config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.13.0",
3
+ "pretrained_config": {
4
+ "architecture": "WhisperEncoder",
5
+ "dtype": "float16",
6
+ "vocab_size": 51865,
7
+ "hidden_size": 1024,
8
+ "num_hidden_layers": 24,
9
+ "num_attention_heads": 16,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float32",
12
+ "norm_epsilon": 1e-05,
13
+ "position_embedding_type": "learned_absolute",
14
+ "max_position_embeddings": null,
15
+ "num_key_value_heads": 16,
16
+ "intermediate_size": 4096,
17
+ "mapping": {
18
+ "world_size": 1,
19
+ "gpus_per_node": 8,
20
+ "cp_size": 1,
21
+ "tp_size": 1,
22
+ "pp_size": 1,
23
+ "moe_tp_size": 1,
24
+ "moe_ep_size": 1
25
+ },
26
+ "quantization": {
27
+ "quant_algo": "W8A16",
28
+ "kv_cache_quant_algo": null,
29
+ "group_size": 128,
30
+ "smoothquant_val": 0.5,
31
+ "clamp_val": null,
32
+ "has_zero_point": false,
33
+ "pre_quant_scale": false,
34
+ "exclude_modules": null
35
+ },
36
+ "use_parallel_embedding": false,
37
+ "embedding_sharding_dim": 0,
38
+ "share_embedding_table": false,
39
+ "head_size": 64,
40
+ "qk_layernorm": false,
41
+ "n_mels": 80,
42
+ "n_audio_ctx": 1500,
43
+ "num_languages": 99
44
+ },
45
+ "build_config": {
46
+ "max_input_len": 1024,
47
+ "max_seq_len": 2048,
48
+ "opt_batch_size": null,
49
+ "max_batch_size": 16,
50
+ "max_beam_width": 1,
51
+ "max_num_tokens": 4096,
52
+ "opt_num_tokens": 16,
53
+ "max_prompt_embedding_table_size": 0,
54
+ "kv_cache_type": "PAGED",
55
+ "gather_context_logits": false,
56
+ "gather_generation_logits": false,
57
+ "strongly_typed": true,
58
+ "builder_opt": null,
59
+ "force_num_profiles": null,
60
+ "profiling_verbosity": "layer_names_only",
61
+ "enable_debug_output": false,
62
+ "max_draft_len": 0,
63
+ "speculative_decoding_mode": 1,
64
+ "use_refit": false,
65
+ "input_timing_cache": null,
66
+ "output_timing_cache": "model.cache",
67
+ "lora_config": {
68
+ "lora_dir": [],
69
+ "lora_ckpt_source": "hf",
70
+ "max_lora_rank": 64,
71
+ "lora_target_modules": [],
72
+ "trtllm_modules_to_hf_modules": {}
73
+ },
74
+ "auto_parallel_config": {
75
+ "world_size": 1,
76
+ "gpus_per_node": 8,
77
+ "cluster_key": "L4",
78
+ "cluster_info": null,
79
+ "sharding_cost_model": "alpha_beta",
80
+ "comm_cost_model": "alpha_beta",
81
+ "enable_pipeline_parallelism": false,
82
+ "enable_shard_unbalanced_shape": false,
83
+ "enable_shard_dynamic_shape": false,
84
+ "enable_reduce_scatter": true,
85
+ "builder_flags": null,
86
+ "debug_mode": false,
87
+ "infer_shape": true,
88
+ "validation_mode": false,
89
+ "same_buffer_io": {
90
+ "past_key_value_(\\d+)": "present_key_value_\\1"
91
+ },
92
+ "same_spec_io": {},
93
+ "sharded_io_allowlist": [
94
+ "past_key_value_\\d+",
95
+ "present_key_value_\\d*"
96
+ ],
97
+ "fill_weights": false,
98
+ "parallel_config_cache": null,
99
+ "profile_cache": null,
100
+ "dump_path": null,
101
+ "debug_outputs": []
102
+ },
103
+ "weight_sparsity": false,
104
+ "weight_streaming": false,
105
+ "plugin_config": {
106
+ "dtype": "float16",
107
+ "bert_attention_plugin": "float16",
108
+ "gpt_attention_plugin": "auto",
109
+ "gemm_plugin": null,
110
+ "gemm_swiglu_plugin": null,
111
+ "fp8_rowwise_gemm_plugin": null,
112
+ "smooth_quant_gemm_plugin": null,
113
+ "identity_plugin": null,
114
+ "layernorm_quantization_plugin": null,
115
+ "rmsnorm_quantization_plugin": null,
116
+ "nccl_plugin": null,
117
+ "lookup_plugin": null,
118
+ "lora_plugin": null,
119
+ "weight_only_groupwise_quant_matmul_plugin": null,
120
+ "weight_only_quant_matmul_plugin": "float16",
121
+ "quantize_per_token_plugin": false,
122
+ "quantize_tensor_plugin": false,
123
+ "moe_plugin": null,
124
+ "mamba_conv1d_plugin": "auto",
125
+ "low_latency_gemm_plugin": null,
126
+ "context_fmha": true,
127
+ "bert_context_fmha_fp32_acc": false,
128
+ "paged_kv_cache": true,
129
+ "remove_input_padding": true,
130
+ "reduce_fusion": false,
131
+ "enable_xqa": false,
132
+ "tokens_per_block": 64,
133
+ "use_paged_context_fmha": false,
134
+ "use_fp8_context_fmha": false,
135
+ "multiple_profiles": false,
136
+ "paged_state": false,
137
+ "streamingllm": false,
138
+ "manage_weights": false,
139
+ "use_fused_mlp": true
140
+ },
141
+ "use_strip_plan": false,
142
+ "max_encoder_input_len": 1024,
143
+ "use_fused_mlp": false
144
+ }
145
+ }
encoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:667136f2e09b951d8b2802b0c63416b572a0b6e516a2b32212640732fe3102bf
3
+ size 317600084
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff