WpythonW commited on
Commit
c76601b
·
verified ·
1 Parent(s): 80f236b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +194 -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,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0.0",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 1000000,
7
+ "rotary_scaling": null,
8
+ "disable_weight_only_quant_plugin": false,
9
+ "num_labels": 1,
10
+ "use_logn_attn": false,
11
+ "mlp_only_layers": [],
12
+ "decoder_sparse_step": 1,
13
+ "moe": {
14
+ "num_experts": 0,
15
+ "shared_expert_intermediate_size": 0,
16
+ "top_k": 0,
17
+ "normalization_mode": 0,
18
+ "sparse_mixer_epsilon": 0.01,
19
+ "tp_mode": 0,
20
+ "device_limited_n_group": 0,
21
+ "device_limited_topk_group": 0,
22
+ "device_limited_routed_scaling_factor": 1.0
23
+ },
24
+ "architecture": "Qwen3ForCausalLM",
25
+ "dtype": "float16",
26
+ "vocab_size": 151936,
27
+ "hidden_size": 4096,
28
+ "num_hidden_layers": 36,
29
+ "num_attention_heads": 32,
30
+ "hidden_act": "silu",
31
+ "logits_dtype": "float16",
32
+ "norm_epsilon": 1e-06,
33
+ "runtime_defaults": null,
34
+ "position_embedding_type": "rope_gpt_neox",
35
+ "num_key_value_heads": 8,
36
+ "intermediate_size": 12288,
37
+ "max_position_embeddings": 40960,
38
+ "mapping": {
39
+ "world_size": 1,
40
+ "gpus_per_node": 8,
41
+ "cp_size": 1,
42
+ "tp_size": 1,
43
+ "pp_size": 1,
44
+ "moe_tp_size": 1,
45
+ "moe_cluster_size": 1,
46
+ "moe_ep_size": 1,
47
+ "attn_tp_size": 1,
48
+ "attn_cp_size": 1,
49
+ "auto_parallel": false
50
+ },
51
+ "quantization": {
52
+ "quant_algo": "FP8",
53
+ "kv_cache_quant_algo": "FP8",
54
+ "group_size": 128,
55
+ "smoothquant_val": 0.5,
56
+ "clamp_val": null,
57
+ "use_meta_recipe": false,
58
+ "has_zero_point": false,
59
+ "pre_quant_scale": false,
60
+ "exclude_modules": [
61
+ "lm_head"
62
+ ]
63
+ },
64
+ "use_parallel_embedding": true,
65
+ "embedding_sharding_dim": 0,
66
+ "head_size": 128,
67
+ "qk_layernorm": false,
68
+ "rotary_embedding_dim": 128,
69
+ "producer": {
70
+ "name": "modelopt",
71
+ "version": "0.33.1"
72
+ },
73
+ "share_embedding_table": false,
74
+ "residual_mlp": false,
75
+ "bias": false,
76
+ "rotary_pct": 1.0,
77
+ "rank": 0,
78
+ "decoder": "qwen",
79
+ "rmsnorm": true,
80
+ "lm_head_bias": false,
81
+ "seq_length": 8192,
82
+ "qwen_type": "qwen3",
83
+ "moe_intermediate_size": 0,
84
+ "moe_shared_expert_intermediate_size": 0,
85
+ "tie_word_embeddings": false,
86
+ "model_type": "qwen"
87
+ },
88
+ "build_config": {
89
+ "max_input_len": 1024,
90
+ "max_seq_len": 2048,
91
+ "opt_batch_size": 8,
92
+ "max_batch_size": 16,
93
+ "max_beam_width": 1,
94
+ "max_num_tokens": 8192,
95
+ "opt_num_tokens": 16,
96
+ "max_prompt_embedding_table_size": 0,
97
+ "kv_cache_type": "PAGED",
98
+ "gather_context_logits": false,
99
+ "gather_generation_logits": false,
100
+ "strongly_typed": true,
101
+ "force_num_profiles": null,
102
+ "profiling_verbosity": "layer_names_only",
103
+ "enable_debug_output": false,
104
+ "max_draft_len": 0,
105
+ "speculative_decoding_mode": 1,
106
+ "use_refit": false,
107
+ "input_timing_cache": null,
108
+ "output_timing_cache": "model.cache",
109
+ "lora_config": {
110
+ "lora_dir": [],
111
+ "lora_ckpt_source": "hf",
112
+ "max_lora_rank": 64,
113
+ "lora_target_modules": [],
114
+ "trtllm_modules_to_hf_modules": {},
115
+ "max_loras": null,
116
+ "max_cpu_loras": null,
117
+ "swap_gate_up_proj_lora_b_weight": true
118
+ },
119
+ "auto_parallel_config": {
120
+ "world_size": 1,
121
+ "gpus_per_node": 8,
122
+ "cluster_key": null,
123
+ "cluster_info": null,
124
+ "sharding_cost_model": "alpha_beta",
125
+ "comm_cost_model": "alpha_beta",
126
+ "enable_pipeline_parallelism": false,
127
+ "enable_shard_unbalanced_shape": false,
128
+ "enable_shard_dynamic_shape": false,
129
+ "enable_reduce_scatter": true,
130
+ "builder_flags": null,
131
+ "debug_mode": false,
132
+ "infer_shape": true,
133
+ "validation_mode": false,
134
+ "same_buffer_io": {},
135
+ "same_spec_io": {},
136
+ "sharded_io_allowlist": [],
137
+ "fill_weights": false,
138
+ "parallel_config_cache": null,
139
+ "profile_cache": null,
140
+ "dump_path": null,
141
+ "debug_outputs": []
142
+ },
143
+ "weight_sparsity": false,
144
+ "weight_streaming": false,
145
+ "plugin_config": {
146
+ "dtype": "float16",
147
+ "bert_attention_plugin": "auto",
148
+ "gpt_attention_plugin": "auto",
149
+ "gemm_plugin": null,
150
+ "explicitly_disable_gemm_plugin": false,
151
+ "gemm_swiglu_plugin": null,
152
+ "fp8_rowwise_gemm_plugin": null,
153
+ "qserve_gemm_plugin": null,
154
+ "identity_plugin": null,
155
+ "nccl_plugin": null,
156
+ "lora_plugin": null,
157
+ "dora_plugin": false,
158
+ "weight_only_groupwise_quant_matmul_plugin": null,
159
+ "weight_only_quant_matmul_plugin": null,
160
+ "smooth_quant_plugins": true,
161
+ "smooth_quant_gemm_plugin": null,
162
+ "layernorm_quantization_plugin": null,
163
+ "rmsnorm_quantization_plugin": null,
164
+ "quantize_per_token_plugin": false,
165
+ "quantize_tensor_plugin": false,
166
+ "moe_plugin": "auto",
167
+ "mamba_conv1d_plugin": "auto",
168
+ "low_latency_gemm_plugin": null,
169
+ "low_latency_gemm_swiglu_plugin": null,
170
+ "gemm_allreduce_plugin": null,
171
+ "context_fmha": true,
172
+ "bert_context_fmha_fp32_acc": false,
173
+ "paged_kv_cache": true,
174
+ "remove_input_padding": true,
175
+ "norm_quant_fusion": false,
176
+ "reduce_fusion": false,
177
+ "user_buffer": false,
178
+ "tokens_per_block": 32,
179
+ "use_paged_context_fmha": true,
180
+ "use_fp8_context_fmha": true,
181
+ "fuse_fp4_quant": false,
182
+ "multiple_profiles": false,
183
+ "paged_state": false,
184
+ "streamingllm": false,
185
+ "manage_weights": false,
186
+ "use_fused_mlp": true,
187
+ "pp_reduce_scatter": false
188
+ },
189
+ "use_strip_plan": false,
190
+ "max_encoder_input_len": 1024,
191
+ "monitor_memory": false,
192
+ "use_mrope": false
193
+ }
194
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12bf900464ed974abec8067d743e8dc0793f54be9a83f58b212467b02fff4543
3
+ size 9468056196