pankajroark commited on
Commit
8fd97b0
·
verified ·
1 Parent(s): 2d3e5e8

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. briton_config.pbtxt +4 -0
  3. config.json +136 -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,4 @@
 
 
 
 
 
1
+
2
+ engine_path: "/app/data"
3
+ hf_tokenizer: "dreamgen/opus-v1.2-llama-3-8b"
4
+ kv_cache_free_gpu_mem_fraction: 0.9
config.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.9.0",
3
+ "pretrained_config": {
4
+ "architecture": "LlamaForCausalLM",
5
+ "dtype": "float16",
6
+ "logits_dtype": "float32",
7
+ "vocab_size": 128256,
8
+ "max_position_embeddings": 8192,
9
+ "hidden_size": 4096,
10
+ "num_hidden_layers": 32,
11
+ "num_attention_heads": 32,
12
+ "num_key_value_heads": 8,
13
+ "head_size": 128,
14
+ "hidden_act": "silu",
15
+ "intermediate_size": 14336,
16
+ "norm_epsilon": 1e-05,
17
+ "position_embedding_type": "rope_gpt_neox",
18
+ "use_parallel_embedding": false,
19
+ "embedding_sharding_dim": 0,
20
+ "share_embedding_table": false,
21
+ "mapping": {
22
+ "world_size": 1,
23
+ "tp_size": 1,
24
+ "pp_size": 1
25
+ },
26
+ "quantization": {
27
+ "quant_algo": null,
28
+ "kv_cache_quant_algo": null,
29
+ "group_size": 128,
30
+ "smoothquant_val": null,
31
+ "has_zero_point": false,
32
+ "pre_quant_scale": false,
33
+ "exclude_modules": [
34
+ "lm_head"
35
+ ]
36
+ },
37
+ "kv_dtype": "float16",
38
+ "rotary_scaling": {
39
+ "factor": 4.0,
40
+ "type": "dynamic"
41
+ },
42
+ "moe_normalization_mode": null,
43
+ "rotary_base": 500000.0,
44
+ "moe_num_experts": 0,
45
+ "moe_top_k": 0,
46
+ "moe_tp_mode": 2,
47
+ "attn_bias": false,
48
+ "mlp_bias": false
49
+ },
50
+ "build_config": {
51
+ "max_input_len": 4000,
52
+ "max_output_len": 30,
53
+ "max_batch_size": 8,
54
+ "max_beam_width": 1,
55
+ "max_num_tokens": null,
56
+ "opt_num_tokens": null,
57
+ "max_prompt_embedding_table_size": 0,
58
+ "gather_context_logits": false,
59
+ "gather_generation_logits": false,
60
+ "strongly_typed": false,
61
+ "builder_opt": null,
62
+ "profiling_verbosity": "layer_names_only",
63
+ "enable_debug_output": false,
64
+ "max_draft_len": 0,
65
+ "use_refit": false,
66
+ "input_timing_cache": null,
67
+ "output_timing_cache": null,
68
+ "lora_config": {
69
+ "lora_dir": [],
70
+ "lora_ckpt_source": "hf",
71
+ "max_lora_rank": 64,
72
+ "lora_target_modules": [],
73
+ "trtllm_modules_to_hf_modules": {}
74
+ },
75
+ "auto_parallel_config": {
76
+ "world_size": 1,
77
+ "gpus_per_node": 8,
78
+ "cluster_key": null,
79
+ "cluster_info": null,
80
+ "sharding_cost_model": "alpha_beta",
81
+ "comm_cost_model": "alpha_beta",
82
+ "enable_pipeline_parallelism": false,
83
+ "enable_shard_unbalanced_shape": false,
84
+ "enable_shard_dynamic_shape": false,
85
+ "enable_reduce_scatter": true,
86
+ "builder_flags": null,
87
+ "debug_mode": false,
88
+ "infer_shape": true,
89
+ "validation_mode": false,
90
+ "same_buffer_io": {},
91
+ "same_spec_io": {},
92
+ "sharded_io_allowlist": [],
93
+ "fast_reduce": true,
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
+ "use_fused_mlp": false,
102
+ "plugin_config": {
103
+ "bert_attention_plugin": "float16",
104
+ "gpt_attention_plugin": "float16",
105
+ "gemm_plugin": "float16",
106
+ "smooth_quant_gemm_plugin": null,
107
+ "identity_plugin": null,
108
+ "layernorm_quantization_plugin": null,
109
+ "rmsnorm_quantization_plugin": null,
110
+ "nccl_plugin": null,
111
+ "lookup_plugin": null,
112
+ "lora_plugin": null,
113
+ "weight_only_groupwise_quant_matmul_plugin": null,
114
+ "weight_only_quant_matmul_plugin": null,
115
+ "quantize_per_token_plugin": false,
116
+ "quantize_tensor_plugin": false,
117
+ "moe_plugin": "float16",
118
+ "mamba_conv1d_plugin": "float16",
119
+ "context_fmha": true,
120
+ "context_fmha_fp32_acc": false,
121
+ "paged_kv_cache": true,
122
+ "remove_input_padding": true,
123
+ "use_custom_all_reduce": false,
124
+ "multi_block_mode": false,
125
+ "enable_xqa": true,
126
+ "attention_qk_half_accumulation": false,
127
+ "tokens_per_block": 128,
128
+ "use_paged_context_fmha": false,
129
+ "use_fp8_context_fmha": false,
130
+ "use_context_fmha_for_generation": false,
131
+ "multiple_profiles": false,
132
+ "paged_state": true,
133
+ "streamingllm": false
134
+ }
135
+ }
136
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20496bf4176db04e4f742266155f294e7a5cd2211ba5e5832ebb872ebb3ec560
3
+ size 16063731836