Tianning commited on
Commit
3f46f3d
·
verified ·
1 Parent(s): 991e253

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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
+ trt_engines.b128/unimernet/1-gpu/bfloat16/decoder/rank0.engine filter=lfs diff=lfs merge=lfs -text
37
+ trt_engines.b128/vision_encoder/model.engine filter=lfs diff=lfs merge=lfs -text
38
+ trt_engines.b256/unimernet/1-gpu/bfloat16/decoder/rank0.engine filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VisionEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "",
7
+ "activation_dropout": 0.0,
8
+ "activation_function": "gelu",
9
+ "add_cross_attention": true,
10
+ "add_final_layer_norm": true,
11
+ "architectures": null,
12
+ "attention_dropout": 0.0,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": 0,
16
+ "chunk_size_feed_forward": 0,
17
+ "classifier_dropout": 0.0,
18
+ "cross_attention_hidden_size": null,
19
+ "d_model": 1024,
20
+ "decoder_attention_heads": 16,
21
+ "decoder_ffn_dim": 4096,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 8,
24
+ "decoder_start_token_id": null,
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "dropout": 0.1,
28
+ "early_stopping": false,
29
+ "encoder_attention_heads": 16,
30
+ "encoder_ffn_dim": 4096,
31
+ "encoder_layerdrop": 0.0,
32
+ "encoder_layers": 12,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": 2,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": 2,
39
+ "id2label": {
40
+ "0": "LABEL_0",
41
+ "1": "LABEL_1"
42
+ },
43
+ "init_std": 0.02,
44
+ "is_decoder": true,
45
+ "is_encoder_decoder": false,
46
+ "label2id": {
47
+ "LABEL_0": 0,
48
+ "LABEL_1": 1
49
+ },
50
+ "length_penalty": 1.0,
51
+ "max_length": 20,
52
+ "max_position_embeddings": 1536,
53
+ "min_length": 0,
54
+ "model_type": "mbart",
55
+ "no_repeat_ngram_size": 0,
56
+ "num_beam_groups": 1,
57
+ "num_beams": 1,
58
+ "num_hidden_layers": 12,
59
+ "num_return_sequences": 1,
60
+ "output_attentions": false,
61
+ "output_hidden_states": false,
62
+ "output_scores": false,
63
+ "pad_token_id": 1,
64
+ "prefix": null,
65
+ "problem_type": null,
66
+ "pruned_heads": {},
67
+ "remove_invalid_values": false,
68
+ "repetition_penalty": 1.0,
69
+ "return_dict": true,
70
+ "return_dict_in_generate": false,
71
+ "scale_embedding": true,
72
+ "sep_token_id": null,
73
+ "suppress_tokens": null,
74
+ "task_specific_params": null,
75
+ "temperature": 1.0,
76
+ "tf_legacy_loss": false,
77
+ "tie_encoder_decoder": false,
78
+ "tie_word_embeddings": false,
79
+ "tokenizer_class": null,
80
+ "top_k": 50,
81
+ "top_p": 1.0,
82
+ "torch_dtype": null,
83
+ "torchscript": false,
84
+ "typical_p": 1.0,
85
+ "use_bfloat16": false,
86
+ "use_cache": true,
87
+ "vocab_size": 50000
88
+ },
89
+ "decoder_start_token_id": 0,
90
+ "encoder": {
91
+ "_name_or_path": "",
92
+ "add_cross_attention": false,
93
+ "architectures": null,
94
+ "attention_probs_dropout_prob": 0.0,
95
+ "bad_words_ids": null,
96
+ "begin_suppress_tokens": null,
97
+ "bos_token_id": null,
98
+ "chunk_size_feed_forward": 0,
99
+ "cross_attention_hidden_size": null,
100
+ "decoder_start_token_id": null,
101
+ "depths": [
102
+ 2,
103
+ 2,
104
+ 14,
105
+ 2
106
+ ],
107
+ "diversity_penalty": 0.0,
108
+ "do_sample": false,
109
+ "drop_path_rate": 0.1,
110
+ "early_stopping": false,
111
+ "embed_dim": 128,
112
+ "encoder_no_repeat_ngram_size": 0,
113
+ "eos_token_id": null,
114
+ "exponential_decay_length_penalty": null,
115
+ "finetuning_task": null,
116
+ "forced_bos_token_id": null,
117
+ "forced_eos_token_id": null,
118
+ "hidden_act": "gelu",
119
+ "hidden_dropout_prob": 0.0,
120
+ "hidden_size": 1024,
121
+ "id2label": {
122
+ "0": "LABEL_0",
123
+ "1": "LABEL_1"
124
+ },
125
+ "image_size": [
126
+ 420,
127
+ 420
128
+ ],
129
+ "initializer_range": 0.02,
130
+ "is_decoder": false,
131
+ "is_encoder_decoder": false,
132
+ "label2id": {
133
+ "LABEL_0": 0,
134
+ "LABEL_1": 1
135
+ },
136
+ "layer_norm_eps": 1e-05,
137
+ "length_penalty": 1.0,
138
+ "max_length": 20,
139
+ "min_length": 0,
140
+ "mlp_ratio": 4.0,
141
+ "model_type": "donut-swin",
142
+ "no_repeat_ngram_size": 0,
143
+ "num_beam_groups": 1,
144
+ "num_beams": 1,
145
+ "num_channels": 3,
146
+ "num_heads": [
147
+ 4,
148
+ 8,
149
+ 16,
150
+ 32
151
+ ],
152
+ "num_layers": 4,
153
+ "num_return_sequences": 1,
154
+ "output_attentions": false,
155
+ "output_hidden_states": false,
156
+ "output_scores": false,
157
+ "pad_token_id": null,
158
+ "patch_size": 4,
159
+ "path_norm": true,
160
+ "prefix": null,
161
+ "problem_type": null,
162
+ "pruned_heads": {},
163
+ "qkv_bias": true,
164
+ "remove_invalid_values": false,
165
+ "repetition_penalty": 1.0,
166
+ "return_dict": true,
167
+ "return_dict_in_generate": false,
168
+ "sep_token_id": null,
169
+ "suppress_tokens": null,
170
+ "task_specific_params": null,
171
+ "temperature": 1.0,
172
+ "tf_legacy_loss": false,
173
+ "tie_encoder_decoder": false,
174
+ "tie_word_embeddings": true,
175
+ "tokenizer_class": null,
176
+ "top_k": 50,
177
+ "top_p": 1.0,
178
+ "torch_dtype": null,
179
+ "torchscript": false,
180
+ "typical_p": 1.0,
181
+ "use_2d_embeddings": false,
182
+ "use_absolute_embeddings": false,
183
+ "use_bfloat16": false,
184
+ "window_size": 5
185
+ },
186
+ "eos_token_id": 2,
187
+ "is_encoder_decoder": true,
188
+ "model_type": "vision-encoder-decoder",
189
+ "pad_token_id": 1,
190
+ "tie_word_embeddings": false,
191
+ "torch_dtype": "float32",
192
+ "transformers_version": "4.40.0"
193
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "4.40.0"
9
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_align_long_axis": false,
3
+ "do_normalize": false,
4
+ "do_pad": false,
5
+ "do_rescale": false,
6
+ "do_resize": false,
7
+ "do_thumbnail": false,
8
+ "feature_extractor_type": "DonutFeatureExtractor",
9
+ "image_mean": [
10
+ 0.485,
11
+ 0.456,
12
+ 0.406
13
+ ],
14
+ "image_processor_type": "VariableDonutImageProcessor",
15
+ "image_std": [
16
+ 0.229,
17
+ 0.224,
18
+ 0.225
19
+ ],
20
+ "max_size": {
21
+ "height": 192,
22
+ "width": 672
23
+ },
24
+ "patch_size": [
25
+ 4,
26
+ 4
27
+ ],
28
+ "processor_class": "VariableDonutProcessor",
29
+ "resample": 2,
30
+ "rescale_factor": 0.00392156862745098,
31
+ "size": [
32
+ 192,
33
+ 672
34
+ ],
35
+ "train": false
36
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:019ec971608d141cedb03934ac9849e8cd2e9be30dc481f0d63e41b7fcb1473c
3
+ size 1250082554
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[START_REF]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "[END_REF]",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "[IMAGE]",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "7": {
60
+ "content": "<fragments>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "8": {
68
+ "content": "</fragments>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "9": {
76
+ "content": "<work>",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "10": {
84
+ "content": "</work>",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "11": {
92
+ "content": "[START_SUP]",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "12": {
100
+ "content": "[END_SUP]",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "13": {
108
+ "content": "[START_SUB]",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": true
114
+ },
115
+ "14": {
116
+ "content": "[END_SUB]",
117
+ "lstrip": false,
118
+ "normalized": false,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": true
122
+ },
123
+ "15": {
124
+ "content": "[START_DNA]",
125
+ "lstrip": false,
126
+ "normalized": false,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": true
130
+ },
131
+ "16": {
132
+ "content": "[END_DNA]",
133
+ "lstrip": false,
134
+ "normalized": false,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": true
138
+ },
139
+ "17": {
140
+ "content": "[START_AMINO]",
141
+ "lstrip": false,
142
+ "normalized": false,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": true
146
+ },
147
+ "18": {
148
+ "content": "[END_AMINO]",
149
+ "lstrip": false,
150
+ "normalized": false,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": true
154
+ },
155
+ "19": {
156
+ "content": "[START_SMILES]",
157
+ "lstrip": false,
158
+ "normalized": false,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": true
162
+ },
163
+ "20": {
164
+ "content": "[END_SMILES]",
165
+ "lstrip": false,
166
+ "normalized": false,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": true
170
+ },
171
+ "21": {
172
+ "content": "[START_I_SMILES]",
173
+ "lstrip": false,
174
+ "normalized": false,
175
+ "rstrip": false,
176
+ "single_word": false,
177
+ "special": true
178
+ },
179
+ "22": {
180
+ "content": "[END_I_SMILES]",
181
+ "lstrip": false,
182
+ "normalized": false,
183
+ "rstrip": false,
184
+ "single_word": false,
185
+ "special": true
186
+ }
187
+ },
188
+ "additional_special_tokens": [],
189
+ "bos_token": "<s>",
190
+ "clean_up_tokenization_spaces": false,
191
+ "eos_token": "</s>",
192
+ "max_length": 4096,
193
+ "model_max_length": 768,
194
+ "pad_to_multiple_of": null,
195
+ "pad_token": "<pad>",
196
+ "pad_token_type_id": 0,
197
+ "padding_side": "right",
198
+ "processor_class": "VariableDonutProcessor",
199
+ "stride": 0,
200
+ "tokenizer_class": "NougatTokenizer",
201
+ "truncation_side": "right",
202
+ "truncation_strategy": "longest_first",
203
+ "unk_token": "<unk>",
204
+ "vocab_file": null
205
+ }
trt_engines.b128/unimernet/1-gpu/bfloat16/decoder/config.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.12.0",
3
+ "pretrained_config": {
4
+ "architecture": "DecoderModel",
5
+ "dtype": "bfloat16",
6
+ "vocab_size": 50000,
7
+ "hidden_size": 1024,
8
+ "num_hidden_layers": 8,
9
+ "num_attention_heads": 16,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float32",
12
+ "norm_epsilon": false,
13
+ "position_embedding_type": "learned_absolute",
14
+ "max_position_embeddings": 1536,
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": null,
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
+ "has_position_embedding": true,
42
+ "layernorm_type": 0,
43
+ "has_attention_qkvo_bias": true,
44
+ "has_mlp_bias": true,
45
+ "has_model_final_layernorm": true,
46
+ "has_embedding_layernorm": true,
47
+ "has_embedding_scale": true,
48
+ "q_scaling": 1.0,
49
+ "layernorm_position": 0,
50
+ "mlp_type": 0,
51
+ "relative_attention": false,
52
+ "max_distance": 0,
53
+ "num_buckets": 0,
54
+ "model_type": "bart",
55
+ "rescale_before_lm_head": false,
56
+ "encoder_hidden_size": 1024,
57
+ "encoder_num_heads": 16,
58
+ "encoder_head_size": 64,
59
+ "skip_cross_qkv": false,
60
+ "use_implicit_relative_attention": false,
61
+ "decoder_start_token_id": null,
62
+ "eos_token_id": 2,
63
+ "bos_token_id": 0,
64
+ "pad_token_id": 1,
65
+ "gated_act": false,
66
+ "type_vocab_size": null,
67
+ "encoder_num_kv_heads": null,
68
+ "residual_scaling": 1.0,
69
+ "has_lm_head_bias": false
70
+ },
71
+ "build_config": {
72
+ "max_input_len": 1,
73
+ "max_seq_len": 101,
74
+ "opt_batch_size": null,
75
+ "max_batch_size": 128,
76
+ "max_beam_width": 1,
77
+ "max_num_tokens": 8192,
78
+ "opt_num_tokens": 128,
79
+ "max_prompt_embedding_table_size": 0,
80
+ "gather_context_logits": false,
81
+ "gather_generation_logits": false,
82
+ "strongly_typed": true,
83
+ "builder_opt": null,
84
+ "force_num_profiles": null,
85
+ "profiling_verbosity": "layer_names_only",
86
+ "enable_debug_output": false,
87
+ "max_draft_len": 0,
88
+ "speculative_decoding_mode": 1,
89
+ "use_refit": false,
90
+ "input_timing_cache": null,
91
+ "output_timing_cache": "model.cache",
92
+ "lora_config": {
93
+ "lora_dir": [],
94
+ "lora_ckpt_source": "hf",
95
+ "max_lora_rank": 64,
96
+ "lora_target_modules": [],
97
+ "trtllm_modules_to_hf_modules": {}
98
+ },
99
+ "auto_parallel_config": {
100
+ "world_size": 1,
101
+ "gpus_per_node": 8,
102
+ "cluster_key": "A100-SXM-80GB",
103
+ "cluster_info": null,
104
+ "sharding_cost_model": "alpha_beta",
105
+ "comm_cost_model": "alpha_beta",
106
+ "enable_pipeline_parallelism": false,
107
+ "enable_shard_unbalanced_shape": false,
108
+ "enable_shard_dynamic_shape": false,
109
+ "enable_reduce_scatter": true,
110
+ "builder_flags": null,
111
+ "debug_mode": false,
112
+ "infer_shape": true,
113
+ "validation_mode": false,
114
+ "same_buffer_io": {
115
+ "past_key_value_(\\d+)": "present_key_value_\\1"
116
+ },
117
+ "same_spec_io": {},
118
+ "sharded_io_allowlist": [
119
+ "past_key_value_\\d+",
120
+ "present_key_value_\\d*"
121
+ ],
122
+ "fill_weights": false,
123
+ "parallel_config_cache": null,
124
+ "profile_cache": null,
125
+ "dump_path": null,
126
+ "debug_outputs": []
127
+ },
128
+ "weight_sparsity": false,
129
+ "weight_streaming": false,
130
+ "plugin_config": {
131
+ "dtype": "bfloat16",
132
+ "bert_attention_plugin": "bfloat16",
133
+ "gpt_attention_plugin": "bfloat16",
134
+ "gemm_plugin": "bfloat16",
135
+ "gemm_swiglu_plugin": null,
136
+ "fp8_rowwise_gemm_plugin": null,
137
+ "smooth_quant_gemm_plugin": null,
138
+ "identity_plugin": null,
139
+ "layernorm_quantization_plugin": null,
140
+ "rmsnorm_quantization_plugin": null,
141
+ "nccl_plugin": null,
142
+ "lookup_plugin": null,
143
+ "lora_plugin": null,
144
+ "weight_only_groupwise_quant_matmul_plugin": null,
145
+ "weight_only_quant_matmul_plugin": null,
146
+ "quantize_per_token_plugin": false,
147
+ "quantize_tensor_plugin": false,
148
+ "moe_plugin": null,
149
+ "mamba_conv1d_plugin": "auto",
150
+ "context_fmha": true,
151
+ "bert_context_fmha_fp32_acc": false,
152
+ "paged_kv_cache": false,
153
+ "remove_input_padding": true,
154
+ "reduce_fusion": false,
155
+ "enable_xqa": false,
156
+ "tokens_per_block": 64,
157
+ "use_paged_context_fmha": false,
158
+ "use_fp8_context_fmha": false,
159
+ "multiple_profiles": false,
160
+ "paged_state": true,
161
+ "streamingllm": false,
162
+ "manage_weights": false
163
+ },
164
+ "use_strip_plan": false,
165
+ "max_encoder_input_len": 588,
166
+ "use_fused_mlp": false
167
+ }
168
+ }
trt_engines.b128/unimernet/1-gpu/bfloat16/decoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e811e7cbed5b7ef98b7f8d396335c2364b678f76f35925c46cb6ac9c50602c6e
3
+ size 478817308
trt_engines.b128/vision_encoder/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_config": {
3
+ "force_num_profiles": null,
4
+ "int8": false,
5
+ "model_type": "nougat",
6
+ "precision": "float16",
7
+ "strongly_typed": false,
8
+ "tensor_parallel": 1,
9
+ "use_refit": false,
10
+ "use_strip_plan": false
11
+ }
12
+ }
trt_engines.b128/vision_encoder/model.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0cac0bde6aecfc15cb458ef9d23045a10d8248b3eff614dfba4878758a32ea4
3
+ size 159963300
trt_engines.b256/unimernet/1-gpu/bfloat16/decoder/config.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.12.0",
3
+ "pretrained_config": {
4
+ "architecture": "DecoderModel",
5
+ "dtype": "bfloat16",
6
+ "vocab_size": 50000,
7
+ "hidden_size": 1024,
8
+ "num_hidden_layers": 8,
9
+ "num_attention_heads": 16,
10
+ "hidden_act": "gelu",
11
+ "logits_dtype": "float32",
12
+ "norm_epsilon": false,
13
+ "position_embedding_type": "learned_absolute",
14
+ "max_position_embeddings": 1536,
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": null,
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
+ "has_position_embedding": true,
42
+ "layernorm_type": 0,
43
+ "has_attention_qkvo_bias": true,
44
+ "has_mlp_bias": true,
45
+ "has_model_final_layernorm": true,
46
+ "has_embedding_layernorm": true,
47
+ "has_embedding_scale": true,
48
+ "q_scaling": 1.0,
49
+ "layernorm_position": 0,
50
+ "mlp_type": 0,
51
+ "relative_attention": false,
52
+ "max_distance": 0,
53
+ "num_buckets": 0,
54
+ "model_type": "bart",
55
+ "rescale_before_lm_head": false,
56
+ "encoder_hidden_size": 1024,
57
+ "encoder_num_heads": 16,
58
+ "encoder_head_size": 64,
59
+ "skip_cross_qkv": false,
60
+ "use_implicit_relative_attention": false,
61
+ "decoder_start_token_id": null,
62
+ "eos_token_id": 2,
63
+ "bos_token_id": 0,
64
+ "pad_token_id": 1,
65
+ "gated_act": false,
66
+ "type_vocab_size": null,
67
+ "encoder_num_kv_heads": null,
68
+ "residual_scaling": 1.0,
69
+ "has_lm_head_bias": false
70
+ },
71
+ "build_config": {
72
+ "max_input_len": 1,
73
+ "max_seq_len": 101,
74
+ "opt_batch_size": null,
75
+ "max_batch_size": 256,
76
+ "max_beam_width": 1,
77
+ "max_num_tokens": 8192,
78
+ "opt_num_tokens": 256,
79
+ "max_prompt_embedding_table_size": 0,
80
+ "gather_context_logits": false,
81
+ "gather_generation_logits": false,
82
+ "strongly_typed": true,
83
+ "builder_opt": null,
84
+ "force_num_profiles": null,
85
+ "profiling_verbosity": "layer_names_only",
86
+ "enable_debug_output": false,
87
+ "max_draft_len": 0,
88
+ "speculative_decoding_mode": 1,
89
+ "use_refit": false,
90
+ "input_timing_cache": null,
91
+ "output_timing_cache": "model.cache",
92
+ "lora_config": {
93
+ "lora_dir": [],
94
+ "lora_ckpt_source": "hf",
95
+ "max_lora_rank": 64,
96
+ "lora_target_modules": [],
97
+ "trtllm_modules_to_hf_modules": {}
98
+ },
99
+ "auto_parallel_config": {
100
+ "world_size": 1,
101
+ "gpus_per_node": 8,
102
+ "cluster_key": "A100-SXM-80GB",
103
+ "cluster_info": null,
104
+ "sharding_cost_model": "alpha_beta",
105
+ "comm_cost_model": "alpha_beta",
106
+ "enable_pipeline_parallelism": false,
107
+ "enable_shard_unbalanced_shape": false,
108
+ "enable_shard_dynamic_shape": false,
109
+ "enable_reduce_scatter": true,
110
+ "builder_flags": null,
111
+ "debug_mode": false,
112
+ "infer_shape": true,
113
+ "validation_mode": false,
114
+ "same_buffer_io": {
115
+ "past_key_value_(\\d+)": "present_key_value_\\1"
116
+ },
117
+ "same_spec_io": {},
118
+ "sharded_io_allowlist": [
119
+ "past_key_value_\\d+",
120
+ "present_key_value_\\d*"
121
+ ],
122
+ "fill_weights": false,
123
+ "parallel_config_cache": null,
124
+ "profile_cache": null,
125
+ "dump_path": null,
126
+ "debug_outputs": []
127
+ },
128
+ "weight_sparsity": false,
129
+ "weight_streaming": false,
130
+ "plugin_config": {
131
+ "dtype": "bfloat16",
132
+ "bert_attention_plugin": "bfloat16",
133
+ "gpt_attention_plugin": "bfloat16",
134
+ "gemm_plugin": "bfloat16",
135
+ "gemm_swiglu_plugin": null,
136
+ "fp8_rowwise_gemm_plugin": null,
137
+ "smooth_quant_gemm_plugin": null,
138
+ "identity_plugin": null,
139
+ "layernorm_quantization_plugin": null,
140
+ "rmsnorm_quantization_plugin": null,
141
+ "nccl_plugin": null,
142
+ "lookup_plugin": null,
143
+ "lora_plugin": null,
144
+ "weight_only_groupwise_quant_matmul_plugin": null,
145
+ "weight_only_quant_matmul_plugin": null,
146
+ "quantize_per_token_plugin": false,
147
+ "quantize_tensor_plugin": false,
148
+ "moe_plugin": null,
149
+ "mamba_conv1d_plugin": "auto",
150
+ "context_fmha": true,
151
+ "bert_context_fmha_fp32_acc": false,
152
+ "paged_kv_cache": false,
153
+ "remove_input_padding": true,
154
+ "reduce_fusion": false,
155
+ "enable_xqa": false,
156
+ "tokens_per_block": 64,
157
+ "use_paged_context_fmha": false,
158
+ "use_fp8_context_fmha": false,
159
+ "multiple_profiles": false,
160
+ "paged_state": true,
161
+ "streamingllm": false,
162
+ "manage_weights": false
163
+ },
164
+ "use_strip_plan": false,
165
+ "max_encoder_input_len": 588,
166
+ "use_fused_mlp": false
167
+ }
168
+ }
trt_engines.b256/unimernet/1-gpu/bfloat16/decoder/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d009883eed22088756ead8fb02e8371cb850932a9bedfa39482a0b618e993e1
3
+ size 478843092
trt_engines.b256/vision_encoder/onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:608d12681a112f8c08aa852a192c1d578cb714d70f1349cecf0de91a54e834e2
3
+ size 151439627
trt_engines/unimernet/bfloat16/decoder/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "DecoderModel",
3
+ "dtype": "bfloat16",
4
+ "logits_dtype": "float32",
5
+ "num_hidden_layers": 8,
6
+ "num_attention_heads": 16,
7
+ "hidden_size": 1024,
8
+ "norm_epsilon": false,
9
+ "vocab_size": 50000,
10
+ "position_embedding_type": "learned_absolute",
11
+ "hidden_act": "gelu",
12
+ "quantization": {
13
+ "quant_algo": null,
14
+ "kv_cache_quant_algo": null
15
+ },
16
+ "mapping": {
17
+ "world_size": 1,
18
+ "tp_size": 1,
19
+ "pp_size": 1
20
+ },
21
+ "use_parallel_embedding": false,
22
+ "embedding_sharding_dim": 0,
23
+ "share_embedding_table": false,
24
+ "max_position_embeddings": 1536,
25
+ "head_size": 64,
26
+ "has_position_embedding": true,
27
+ "layernorm_type": 0,
28
+ "has_attention_qkvo_bias": true,
29
+ "has_mlp_bias": true,
30
+ "has_model_final_layernorm": true,
31
+ "has_embedding_layernorm": true,
32
+ "has_embedding_scale": true,
33
+ "intermediate_size": 4096,
34
+ "q_scaling": 1.0,
35
+ "layernorm_position": 0,
36
+ "mlp_type": 0,
37
+ "relative_attention": false,
38
+ "max_distance": 0,
39
+ "num_buckets": 0,
40
+ "model_type": "bart",
41
+ "rescale_before_lm_head": false,
42
+ "encoder_hidden_size": 1024,
43
+ "encoder_num_heads": 16,
44
+ "encoder_head_size": 64,
45
+ "skip_cross_qkv": false,
46
+ "use_implicit_relative_attention": false,
47
+ "decoder_start_token_id": null,
48
+ "eos_token_id": 2,
49
+ "bos_token_id": 0,
50
+ "pad_token_id": 1,
51
+ "gated_act": false
52
+ }
trt_engines/unimernet/bfloat16/decoder/rank0.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4067d58b32e551833d24b3fa930237904ba68d0d137ff3af46495daf0afa9fee
3
+ size 476717656