bolasim commited on
Commit
4a9a3d9
1 Parent(s): 4803239

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,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.12.0.dev2024071600",
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
+ "tp_size": 1,
21
+ "pp_size": 1,
22
+ "moe_tp_size": 1,
23
+ "moe_ep_size": 1
24
+ },
25
+ "quantization": {
26
+ "quant_algo": null,
27
+ "kv_cache_quant_algo": null,
28
+ "group_size": 128,
29
+ "smoothquant_val": null,
30
+ "has_zero_point": false,
31
+ "pre_quant_scale": false,
32
+ "exclude_modules": null
33
+ },
34
+ "use_parallel_embedding": false,
35
+ "embedding_sharding_dim": 0,
36
+ "share_embedding_table": false,
37
+ "head_size": 64,
38
+ "qk_layernorm": false,
39
+ "use_prompt_tuning": false,
40
+ "has_position_embedding": true,
41
+ "layernorm_type": 0,
42
+ "has_attention_qkvo_bias": true,
43
+ "has_mlp_bias": true,
44
+ "has_model_final_layernorm": true,
45
+ "has_embedding_layernorm": false,
46
+ "has_embedding_scale": false,
47
+ "ffn_hidden_size": 4096,
48
+ "q_scaling": 1.0,
49
+ "layernorm_position": 0,
50
+ "relative_attention": false,
51
+ "max_distance": 0,
52
+ "num_buckets": 0,
53
+ "model_type": "whisper",
54
+ "rescale_before_lm_head": false,
55
+ "encoder_hidden_size": 1024,
56
+ "encoder_num_heads": 16,
57
+ "encoder_head_size": null,
58
+ "skip_cross_qkv": false,
59
+ "type_vocab_size": null,
60
+ "encoder_num_kv_heads": null,
61
+ "mlp_type": 0,
62
+ "residual_scaling": 1.0,
63
+ "has_lm_head_bias": false
64
+ },
65
+ "build_config": {
66
+ "max_input_len": 256,
67
+ "max_seq_len": 1000,
68
+ "opt_batch_size": null,
69
+ "max_batch_size": 8,
70
+ "max_beam_width": 5,
71
+ "max_num_tokens": 8000,
72
+ "opt_num_tokens": null,
73
+ "max_prompt_embedding_table_size": 0,
74
+ "gather_context_logits": false,
75
+ "gather_generation_logits": false,
76
+ "strongly_typed": true,
77
+ "builder_opt": null,
78
+ "force_num_profiles": null,
79
+ "profiling_verbosity": "layer_names_only",
80
+ "enable_debug_output": false,
81
+ "max_draft_len": 0,
82
+ "speculative_decoding_mode": 1,
83
+ "use_refit": false,
84
+ "input_timing_cache": null,
85
+ "output_timing_cache": "model.cache",
86
+ "lora_config": {
87
+ "lora_dir": [],
88
+ "lora_ckpt_source": "hf",
89
+ "max_lora_rank": 64,
90
+ "lora_target_modules": [],
91
+ "trtllm_modules_to_hf_modules": {}
92
+ },
93
+ "auto_parallel_config": {
94
+ "world_size": 1,
95
+ "gpus_per_node": 8,
96
+ "cluster_key": "A100-SXM-80GB",
97
+ "cluster_info": null,
98
+ "sharding_cost_model": "alpha_beta",
99
+ "comm_cost_model": "alpha_beta",
100
+ "enable_pipeline_parallelism": false,
101
+ "enable_shard_unbalanced_shape": false,
102
+ "enable_shard_dynamic_shape": false,
103
+ "enable_reduce_scatter": true,
104
+ "builder_flags": null,
105
+ "debug_mode": false,
106
+ "infer_shape": true,
107
+ "validation_mode": false,
108
+ "same_buffer_io": {
109
+ "past_key_value_(\\d+)": "present_key_value_\\1"
110
+ },
111
+ "same_spec_io": {},
112
+ "sharded_io_allowlist": [
113
+ "past_key_value_\\d+",
114
+ "present_key_value_\\d*"
115
+ ],
116
+ "fill_weights": false,
117
+ "parallel_config_cache": null,
118
+ "profile_cache": null,
119
+ "dump_path": null,
120
+ "debug_outputs": []
121
+ },
122
+ "weight_sparsity": false,
123
+ "weight_streaming": false,
124
+ "plugin_config": {
125
+ "dtype": "float16",
126
+ "bert_attention_plugin": "float16",
127
+ "gpt_attention_plugin": "float16",
128
+ "gemm_plugin": "float16",
129
+ "gemm_swiglu_plugin": null,
130
+ "smooth_quant_gemm_plugin": null,
131
+ "identity_plugin": null,
132
+ "layernorm_quantization_plugin": null,
133
+ "rmsnorm_quantization_plugin": null,
134
+ "nccl_plugin": null,
135
+ "lookup_plugin": null,
136
+ "lora_plugin": null,
137
+ "weight_only_groupwise_quant_matmul_plugin": null,
138
+ "weight_only_quant_matmul_plugin": null,
139
+ "quantize_per_token_plugin": false,
140
+ "quantize_tensor_plugin": false,
141
+ "moe_plugin": null,
142
+ "mamba_conv1d_plugin": "auto",
143
+ "context_fmha": true,
144
+ "context_fmha_fp32_acc": false,
145
+ "paged_kv_cache": false,
146
+ "remove_input_padding": false,
147
+ "use_custom_all_reduce": false,
148
+ "reduce_fusion": false,
149
+ "multi_block_mode": false,
150
+ "enable_xqa": false,
151
+ "tokens_per_block": 64,
152
+ "use_paged_context_fmha": false,
153
+ "use_fp8_context_fmha": false,
154
+ "multiple_profiles": false,
155
+ "paged_state": true,
156
+ "streamingllm": false
157
+ },
158
+ "use_strip_plan": false,
159
+ "max_encoder_input_len": 1500,
160
+ "use_fused_mlp": false
161
+ }
162
+ }
decoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce510bcdee23609787e492a7bfd6162aa5ba4e04acee2ce552e0d1837d8b605f
3
+ size 1028387332
encoder/config.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.12.0.dev2024071600",
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
+ "tp_size": 1,
21
+ "pp_size": 1,
22
+ "moe_tp_size": 1,
23
+ "moe_ep_size": 1
24
+ },
25
+ "quantization": {
26
+ "quant_algo": null,
27
+ "kv_cache_quant_algo": null,
28
+ "group_size": 128,
29
+ "smoothquant_val": null,
30
+ "has_zero_point": false,
31
+ "pre_quant_scale": false,
32
+ "exclude_modules": null
33
+ },
34
+ "use_parallel_embedding": false,
35
+ "embedding_sharding_dim": 0,
36
+ "share_embedding_table": false,
37
+ "head_size": 64,
38
+ "qk_layernorm": false,
39
+ "n_mels": 80,
40
+ "n_audio_ctx": 1500,
41
+ "num_languages": 99
42
+ },
43
+ "build_config": {
44
+ "max_input_len": 1500,
45
+ "max_seq_len": 2048,
46
+ "opt_batch_size": null,
47
+ "max_batch_size": 8,
48
+ "max_beam_width": 1,
49
+ "max_num_tokens": 16384,
50
+ "opt_num_tokens": null,
51
+ "max_prompt_embedding_table_size": 0,
52
+ "gather_context_logits": false,
53
+ "gather_generation_logits": false,
54
+ "strongly_typed": true,
55
+ "builder_opt": null,
56
+ "force_num_profiles": null,
57
+ "profiling_verbosity": "layer_names_only",
58
+ "enable_debug_output": false,
59
+ "max_draft_len": 0,
60
+ "speculative_decoding_mode": 1,
61
+ "use_refit": false,
62
+ "input_timing_cache": null,
63
+ "output_timing_cache": "model.cache",
64
+ "lora_config": {
65
+ "lora_dir": [],
66
+ "lora_ckpt_source": "hf",
67
+ "max_lora_rank": 64,
68
+ "lora_target_modules": [],
69
+ "trtllm_modules_to_hf_modules": {}
70
+ },
71
+ "auto_parallel_config": {
72
+ "world_size": 1,
73
+ "gpus_per_node": 8,
74
+ "cluster_key": "A100-SXM-80GB",
75
+ "cluster_info": null,
76
+ "sharding_cost_model": "alpha_beta",
77
+ "comm_cost_model": "alpha_beta",
78
+ "enable_pipeline_parallelism": false,
79
+ "enable_shard_unbalanced_shape": false,
80
+ "enable_shard_dynamic_shape": false,
81
+ "enable_reduce_scatter": true,
82
+ "builder_flags": null,
83
+ "debug_mode": false,
84
+ "infer_shape": true,
85
+ "validation_mode": false,
86
+ "same_buffer_io": {
87
+ "past_key_value_(\\d+)": "present_key_value_\\1"
88
+ },
89
+ "same_spec_io": {},
90
+ "sharded_io_allowlist": [
91
+ "past_key_value_\\d+",
92
+ "present_key_value_\\d*"
93
+ ],
94
+ "fill_weights": false,
95
+ "parallel_config_cache": null,
96
+ "profile_cache": null,
97
+ "dump_path": null,
98
+ "debug_outputs": []
99
+ },
100
+ "weight_sparsity": false,
101
+ "weight_streaming": false,
102
+ "plugin_config": {
103
+ "dtype": "float16",
104
+ "bert_attention_plugin": "float16",
105
+ "gpt_attention_plugin": "auto",
106
+ "gemm_plugin": null,
107
+ "gemm_swiglu_plugin": null,
108
+ "smooth_quant_gemm_plugin": null,
109
+ "identity_plugin": null,
110
+ "layernorm_quantization_plugin": null,
111
+ "rmsnorm_quantization_plugin": null,
112
+ "nccl_plugin": null,
113
+ "lookup_plugin": null,
114
+ "lora_plugin": null,
115
+ "weight_only_groupwise_quant_matmul_plugin": null,
116
+ "weight_only_quant_matmul_plugin": null,
117
+ "quantize_per_token_plugin": false,
118
+ "quantize_tensor_plugin": false,
119
+ "moe_plugin": null,
120
+ "mamba_conv1d_plugin": "auto",
121
+ "context_fmha": true,
122
+ "context_fmha_fp32_acc": false,
123
+ "paged_kv_cache": false,
124
+ "remove_input_padding": false,
125
+ "use_custom_all_reduce": false,
126
+ "reduce_fusion": false,
127
+ "multi_block_mode": false,
128
+ "enable_xqa": false,
129
+ "tokens_per_block": 64,
130
+ "use_paged_context_fmha": false,
131
+ "use_fp8_context_fmha": false,
132
+ "multiple_profiles": false,
133
+ "paged_state": true,
134
+ "streamingllm": false
135
+ },
136
+ "use_strip_plan": false,
137
+ "max_encoder_input_len": 1024,
138
+ "use_fused_mlp": false
139
+ }
140
+ }
encoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49399106e1b8860bd629a071c50a25b844f000a88e84fa0f3e2c45e2aac3eaac
3
+ size 620959244