baseten-admin commited on
Commit
1dde492
·
verified ·
1 Parent(s): 3adee84

Engine build from baseten-whisper@b0e7e62615487eb9b5be6e0c58c18e5eaa2cf66f (trtllm 1.3.0rc20)

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,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.3.0rc20",
3
+ "pretrained_config": {
4
+ "architecture": "DecoderModel",
5
+ "dtype": "float16",
6
+ "vocab_size": 51865,
7
+ "hidden_size": 1280,
8
+ "num_hidden_layers": 32,
9
+ "num_attention_heads": 20,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float16",
12
+ "norm_epsilon": 1e-05,
13
+ "runtime_defaults": null,
14
+ "position_embedding_type": "learned_absolute",
15
+ "num_key_value_heads": 20,
16
+ "intermediate_size": 5120,
17
+ "max_position_embeddings": 448,
18
+ "mapping": {
19
+ "world_size": 1,
20
+ "gpus_per_node": 8,
21
+ "cp_size": 1,
22
+ "tp_size": 1,
23
+ "pp_size": 1,
24
+ "moe_tp_size": 1,
25
+ "moe_cluster_size": 1,
26
+ "moe_ep_size": 1,
27
+ "attn_tp_size": 1,
28
+ "attn_cp_size": 1,
29
+ "cp_config": {},
30
+ "enable_attention_dp": false,
31
+ "enable_lm_head_tp_in_adp": false,
32
+ "dwdp_size": 0,
33
+ "dwdp_rank": 0
34
+ },
35
+ "quantization": {
36
+ "quant_algo": "W8A16",
37
+ "kv_cache_quant_algo": null,
38
+ "group_size": 128,
39
+ "smoothquant_val": 0.5,
40
+ "clamp_val": null,
41
+ "use_meta_recipe": false,
42
+ "has_zero_point": false,
43
+ "pre_quant_scale": false,
44
+ "exclude_modules": null,
45
+ "mamba_ssm_cache_dtype": null,
46
+ "mamba_ssm_stochastic_rounding": false,
47
+ "mamba_ssm_philox_rounds": 10
48
+ },
49
+ "use_parallel_embedding": false,
50
+ "embedding_sharding_dim": 0,
51
+ "head_size": 64,
52
+ "qk_layernorm": false,
53
+ "rotary_embedding_dim": 64,
54
+ "use_prompt_tuning": false,
55
+ "has_position_embedding": true,
56
+ "layernorm_type": 0,
57
+ "has_attention_qkvo_bias": true,
58
+ "has_mlp_bias": true,
59
+ "has_model_final_layernorm": true,
60
+ "has_embedding_layernorm": false,
61
+ "has_embedding_scale": false,
62
+ "ffn_hidden_size": 5120,
63
+ "q_scaling": 1.0,
64
+ "layernorm_position": 0,
65
+ "relative_attention": false,
66
+ "max_distance": 0,
67
+ "num_buckets": 0,
68
+ "model_type": "whisper",
69
+ "rescale_before_lm_head": false,
70
+ "encoder_hidden_size": 1280,
71
+ "encoder_num_heads": 20,
72
+ "encoder_head_size": null,
73
+ "skip_cross_kv": false,
74
+ "type_vocab_size": null,
75
+ "encoder_num_kv_heads": null,
76
+ "mlp_type": 0,
77
+ "residual_scaling": 1.0,
78
+ "has_lm_head_bias": false
79
+ },
80
+ "build_config": {
81
+ "max_input_len": 100,
82
+ "max_seq_len": 400,
83
+ "opt_batch_size": 8,
84
+ "max_batch_size": 14,
85
+ "max_beam_width": 5,
86
+ "max_num_tokens": 5600,
87
+ "opt_num_tokens": 70,
88
+ "max_prompt_embedding_table_size": 0,
89
+ "kv_cache_type": "paged",
90
+ "gather_context_logits": false,
91
+ "gather_generation_logits": true,
92
+ "strongly_typed": true,
93
+ "force_num_profiles": null,
94
+ "profiling_verbosity": "layer_names_only",
95
+ "enable_debug_output": false,
96
+ "max_draft_len": 0,
97
+ "speculative_decoding_mode": 1,
98
+ "use_refit": false,
99
+ "input_timing_cache": null,
100
+ "output_timing_cache": "model.cache",
101
+ "lora_config": {
102
+ "lora_dir": [],
103
+ "lora_ckpt_source": "hf",
104
+ "max_lora_rank": 64,
105
+ "lora_target_modules": [],
106
+ "trtllm_modules_to_hf_modules": {},
107
+ "max_loras": null,
108
+ "max_cpu_loras": null,
109
+ "swap_gate_up_proj_lora_b_weight": true
110
+ },
111
+ "weight_sparsity": false,
112
+ "weight_streaming": false,
113
+ "plugin_config": {
114
+ "dtype": "float16",
115
+ "bert_attention_plugin": "float16",
116
+ "gpt_attention_plugin": "float16",
117
+ "gemm_plugin": "float16",
118
+ "gemm_swiglu_plugin": null,
119
+ "fp8_rowwise_gemm_plugin": null,
120
+ "qserve_gemm_plugin": null,
121
+ "identity_plugin": null,
122
+ "nccl_plugin": null,
123
+ "lora_plugin": null,
124
+ "dora_plugin": false,
125
+ "weight_only_groupwise_quant_matmul_plugin": null,
126
+ "weight_only_quant_matmul_plugin": "float16",
127
+ "smooth_quant_plugins": true,
128
+ "smooth_quant_gemm_plugin": null,
129
+ "layernorm_quantization_plugin": null,
130
+ "rmsnorm_quantization_plugin": null,
131
+ "quantize_per_token_plugin": false,
132
+ "quantize_tensor_plugin": false,
133
+ "moe_plugin": null,
134
+ "mamba_conv1d_plugin": "auto",
135
+ "low_latency_gemm_plugin": null,
136
+ "low_latency_gemm_swiglu_plugin": null,
137
+ "gemm_allreduce_plugin": null,
138
+ "context_fmha": true,
139
+ "bert_context_fmha_fp32_acc": false,
140
+ "paged_kv_cache": true,
141
+ "remove_input_padding": true,
142
+ "norm_quant_fusion": false,
143
+ "reduce_fusion": false,
144
+ "user_buffer": false,
145
+ "tokens_per_block": 32,
146
+ "use_paged_context_fmha": true,
147
+ "use_fp8_context_fmha": false,
148
+ "fuse_fp4_quant": false,
149
+ "multiple_profiles": false,
150
+ "paged_state": false,
151
+ "streamingllm": false,
152
+ "manage_weights": false,
153
+ "use_fused_mlp": true,
154
+ "pp_reduce_scatter": false
155
+ },
156
+ "use_strip_plan": false,
157
+ "max_encoder_input_len": 3000,
158
+ "monitor_memory": false,
159
+ "use_mrope": false
160
+ }
161
+ }
decoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:059c58a33ad25b8e61c42d70a92033b808ac166bc3a18b13401a440c0fdc3648
3
+ size 1119764772
encoder/config.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.3.0rc20",
3
+ "pretrained_config": {
4
+ "architecture": "WhisperEncoder",
5
+ "dtype": "float16",
6
+ "vocab_size": 51865,
7
+ "hidden_size": 1280,
8
+ "num_hidden_layers": 32,
9
+ "num_attention_heads": 20,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float32",
12
+ "norm_epsilon": 1e-05,
13
+ "runtime_defaults": null,
14
+ "position_embedding_type": "learned_absolute",
15
+ "num_key_value_heads": 20,
16
+ "intermediate_size": 5120,
17
+ "max_position_embeddings": 1500,
18
+ "mapping": {
19
+ "world_size": 1,
20
+ "gpus_per_node": 8,
21
+ "cp_size": 1,
22
+ "tp_size": 1,
23
+ "pp_size": 1,
24
+ "moe_tp_size": 1,
25
+ "moe_cluster_size": 1,
26
+ "moe_ep_size": 1,
27
+ "attn_tp_size": 1,
28
+ "attn_cp_size": 1,
29
+ "cp_config": {},
30
+ "enable_attention_dp": false,
31
+ "enable_lm_head_tp_in_adp": false,
32
+ "dwdp_size": 0,
33
+ "dwdp_rank": 0
34
+ },
35
+ "quantization": {
36
+ "quant_algo": "W8A16",
37
+ "kv_cache_quant_algo": null,
38
+ "group_size": 128,
39
+ "smoothquant_val": 0.5,
40
+ "clamp_val": null,
41
+ "use_meta_recipe": false,
42
+ "has_zero_point": false,
43
+ "pre_quant_scale": false,
44
+ "exclude_modules": null,
45
+ "mamba_ssm_cache_dtype": null,
46
+ "mamba_ssm_stochastic_rounding": false,
47
+ "mamba_ssm_philox_rounds": 10
48
+ },
49
+ "use_parallel_embedding": false,
50
+ "embedding_sharding_dim": 0,
51
+ "head_size": 64,
52
+ "qk_layernorm": false,
53
+ "rotary_embedding_dim": 64,
54
+ "has_position_embedding": true,
55
+ "n_mels": 80,
56
+ "num_languages": 99
57
+ },
58
+ "build_config": {
59
+ "max_input_len": 3000,
60
+ "max_seq_len": 3000,
61
+ "opt_batch_size": 8,
62
+ "max_batch_size": 14,
63
+ "max_beam_width": 1,
64
+ "max_num_tokens": 8192,
65
+ "opt_num_tokens": 14,
66
+ "max_prompt_embedding_table_size": 0,
67
+ "kv_cache_type": "paged",
68
+ "gather_context_logits": false,
69
+ "gather_generation_logits": false,
70
+ "strongly_typed": true,
71
+ "force_num_profiles": null,
72
+ "profiling_verbosity": "layer_names_only",
73
+ "enable_debug_output": false,
74
+ "max_draft_len": 0,
75
+ "speculative_decoding_mode": 1,
76
+ "use_refit": false,
77
+ "input_timing_cache": null,
78
+ "output_timing_cache": "model.cache",
79
+ "lora_config": {
80
+ "lora_dir": [],
81
+ "lora_ckpt_source": "hf",
82
+ "max_lora_rank": 64,
83
+ "lora_target_modules": [],
84
+ "trtllm_modules_to_hf_modules": {},
85
+ "max_loras": null,
86
+ "max_cpu_loras": null,
87
+ "swap_gate_up_proj_lora_b_weight": true
88
+ },
89
+ "weight_sparsity": false,
90
+ "weight_streaming": false,
91
+ "plugin_config": {
92
+ "dtype": "float16",
93
+ "bert_attention_plugin": "float16",
94
+ "gpt_attention_plugin": "auto",
95
+ "gemm_plugin": null,
96
+ "gemm_swiglu_plugin": null,
97
+ "fp8_rowwise_gemm_plugin": null,
98
+ "qserve_gemm_plugin": null,
99
+ "identity_plugin": null,
100
+ "nccl_plugin": null,
101
+ "lora_plugin": null,
102
+ "dora_plugin": false,
103
+ "weight_only_groupwise_quant_matmul_plugin": null,
104
+ "weight_only_quant_matmul_plugin": "float16",
105
+ "smooth_quant_plugins": true,
106
+ "smooth_quant_gemm_plugin": null,
107
+ "layernorm_quantization_plugin": null,
108
+ "rmsnorm_quantization_plugin": null,
109
+ "quantize_per_token_plugin": false,
110
+ "quantize_tensor_plugin": false,
111
+ "moe_plugin": null,
112
+ "mamba_conv1d_plugin": "auto",
113
+ "low_latency_gemm_plugin": null,
114
+ "low_latency_gemm_swiglu_plugin": null,
115
+ "gemm_allreduce_plugin": null,
116
+ "context_fmha": true,
117
+ "bert_context_fmha_fp32_acc": false,
118
+ "paged_kv_cache": true,
119
+ "remove_input_padding": true,
120
+ "norm_quant_fusion": false,
121
+ "reduce_fusion": false,
122
+ "user_buffer": false,
123
+ "tokens_per_block": 32,
124
+ "use_paged_context_fmha": true,
125
+ "use_fp8_context_fmha": false,
126
+ "fuse_fp4_quant": false,
127
+ "multiple_profiles": false,
128
+ "paged_state": false,
129
+ "streamingllm": false,
130
+ "manage_weights": false,
131
+ "use_fused_mlp": true,
132
+ "pp_reduce_scatter": false
133
+ },
134
+ "use_strip_plan": false,
135
+ "max_encoder_input_len": 1024,
136
+ "monitor_memory": false,
137
+ "use_mrope": false
138
+ }
139
+ }
encoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eca45cdd5afae848e0c38caf0a0aeacfcbd316ae63214c8ea07ff2a4f8bba29d
3
+ size 656750748
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff