LE Quoc Dat commited on
Commit
a90fd9e
·
verified ·
1 Parent(s): cdfd4fa

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +160 -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,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.11.0.dev2024062500",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 500000.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": 1
14
+ },
15
+ "architecture": "LlamaForCausalLM",
16
+ "dtype": "float16",
17
+ "vocab_size": 128256,
18
+ "hidden_size": 4096,
19
+ "num_hidden_layers": 32,
20
+ "num_attention_heads": 32,
21
+ "hidden_act": "silu",
22
+ "logits_dtype": "float32",
23
+ "norm_epsilon": 1e-05,
24
+ "position_embedding_type": "rope_gpt_neox",
25
+ "max_position_embeddings": 8192,
26
+ "num_key_value_heads": 8,
27
+ "intermediate_size": 14336,
28
+ "mapping": {
29
+ "world_size": 1,
30
+ "gpus_per_node": 8,
31
+ "tp_size": 1,
32
+ "pp_size": 1,
33
+ "moe_tp_size": 1,
34
+ "moe_ep_size": 1
35
+ },
36
+ "quantization": {
37
+ "quant_algo": "W4A16_AWQ",
38
+ "kv_cache_quant_algo": null,
39
+ "group_size": 128,
40
+ "smoothquant_val": null,
41
+ "has_zero_point": false,
42
+ "pre_quant_scale": true,
43
+ "exclude_modules": [
44
+ "lm_head"
45
+ ]
46
+ },
47
+ "use_parallel_embedding": true,
48
+ "embedding_sharding_dim": 0,
49
+ "share_embedding_table": false,
50
+ "head_size": 128,
51
+ "qk_layernorm": false,
52
+ "producer": {
53
+ "name": "modelopt",
54
+ "version": "0.11.2"
55
+ },
56
+ "bias": false,
57
+ "rotary_pct": 1.0,
58
+ "rank": 0,
59
+ "decoder": "llama",
60
+ "rmsnorm": true,
61
+ "lm_head_bias": false
62
+ },
63
+ "build_config": {
64
+ "max_input_len": 1024,
65
+ "max_seq_len": 1536,
66
+ "opt_batch_size": null,
67
+ "max_batch_size": 4,
68
+ "max_beam_width": 1,
69
+ "max_num_tokens": 6144,
70
+ "opt_num_tokens": 4,
71
+ "max_prompt_embedding_table_size": 0,
72
+ "gather_context_logits": false,
73
+ "gather_generation_logits": false,
74
+ "strongly_typed": true,
75
+ "builder_opt": null,
76
+ "profiling_verbosity": "layer_names_only",
77
+ "enable_debug_output": false,
78
+ "max_draft_len": 0,
79
+ "speculative_decoding_mode": 1,
80
+ "use_refit": false,
81
+ "input_timing_cache": null,
82
+ "output_timing_cache": "model.cache",
83
+ "lora_config": {
84
+ "lora_dir": [],
85
+ "lora_ckpt_source": "hf",
86
+ "max_lora_rank": 64,
87
+ "lora_target_modules": [],
88
+ "trtllm_modules_to_hf_modules": {}
89
+ },
90
+ "auto_parallel_config": {
91
+ "world_size": 1,
92
+ "gpus_per_node": 8,
93
+ "cluster_key": "A100-PCIe-80GB",
94
+ "cluster_info": null,
95
+ "sharding_cost_model": "alpha_beta",
96
+ "comm_cost_model": "alpha_beta",
97
+ "enable_pipeline_parallelism": false,
98
+ "enable_shard_unbalanced_shape": false,
99
+ "enable_shard_dynamic_shape": false,
100
+ "enable_reduce_scatter": true,
101
+ "builder_flags": null,
102
+ "debug_mode": false,
103
+ "infer_shape": true,
104
+ "validation_mode": false,
105
+ "same_buffer_io": {
106
+ "past_key_value_(\\d+)": "present_key_value_\\1"
107
+ },
108
+ "same_spec_io": {},
109
+ "sharded_io_allowlist": [
110
+ "past_key_value_\\d+",
111
+ "present_key_value_\\d*"
112
+ ],
113
+ "fill_weights": false,
114
+ "parallel_config_cache": null,
115
+ "profile_cache": null,
116
+ "dump_path": null,
117
+ "debug_outputs": []
118
+ },
119
+ "weight_sparsity": false,
120
+ "weight_streaming": false,
121
+ "plugin_config": {
122
+ "dtype": "float16",
123
+ "bert_attention_plugin": "auto",
124
+ "gpt_attention_plugin": "float16",
125
+ "gemm_plugin": "float16",
126
+ "gemm_swiglu_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": "float16",
135
+ "weight_only_quant_matmul_plugin": null,
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
+ "use_custom_all_reduce": true,
145
+ "reduce_fusion": false,
146
+ "multi_block_mode": false,
147
+ "enable_xqa": true,
148
+ "attention_qk_half_accumulation": false,
149
+ "tokens_per_block": 64,
150
+ "use_paged_context_fmha": false,
151
+ "use_fp8_context_fmha": false,
152
+ "multiple_profiles": false,
153
+ "paged_state": true,
154
+ "streamingllm": false
155
+ },
156
+ "use_strip_plan": false,
157
+ "max_encoder_input_len": 1024,
158
+ "use_fused_mlp": false
159
+ }
160
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3bcb26655bd4d5ca420f242d1305ff9473491ab9e5de7018c803f3e1c6c84be
3
+ size 5711287492