pankajroark commited on
Commit
abfd696
·
verified ·
1 Parent(s): 67cc429

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. briton_config.pbtxt +36 -0
  3. config.json +151 -0
  4. rank0.engine +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ rank0.engine filter=lfs diff=lfs merge=lfs -text
briton_config.pbtxt ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ engine_path: "data"
3
+ hf_tokenizer: "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
4
+ kv_cache_free_gpu_mem_fraction: 0.9
5
+ enable_kv_cache_reuse: true
6
+ enable_chunked_context: False
7
+ port: 50051
8
+ fsm_cache_dir: "/cache/model/fsm_cache"
9
+
10
+ max_num_tokens: 8192
11
+ added_tokens {
12
+ tokens {
13
+ content: "<unk>"
14
+ single_word: False
15
+ lstrip: False
16
+ rstrip: False
17
+ normalized: False
18
+ special: True
19
+ }
20
+ tokens {
21
+ content: "<s>"
22
+ single_word: False
23
+ lstrip: False
24
+ rstrip: False
25
+ normalized: False
26
+ special: True
27
+ }
28
+ tokens {
29
+ content: "</s>"
30
+ single_word: False
31
+ lstrip: False
32
+ rstrip: False
33
+ normalized: False
34
+ special: True
35
+ }
36
+ }
config.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.13.0",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 10000.0,
7
+ "rotary_scaling": null,
8
+ "residual_mlp": false,
9
+ "disable_weight_only_quant_plugin": false,
10
+ "moe": {
11
+ "num_experts": 0,
12
+ "top_k": 0,
13
+ "normalization_mode": null,
14
+ "sparse_mixer_epsilon": 0.01,
15
+ "tp_mode": 0
16
+ },
17
+ "remove_duplicated_kv_heads": false,
18
+ "architecture": "LlamaForCausalLM",
19
+ "dtype": "float16",
20
+ "vocab_size": 32000,
21
+ "hidden_size": 2048,
22
+ "num_hidden_layers": 22,
23
+ "num_attention_heads": 32,
24
+ "hidden_act": "silu",
25
+ "logits_dtype": "float32",
26
+ "norm_epsilon": 1e-05,
27
+ "position_embedding_type": "rope_gpt_neox",
28
+ "max_position_embeddings": 2048,
29
+ "num_key_value_heads": 4,
30
+ "intermediate_size": 5632,
31
+ "mapping": {
32
+ "world_size": 1,
33
+ "gpus_per_node": 8,
34
+ "cp_size": 1,
35
+ "tp_size": 1,
36
+ "pp_size": 1,
37
+ "moe_tp_size": 1,
38
+ "moe_ep_size": 1
39
+ },
40
+ "quantization": {
41
+ "quant_algo": null,
42
+ "kv_cache_quant_algo": null,
43
+ "group_size": 128,
44
+ "smoothquant_val": 0.5,
45
+ "clamp_val": null,
46
+ "has_zero_point": false,
47
+ "pre_quant_scale": false,
48
+ "exclude_modules": null
49
+ },
50
+ "use_parallel_embedding": false,
51
+ "embedding_sharding_dim": 0,
52
+ "share_embedding_table": false,
53
+ "head_size": 64,
54
+ "qk_layernorm": false
55
+ },
56
+ "build_config": {
57
+ "max_input_len": 256,
58
+ "max_seq_len": 2048,
59
+ "opt_batch_size": 8,
60
+ "max_batch_size": 1,
61
+ "max_beam_width": 1,
62
+ "max_num_tokens": 2048,
63
+ "opt_num_tokens": 1,
64
+ "max_prompt_embedding_table_size": 0,
65
+ "kv_cache_type": "PAGED",
66
+ "gather_context_logits": false,
67
+ "gather_generation_logits": false,
68
+ "strongly_typed": false,
69
+ "builder_opt": null,
70
+ "force_num_profiles": null,
71
+ "profiling_verbosity": "layer_names_only",
72
+ "enable_debug_output": false,
73
+ "max_draft_len": 0,
74
+ "speculative_decoding_mode": 1,
75
+ "use_refit": false,
76
+ "input_timing_cache": null,
77
+ "output_timing_cache": null,
78
+ "lora_config": {
79
+ "lora_dir": [],
80
+ "lora_ckpt_source": "hf",
81
+ "max_lora_rank": 64,
82
+ "lora_target_modules": [],
83
+ "trtllm_modules_to_hf_modules": {}
84
+ },
85
+ "auto_parallel_config": {
86
+ "world_size": 1,
87
+ "gpus_per_node": 8,
88
+ "cluster_key": null,
89
+ "cluster_info": null,
90
+ "sharding_cost_model": "alpha_beta",
91
+ "comm_cost_model": "alpha_beta",
92
+ "enable_pipeline_parallelism": false,
93
+ "enable_shard_unbalanced_shape": false,
94
+ "enable_shard_dynamic_shape": false,
95
+ "enable_reduce_scatter": true,
96
+ "builder_flags": null,
97
+ "debug_mode": false,
98
+ "infer_shape": true,
99
+ "validation_mode": false,
100
+ "same_buffer_io": {},
101
+ "same_spec_io": {},
102
+ "sharded_io_allowlist": [],
103
+ "fill_weights": false,
104
+ "parallel_config_cache": null,
105
+ "profile_cache": null,
106
+ "dump_path": null,
107
+ "debug_outputs": []
108
+ },
109
+ "weight_sparsity": false,
110
+ "weight_streaming": false,
111
+ "plugin_config": {
112
+ "dtype": "float16",
113
+ "bert_attention_plugin": "auto",
114
+ "gpt_attention_plugin": "auto",
115
+ "gemm_plugin": "auto",
116
+ "gemm_swiglu_plugin": null,
117
+ "fp8_rowwise_gemm_plugin": null,
118
+ "smooth_quant_gemm_plugin": null,
119
+ "identity_plugin": null,
120
+ "layernorm_quantization_plugin": null,
121
+ "rmsnorm_quantization_plugin": null,
122
+ "nccl_plugin": null,
123
+ "lookup_plugin": null,
124
+ "lora_plugin": null,
125
+ "weight_only_groupwise_quant_matmul_plugin": null,
126
+ "weight_only_quant_matmul_plugin": null,
127
+ "quantize_per_token_plugin": false,
128
+ "quantize_tensor_plugin": false,
129
+ "moe_plugin": "auto",
130
+ "mamba_conv1d_plugin": "auto",
131
+ "low_latency_gemm_plugin": null,
132
+ "context_fmha": true,
133
+ "bert_context_fmha_fp32_acc": false,
134
+ "paged_kv_cache": true,
135
+ "remove_input_padding": true,
136
+ "reduce_fusion": false,
137
+ "enable_xqa": true,
138
+ "tokens_per_block": 64,
139
+ "use_paged_context_fmha": false,
140
+ "use_fp8_context_fmha": false,
141
+ "multiple_profiles": false,
142
+ "paged_state": false,
143
+ "streamingllm": false,
144
+ "manage_weights": false,
145
+ "use_fused_mlp": true
146
+ },
147
+ "use_strip_plan": false,
148
+ "max_encoder_input_len": 1,
149
+ "use_fused_mlp": false
150
+ }
151
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0917cbd0af557deecb8f72e121a77bca32392de655afc78b73c71fb70549385
3
+ size 2204932668