Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- decoder.engine +3 -0
- decoder_config.json +51 -0
- encoder.engine +3 -0
- encoder_config.json +44 -0
- tokenizer.json +0 -0
- trt_build_args.json +1 -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 |
+
decoder.engine filter=lfs diff=lfs merge=lfs -text
|
37 |
+
encoder.engine filter=lfs diff=lfs merge=lfs -text
|
decoder.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e5b4e685f8c1384b006a49e4ca55c2c1c2ebe1d89df58fe39f3c29d5e9e2af7
|
3 |
+
size 1954761284
|
decoder_config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_config": {
|
3 |
+
"apply_query_key_layer_scaling": false,
|
4 |
+
"cross_attention": true,
|
5 |
+
"has_position_embedding": true,
|
6 |
+
"has_token_type_embedding": false,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_size": 1280,
|
9 |
+
"int8": false,
|
10 |
+
"max_batch_size": 24,
|
11 |
+
"max_input_len": 4,
|
12 |
+
"max_output_len": 448,
|
13 |
+
"max_position_embeddings": 448,
|
14 |
+
"name": "decoder",
|
15 |
+
"num_heads": 20,
|
16 |
+
"num_layers": 32,
|
17 |
+
"precision": "float16",
|
18 |
+
"tensor_parallel": 1,
|
19 |
+
"use_refit": false,
|
20 |
+
"vocab_size": 51865
|
21 |
+
},
|
22 |
+
"plugin_config": {
|
23 |
+
"attention_qk_half_accumulation": false,
|
24 |
+
"bert_attention_plugin": null,
|
25 |
+
"context_fmha_type": 0,
|
26 |
+
"enable_xqa": false,
|
27 |
+
"gemm_plugin": "float16",
|
28 |
+
"gpt_attention_plugin": "float16",
|
29 |
+
"identity_plugin": null,
|
30 |
+
"layernorm_plugin": null,
|
31 |
+
"layernorm_quantization_plugin": null,
|
32 |
+
"lookup_plugin": null,
|
33 |
+
"lora_plugin": null,
|
34 |
+
"multi_block_mode": false,
|
35 |
+
"nccl_plugin": null,
|
36 |
+
"paged_kv_cache": false,
|
37 |
+
"quantize_per_token_plugin": false,
|
38 |
+
"quantize_tensor_plugin": false,
|
39 |
+
"remove_input_padding": false,
|
40 |
+
"rmsnorm_plugin": null,
|
41 |
+
"rmsnorm_quantization_plugin": null,
|
42 |
+
"selective_scan_plugin": false,
|
43 |
+
"smooth_quant_gemm_plugin": null,
|
44 |
+
"tokens_per_block": 0,
|
45 |
+
"use_context_fmha_for_generation": false,
|
46 |
+
"use_custom_all_reduce": false,
|
47 |
+
"use_paged_context_fmha": false,
|
48 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
49 |
+
"weight_only_quant_matmul_plugin": null
|
50 |
+
}
|
51 |
+
}
|
encoder.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cabf1f4e8250a710d3b3e0d26be0417024c66a3926c8fe07e24f45734a6cc524
|
3 |
+
size 1282452900
|
encoder_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_config": {
|
3 |
+
"hidden_size": 1280,
|
4 |
+
"int8": false,
|
5 |
+
"max_batch_size": 24,
|
6 |
+
"n_mels": 80,
|
7 |
+
"name": "encoder",
|
8 |
+
"num_heads": 20,
|
9 |
+
"num_languages": 99,
|
10 |
+
"num_layers": 32,
|
11 |
+
"precision": "float16",
|
12 |
+
"tensor_parallel": 1,
|
13 |
+
"use_refit": false
|
14 |
+
},
|
15 |
+
"plugin_config": {
|
16 |
+
"attention_qk_half_accumulation": false,
|
17 |
+
"bert_attention_plugin": null,
|
18 |
+
"context_fmha_type": 0,
|
19 |
+
"enable_xqa": false,
|
20 |
+
"gemm_plugin": "float16",
|
21 |
+
"gpt_attention_plugin": null,
|
22 |
+
"identity_plugin": null,
|
23 |
+
"layernorm_plugin": null,
|
24 |
+
"layernorm_quantization_plugin": null,
|
25 |
+
"lookup_plugin": null,
|
26 |
+
"lora_plugin": null,
|
27 |
+
"multi_block_mode": false,
|
28 |
+
"nccl_plugin": null,
|
29 |
+
"paged_kv_cache": false,
|
30 |
+
"quantize_per_token_plugin": false,
|
31 |
+
"quantize_tensor_plugin": false,
|
32 |
+
"remove_input_padding": false,
|
33 |
+
"rmsnorm_plugin": null,
|
34 |
+
"rmsnorm_quantization_plugin": null,
|
35 |
+
"selective_scan_plugin": false,
|
36 |
+
"smooth_quant_gemm_plugin": null,
|
37 |
+
"tokens_per_block": 0,
|
38 |
+
"use_context_fmha_for_generation": false,
|
39 |
+
"use_custom_all_reduce": false,
|
40 |
+
"use_paged_context_fmha": false,
|
41 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
42 |
+
"weight_only_quant_matmul_plugin": null
|
43 |
+
}
|
44 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
trt_build_args.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"max_batch_size": 24, "max_beam_width": 1, "max_input_len": 4, "max_output_len": 448, "world_size": 1, "dtype": "float16", "quantize_dir": "quantize/1-gpu", "use_gpt_attention_plugin": "float16", "use_bert_attention_plugin": null, "use_context_fmha_enc": false, "use_context_fmha_dec": false, "use_gemm_plugin": "float16", "use_layernorm_plugin": false, "remove_input_padding": false, "use_weight_only_enc": false, "use_weight_only_dec": false, "weight_only_precision": "int8", "int8_kv_cache": false, "debug_mode": false, "cuda_compute_capability": [9, 0], "output_dir": "/root/.cache/whisper_s2t/models/trt/large-v2/2afd60b3d1286616bdea7dc13d15e906", "model_path": "/root/.cache/whisper_s2t/models/trt/large-v2/pt_ckpt.pt"}
|