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