dev-slx commited on
Commit
5c1e562
1 Parent(s): 3368853

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +157 -0
  3. 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
config.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.12.0.dev2024073000",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 500000.0,
7
+ "rotary_scaling": {
8
+ "factor": 8.0,
9
+ "low_freq_factor": 1.0,
10
+ "high_freq_factor": 4.0,
11
+ "original_max_position_embeddings": 8192,
12
+ "rope_type": "llama3"
13
+ },
14
+ "residual_mlp": false,
15
+ "disable_weight_only_quant_plugin": false,
16
+ "moe": {
17
+ "num_experts": 0,
18
+ "top_k": 0,
19
+ "normalization_mode": null,
20
+ "tp_mode": 0
21
+ },
22
+ "remove_duplicated_kv_heads": false,
23
+ "architecture": "LlamaForCausalLM",
24
+ "dtype": "bfloat16",
25
+ "vocab_size": 128256,
26
+ "hidden_size": 4096,
27
+ "num_hidden_layers": 24,
28
+ "num_attention_heads": 32,
29
+ "hidden_act": "silu",
30
+ "logits_dtype": "float32",
31
+ "norm_epsilon": 1e-05,
32
+ "position_embedding_type": "rope_gpt_neox",
33
+ "max_position_embeddings": 131072,
34
+ "num_key_value_heads": 8,
35
+ "intermediate_size": 7168,
36
+ "mapping": {
37
+ "world_size": 1,
38
+ "gpus_per_node": 8,
39
+ "cp_size": 1,
40
+ "tp_size": 1,
41
+ "pp_size": 1,
42
+ "moe_tp_size": 1,
43
+ "moe_ep_size": 1
44
+ },
45
+ "quantization": {
46
+ "quant_algo": "W8A16",
47
+ "kv_cache_quant_algo": null,
48
+ "group_size": 128,
49
+ "smoothquant_val": null,
50
+ "clamp_val": null,
51
+ "has_zero_point": false,
52
+ "pre_quant_scale": false,
53
+ "exclude_modules": null
54
+ },
55
+ "use_parallel_embedding": false,
56
+ "embedding_sharding_dim": 0,
57
+ "share_embedding_table": false,
58
+ "head_size": 128,
59
+ "qk_layernorm": false
60
+ },
61
+ "build_config": {
62
+ "max_input_len": 1024,
63
+ "max_seq_len": 4096,
64
+ "opt_batch_size": null,
65
+ "max_batch_size": 256,
66
+ "max_beam_width": 1,
67
+ "max_num_tokens": 8192,
68
+ "opt_num_tokens": 256,
69
+ "max_prompt_embedding_table_size": 0,
70
+ "gather_context_logits": false,
71
+ "gather_generation_logits": false,
72
+ "strongly_typed": true,
73
+ "builder_opt": null,
74
+ "force_num_profiles": null,
75
+ "profiling_verbosity": "layer_names_only",
76
+ "enable_debug_output": false,
77
+ "max_draft_len": 0,
78
+ "speculative_decoding_mode": 1,
79
+ "use_refit": false,
80
+ "input_timing_cache": null,
81
+ "output_timing_cache": "model.cache",
82
+ "lora_config": {
83
+ "lora_dir": [],
84
+ "lora_ckpt_source": "hf",
85
+ "max_lora_rank": 64,
86
+ "lora_target_modules": [],
87
+ "trtllm_modules_to_hf_modules": {}
88
+ },
89
+ "auto_parallel_config": {
90
+ "world_size": 1,
91
+ "gpus_per_node": 8,
92
+ "cluster_key": "A100-SXM-40GB",
93
+ "cluster_info": null,
94
+ "sharding_cost_model": "alpha_beta",
95
+ "comm_cost_model": "alpha_beta",
96
+ "enable_pipeline_parallelism": false,
97
+ "enable_shard_unbalanced_shape": false,
98
+ "enable_shard_dynamic_shape": false,
99
+ "enable_reduce_scatter": true,
100
+ "builder_flags": null,
101
+ "debug_mode": false,
102
+ "infer_shape": true,
103
+ "validation_mode": false,
104
+ "same_buffer_io": {
105
+ "past_key_value_(\\d+)": "present_key_value_\\1"
106
+ },
107
+ "same_spec_io": {},
108
+ "sharded_io_allowlist": [
109
+ "past_key_value_\\d+",
110
+ "present_key_value_\\d*"
111
+ ],
112
+ "fill_weights": false,
113
+ "parallel_config_cache": null,
114
+ "profile_cache": null,
115
+ "dump_path": null,
116
+ "debug_outputs": []
117
+ },
118
+ "weight_sparsity": false,
119
+ "weight_streaming": false,
120
+ "plugin_config": {
121
+ "dtype": "bfloat16",
122
+ "bert_attention_plugin": "auto",
123
+ "gpt_attention_plugin": "bfloat16",
124
+ "gemm_plugin": "bfloat16",
125
+ "gemm_swiglu_plugin": null,
126
+ "fp8_rowwise_gemm_plugin": null,
127
+ "smooth_quant_gemm_plugin": null,
128
+ "identity_plugin": null,
129
+ "layernorm_quantization_plugin": null,
130
+ "rmsnorm_quantization_plugin": null,
131
+ "nccl_plugin": null,
132
+ "lookup_plugin": null,
133
+ "lora_plugin": null,
134
+ "weight_only_groupwise_quant_matmul_plugin": null,
135
+ "weight_only_quant_matmul_plugin": "bfloat16",
136
+ "quantize_per_token_plugin": false,
137
+ "quantize_tensor_plugin": false,
138
+ "moe_plugin": "auto",
139
+ "mamba_conv1d_plugin": "auto",
140
+ "context_fmha": true,
141
+ "context_fmha_fp32_acc": false,
142
+ "paged_kv_cache": true,
143
+ "remove_input_padding": true,
144
+ "reduce_fusion": false,
145
+ "enable_xqa": true,
146
+ "tokens_per_block": 64,
147
+ "use_paged_context_fmha": false,
148
+ "use_fp8_context_fmha": false,
149
+ "multiple_profiles": false,
150
+ "paged_state": true,
151
+ "streamingllm": false
152
+ },
153
+ "use_strip_plan": false,
154
+ "max_encoder_input_len": 1024,
155
+ "use_fused_mlp": false
156
+ }
157
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0073bfb852275382775422df736b15c725c55740511554db69e7d9a1b1d76d5
3
+ size 5296872108