bdubayah commited on
Commit
031676d
·
verified ·
1 Parent(s): 776a5c5

Upload folder using huggingface_hub

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