erfanzar commited on
Commit
705a7d3
·
verified ·
1 Parent(s): 71a5786

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. chat_template.jinja +154 -0
  2. checkpoint_metadata.json +6 -0
  3. config.json +473 -0
  4. model/model/language_model/embed_tokens/embedding/.zarray +1 -0
  5. model/model/language_model/layers/0/input_layernorm/kernel/.zarray +1 -0
  6. model/model/language_model/layers/0/input_layernorm/kernel/0 +0 -0
  7. model/model/language_model/layers/0/linear_attn/A_log/.zarray +1 -0
  8. model/model/language_model/layers/0/linear_attn/A_log/0 +0 -0
  9. model/model/language_model/layers/0/linear_attn/conv1d/kernel/.zarray +1 -0
  10. model/model/language_model/layers/0/linear_attn/conv1d/kernel/0.0.0 +0 -0
  11. model/model/language_model/layers/0/linear_attn/dt_bias/.zarray +1 -0
  12. model/model/language_model/layers/0/linear_attn/dt_bias/0 +0 -0
  13. model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/.zarray +1 -0
  14. model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/0.0 +0 -0
  15. model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/1.0 +0 -0
  16. model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/2.0 +0 -0
  17. model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/3.0 +0 -0
  18. model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/.zarray +1 -0
  19. model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/0.0 +0 -0
  20. model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/1.0 +0 -0
  21. model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/2.0 +0 -0
  22. model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/3.0 +0 -0
  23. model/model/language_model/layers/0/linear_attn/in_proj_qkv/kernel/.zarray +1 -0
  24. model/model/language_model/layers/0/linear_attn/in_proj_z/kernel/.zarray +1 -0
  25. model/model/language_model/layers/0/linear_attn/norm/kernel/.zarray +1 -0
  26. model/model/language_model/layers/0/linear_attn/norm/kernel/0 +0 -0
  27. model/model/language_model/layers/0/linear_attn/out_proj/kernel/.zarray +1 -0
  28. model/model/language_model/layers/0/mlp/down_proj/kernel/.zarray +1 -0
  29. model/model/language_model/layers/0/mlp/gate_proj/kernel/.zarray +1 -0
  30. model/model/language_model/layers/0/mlp/up_proj/kernel/.zarray +1 -0
  31. model/model/language_model/layers/0/post_attention_layernorm/kernel/.zarray +1 -0
  32. model/model/language_model/layers/0/post_attention_layernorm/kernel/0 +0 -0
  33. model/model/language_model/layers/1/input_layernorm/kernel/.zarray +1 -0
  34. model/model/language_model/layers/1/input_layernorm/kernel/0 +0 -0
  35. model/model/language_model/layers/1/linear_attn/A_log/.zarray +1 -0
  36. model/model/language_model/layers/1/linear_attn/A_log/0 +0 -0
  37. model/model/language_model/layers/1/linear_attn/conv1d/kernel/.zarray +1 -0
  38. model/model/language_model/layers/1/linear_attn/conv1d/kernel/0.0.0 +0 -0
  39. model/model/language_model/layers/1/linear_attn/dt_bias/.zarray +1 -0
  40. model/model/language_model/layers/1/linear_attn/dt_bias/0 +0 -0
  41. model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/.zarray +1 -0
  42. model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/0.0 +0 -0
  43. model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/1.0 +0 -0
  44. model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/2.0 +0 -0
  45. model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/3.0 +0 -0
  46. model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/.zarray +1 -0
  47. model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/0.0 +0 -0
  48. model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/1.0 +0 -0
  49. model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/2.0 +0 -0
  50. model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/3.0 +0 -0
chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if loop.index0 > ns.last_query_index %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is true %}
150
+ {{- '<think>\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n\n</think>\n\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
checkpoint_metadata.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "2026-04-09T05:12:06.203634",
3
+ "custom_metadata": {
4
+ "step": 0
5
+ }
6
+ }
config.json ADDED
@@ -0,0 +1,473 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_external_rope_config_kwargs": {},
3
+ "add_cross_attention": false,
4
+ "architectures": [
5
+ "Qwen3_5ForConditionalGeneration"
6
+ ],
7
+ "attn_mechanism": "vanilla",
8
+ "backend": null,
9
+ "bits": null,
10
+ "blocksize_b": 1,
11
+ "blocksize_k": 512,
12
+ "blocksize_q": 512,
13
+ "bos_token_id": null,
14
+ "cross_attention_hidden_size": null,
15
+ "decode_attn_mechanism": null,
16
+ "decoder_start_token_id": null,
17
+ "easy_method": "train",
18
+ "eos_token_id": null,
19
+ "fcm_max_ratio": 0.0,
20
+ "fcm_min_ratio": 0.0,
21
+ "flash_attention_backward_pass_impl": "triton",
22
+ "fsdp_is_ep_bound": true,
23
+ "gradient_checkpointing": "",
24
+ "gradient_checkpointing_targets": null,
25
+ "hardware_abstraction": false,
26
+ "image_token_id": 248056,
27
+ "is_decoder": false,
28
+ "kv_cache_quantization_config": null,
29
+ "kv_cache_sharding_sequence_axis_name": "sp",
30
+ "kvdtype": "bfloat16",
31
+ "lmhead_chunksize": null,
32
+ "max_position_embeddings": null,
33
+ "mla_attn_dtype": "bfloat16",
34
+ "mla_attn_mechanism": "auto",
35
+ "mla_attn_softmax_dtype": "float32",
36
+ "model_type": "qwen3_5",
37
+ "moe_force_xla_gmm": false,
38
+ "moe_method": "fused_moe",
39
+ "moe_tiling_size_batch": 4,
40
+ "moe_tiling_size_dim": 128,
41
+ "moe_tiling_size_seqlen": 128,
42
+ "operation_configs": null,
43
+ "pad_token_id": null,
44
+ "pallas_k_block_size": 128,
45
+ "pallas_m_block_size": 128,
46
+ "pallas_n_block_size": 128,
47
+ "partition_axis": {
48
+ "attention_dim_axis": null,
49
+ "attention_kv_dim_axis": null,
50
+ "batch_axis": [
51
+ "fsdp",
52
+ "dp"
53
+ ],
54
+ "bias_head_sequence_axis": null,
55
+ "bias_key_sequence_axis": null,
56
+ "data_parallel_axis": "dp",
57
+ "decode_attention_dim_axis": null,
58
+ "decode_attention_kv_dim_axis": null,
59
+ "decode_batch_axis": [
60
+ "fsdp",
61
+ "dp"
62
+ ],
63
+ "decode_head_axis": "tp",
64
+ "decode_key_sequence_axis": "sp",
65
+ "decode_kv_head_axis": "tp",
66
+ "decode_query_sequence_axis": null,
67
+ "expert_axis": "ep",
68
+ "expert_gate_axis": null,
69
+ "expert_parallel_axis": "ep",
70
+ "fully_sharded_data_parallel_axis": "fsdp",
71
+ "head_axis": "tp",
72
+ "hidden_state_axis": "tp",
73
+ "key_sequence_axis": "sp",
74
+ "kv_head_axis": "tp",
75
+ "mlp_intermediate_axis": "tp",
76
+ "query_sequence_axis": "sp",
77
+ "sequence_axis": "sp",
78
+ "sequence_parallel_axis": "sp",
79
+ "tensor_parallel_axis": "tp",
80
+ "vocab_axis": "tp"
81
+ },
82
+ "platform": null,
83
+ "precompute_masks": true,
84
+ "pretraining_tp": 1,
85
+ "qmm_platform_override": null,
86
+ "qmm_tpu_path_override": null,
87
+ "quantization_config": null,
88
+ "scan_attention_layers": false,
89
+ "scan_mlp_chunk_size": 1024,
90
+ "scan_ring_attention": true,
91
+ "sep_token_id": null,
92
+ "sequence_axis_name": "sp",
93
+ "sharding_axis_dims": [
94
+ 1,
95
+ -1,
96
+ 1,
97
+ 1,
98
+ 1
99
+ ],
100
+ "sharding_axis_names": [
101
+ "dp",
102
+ "fsdp",
103
+ "ep",
104
+ "tp",
105
+ "sp"
106
+ ],
107
+ "sharding_dcn_axis_dims": null,
108
+ "sp_is_ep_bound": true,
109
+ "text_config": {
110
+ "_external_rope_config_kwargs": {},
111
+ "add_cross_attention": false,
112
+ "architectures": [
113
+ "Qwen3_5ForConditionalGeneration"
114
+ ],
115
+ "attention_bias": false,
116
+ "attention_dropout": 0.0,
117
+ "attn_dtype": "bfloat16",
118
+ "attn_mechanism": "vanilla",
119
+ "attn_output_gate": true,
120
+ "attn_softmax_dtype": "float32",
121
+ "backend": null,
122
+ "bits": null,
123
+ "blocksize_b": 1,
124
+ "blocksize_k": 512,
125
+ "blocksize_q": 512,
126
+ "bos_token_id": null,
127
+ "cross_attention_hidden_size": null,
128
+ "decode_attn_mechanism": null,
129
+ "decoder_sparse_step": 1,
130
+ "decoder_start_token_id": null,
131
+ "dtype": "bfloat16",
132
+ "easy_method": "train",
133
+ "eos_token_id": 248044,
134
+ "fcm_max_ratio": 0.0,
135
+ "fcm_min_ratio": 0.0,
136
+ "flash_attention_backward_pass_impl": "triton",
137
+ "fsdp_is_ep_bound": true,
138
+ "full_attention_interval": 4,
139
+ "gradient_checkpointing": "",
140
+ "gradient_checkpointing_targets": null,
141
+ "hardware_abstraction": false,
142
+ "head_dim": 256,
143
+ "hidden_act": "silu",
144
+ "hidden_size": 2048,
145
+ "initializer_range": 0.02,
146
+ "intermediate_size": 6144,
147
+ "is_decoder": false,
148
+ "kv_cache_quantization_config": null,
149
+ "kv_cache_sharding_sequence_axis_name": "sp",
150
+ "kvdtype": "bfloat16",
151
+ "layer_types": [
152
+ "linear_attention",
153
+ "linear_attention",
154
+ "linear_attention",
155
+ "full_attention",
156
+ "linear_attention",
157
+ "linear_attention",
158
+ "linear_attention",
159
+ "full_attention",
160
+ "linear_attention",
161
+ "linear_attention",
162
+ "linear_attention",
163
+ "full_attention",
164
+ "linear_attention",
165
+ "linear_attention",
166
+ "linear_attention",
167
+ "full_attention",
168
+ "linear_attention",
169
+ "linear_attention",
170
+ "linear_attention",
171
+ "full_attention",
172
+ "linear_attention",
173
+ "linear_attention",
174
+ "linear_attention",
175
+ "full_attention"
176
+ ],
177
+ "linear_attention_separate_proj": true,
178
+ "linear_conv_kernel_dim": 4,
179
+ "linear_key_head_dim": 128,
180
+ "linear_num_key_heads": 16,
181
+ "linear_num_value_heads": 16,
182
+ "linear_value_head_dim": 128,
183
+ "lmhead_chunksize": null,
184
+ "mamba_ssm_dtype": "float32",
185
+ "max_position_embeddings": 262144,
186
+ "mla_attn_dtype": "bfloat16",
187
+ "mla_attn_mechanism": "auto",
188
+ "mla_attn_softmax_dtype": "float32",
189
+ "mlp_only_layers": [
190
+ 0,
191
+ 1,
192
+ 2,
193
+ 3,
194
+ 4,
195
+ 5,
196
+ 6,
197
+ 7,
198
+ 8,
199
+ 9,
200
+ 10,
201
+ 11,
202
+ 12,
203
+ 13,
204
+ 14,
205
+ 15,
206
+ 16,
207
+ 17,
208
+ 18,
209
+ 19,
210
+ 20,
211
+ 21,
212
+ 22,
213
+ 23
214
+ ],
215
+ "model_type": "qwen3_5_text",
216
+ "moe_force_xla_gmm": false,
217
+ "moe_intermediate_size": 512,
218
+ "moe_method": "fused_moe",
219
+ "moe_tiling_size_batch": 4,
220
+ "moe_tiling_size_dim": 128,
221
+ "moe_tiling_size_seqlen": 128,
222
+ "mtp_num_hidden_layers": 1,
223
+ "mtp_use_dedicated_embeddings": false,
224
+ "norm_topk_prob": true,
225
+ "num_attention_heads": 8,
226
+ "num_experts": 256,
227
+ "num_experts_per_tok": 8,
228
+ "num_hidden_layers": 24,
229
+ "num_key_value_heads": 2,
230
+ "num_local_experts": 256,
231
+ "operation_configs": null,
232
+ "output_router_logits": false,
233
+ "pad_token_id": null,
234
+ "pallas_k_block_size": 128,
235
+ "pallas_m_block_size": 128,
236
+ "pallas_n_block_size": 128,
237
+ "partial_rotary_factor": 0.25,
238
+ "partition_axis": {
239
+ "attention_dim_axis": null,
240
+ "attention_kv_dim_axis": null,
241
+ "batch_axis": [
242
+ "fsdp",
243
+ "dp"
244
+ ],
245
+ "bias_head_sequence_axis": null,
246
+ "bias_key_sequence_axis": null,
247
+ "data_parallel_axis": "dp",
248
+ "decode_attention_dim_axis": null,
249
+ "decode_attention_kv_dim_axis": null,
250
+ "decode_batch_axis": [
251
+ "fsdp",
252
+ "dp"
253
+ ],
254
+ "decode_head_axis": "tp",
255
+ "decode_key_sequence_axis": "sp",
256
+ "decode_kv_head_axis": "tp",
257
+ "decode_query_sequence_axis": null,
258
+ "expert_axis": "ep",
259
+ "expert_gate_axis": null,
260
+ "expert_parallel_axis": "ep",
261
+ "fully_sharded_data_parallel_axis": "fsdp",
262
+ "head_axis": "tp",
263
+ "hidden_state_axis": "tp",
264
+ "key_sequence_axis": "sp",
265
+ "kv_head_axis": "tp",
266
+ "mlp_intermediate_axis": "tp",
267
+ "query_sequence_axis": "sp",
268
+ "sequence_axis": "sp",
269
+ "sequence_parallel_axis": "sp",
270
+ "tensor_parallel_axis": "tp",
271
+ "vocab_axis": "tp"
272
+ },
273
+ "platform": null,
274
+ "precompute_masks": true,
275
+ "pretraining_tp": 1,
276
+ "qmm_platform_override": null,
277
+ "qmm_tpu_path_override": null,
278
+ "quantization_config": null,
279
+ "rms_norm_eps": 1e-06,
280
+ "rope_parameters": {
281
+ "mrope_interleaved": true,
282
+ "mrope_section": [
283
+ 11,
284
+ 11,
285
+ 10
286
+ ],
287
+ "partial_rotary_factor": 0.25,
288
+ "rope_theta": 10000000,
289
+ "rope_type": "default",
290
+ "type": "default"
291
+ },
292
+ "rope_theta": 10000000,
293
+ "router_aux_loss_coef": 0.001,
294
+ "scan_attention_layers": false,
295
+ "scan_mlp_chunk_size": 1024,
296
+ "scan_ring_attention": true,
297
+ "sep_token_id": null,
298
+ "sequence_axis_name": "sp",
299
+ "sharding_axis_dims": [
300
+ 1,
301
+ -1,
302
+ 1,
303
+ 1,
304
+ 1
305
+ ],
306
+ "sharding_axis_names": [
307
+ "dp",
308
+ "fsdp",
309
+ "ep",
310
+ "tp",
311
+ "sp"
312
+ ],
313
+ "sharding_dcn_axis_dims": null,
314
+ "shared_expert_intermediate_size": 512,
315
+ "sp_is_ep_bound": true,
316
+ "tie_encoder_decoder": false,
317
+ "tie_word_embeddings": true,
318
+ "use_cache": true,
319
+ "use_expert_tensor_mode": false,
320
+ "use_qmm_best_config": false,
321
+ "use_ring_of_experts": false,
322
+ "use_scan_mlp": false,
323
+ "use_sharded_kv_caching": false,
324
+ "use_sharding_constraint": false,
325
+ "vocab_size": 248320
326
+ },
327
+ "tie_encoder_decoder": false,
328
+ "tie_word_embeddings": true,
329
+ "transformers_version": "5.5.0",
330
+ "use_expert_tensor_mode": false,
331
+ "use_qmm_best_config": false,
332
+ "use_ring_of_experts": false,
333
+ "use_scan_mlp": false,
334
+ "use_sharded_kv_caching": false,
335
+ "use_sharding_constraint": false,
336
+ "video_token_id": 248057,
337
+ "vision_config": {
338
+ "_external_rope_config_kwargs": {},
339
+ "add_cross_attention": false,
340
+ "architectures": [
341
+ "Qwen3_5ForConditionalGeneration"
342
+ ],
343
+ "attn_dtype": "bfloat16",
344
+ "attn_mechanism": "vanilla",
345
+ "attn_softmax_dtype": "float32",
346
+ "backend": null,
347
+ "bits": null,
348
+ "blocksize_b": 1,
349
+ "blocksize_k": 512,
350
+ "blocksize_q": 512,
351
+ "bos_token_id": null,
352
+ "cross_attention_hidden_size": null,
353
+ "decode_attn_mechanism": null,
354
+ "decoder_start_token_id": null,
355
+ "deepstack_visual_indexes": [],
356
+ "depth": 24,
357
+ "easy_method": "train",
358
+ "embed_dim": 1024,
359
+ "eos_token_id": null,
360
+ "fcm_max_ratio": 0.0,
361
+ "fcm_min_ratio": 0.0,
362
+ "flash_attention_backward_pass_impl": "triton",
363
+ "fsdp_is_ep_bound": true,
364
+ "gradient_checkpointing": "",
365
+ "gradient_checkpointing_targets": null,
366
+ "hardware_abstraction": false,
367
+ "hidden_act": "gelu_pytorch_tanh",
368
+ "hidden_size": 1024,
369
+ "in_channels": 3,
370
+ "initializer_range": 0.02,
371
+ "intermediate_size": 4096,
372
+ "is_decoder": false,
373
+ "kv_cache_quantization_config": null,
374
+ "kv_cache_sharding_sequence_axis_name": "sp",
375
+ "kvdtype": "bfloat16",
376
+ "lmhead_chunksize": null,
377
+ "max_position_embeddings": null,
378
+ "mla_attn_dtype": "bfloat16",
379
+ "mla_attn_mechanism": "auto",
380
+ "mla_attn_softmax_dtype": "float32",
381
+ "model_type": "qwen3_5",
382
+ "moe_force_xla_gmm": false,
383
+ "moe_method": "fused_moe",
384
+ "moe_tiling_size_batch": 4,
385
+ "moe_tiling_size_dim": 128,
386
+ "moe_tiling_size_seqlen": 128,
387
+ "num_attention_heads": 16,
388
+ "num_heads": 16,
389
+ "num_position_embeddings": 2304,
390
+ "operation_configs": null,
391
+ "out_hidden_size": 2048,
392
+ "pad_token_id": null,
393
+ "pallas_k_block_size": 128,
394
+ "pallas_m_block_size": 128,
395
+ "pallas_n_block_size": 128,
396
+ "partition_axis": {
397
+ "attention_dim_axis": null,
398
+ "attention_kv_dim_axis": null,
399
+ "batch_axis": [
400
+ "fsdp",
401
+ "dp"
402
+ ],
403
+ "bias_head_sequence_axis": null,
404
+ "bias_key_sequence_axis": null,
405
+ "data_parallel_axis": "dp",
406
+ "decode_attention_dim_axis": null,
407
+ "decode_attention_kv_dim_axis": null,
408
+ "decode_batch_axis": [
409
+ "fsdp",
410
+ "dp"
411
+ ],
412
+ "decode_head_axis": "tp",
413
+ "decode_key_sequence_axis": "sp",
414
+ "decode_kv_head_axis": "tp",
415
+ "decode_query_sequence_axis": null,
416
+ "expert_axis": "ep",
417
+ "expert_gate_axis": null,
418
+ "expert_parallel_axis": "ep",
419
+ "fully_sharded_data_parallel_axis": "fsdp",
420
+ "head_axis": "tp",
421
+ "hidden_state_axis": "tp",
422
+ "key_sequence_axis": "sp",
423
+ "kv_head_axis": "tp",
424
+ "mlp_intermediate_axis": "tp",
425
+ "query_sequence_axis": "sp",
426
+ "sequence_axis": "sp",
427
+ "sequence_parallel_axis": "sp",
428
+ "tensor_parallel_axis": "tp",
429
+ "vocab_axis": "tp"
430
+ },
431
+ "patch_size": 16,
432
+ "platform": null,
433
+ "precompute_masks": true,
434
+ "pretraining_tp": 1,
435
+ "qmm_platform_override": null,
436
+ "qmm_tpu_path_override": null,
437
+ "quantization_config": null,
438
+ "scan_attention_layers": false,
439
+ "scan_mlp_chunk_size": 1024,
440
+ "scan_ring_attention": true,
441
+ "sep_token_id": null,
442
+ "sequence_axis_name": "sp",
443
+ "sharding_axis_dims": [
444
+ 1,
445
+ -1,
446
+ 1,
447
+ 1,
448
+ 1
449
+ ],
450
+ "sharding_axis_names": [
451
+ "dp",
452
+ "fsdp",
453
+ "ep",
454
+ "tp",
455
+ "sp"
456
+ ],
457
+ "sharding_dcn_axis_dims": null,
458
+ "sp_is_ep_bound": true,
459
+ "spatial_merge_size": 2,
460
+ "temporal_patch_size": 2,
461
+ "tie_encoder_decoder": false,
462
+ "tie_word_embeddings": true,
463
+ "tokens_per_second": 2.0,
464
+ "use_expert_tensor_mode": false,
465
+ "use_qmm_best_config": false,
466
+ "use_ring_of_experts": false,
467
+ "use_scan_mlp": false,
468
+ "use_sharded_kv_caching": false,
469
+ "use_sharding_constraint": false
470
+ },
471
+ "vision_end_token_id": 248054,
472
+ "vision_start_token_id": 248053
473
+ }
model/model/language_model/embed_tokens/embedding/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[62080,2048],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[248320,2048],"zarr_format":2}
model/model/language_model/layers/0/input_layernorm/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[2048],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048],"zarr_format":2}
model/model/language_model/layers/0/input_layernorm/kernel/0 ADDED
Binary file (3.06 kB). View file
 
model/model/language_model/layers/0/linear_attn/A_log/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[16],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/A_log/0 ADDED
Binary file (41 Bytes). View file
 
model/model/language_model/layers/0/linear_attn/conv1d/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[4,1,6144],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[4,1,6144],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/conv1d/kernel/0.0.0 ADDED
Binary file (41.2 kB). View file
 
model/model/language_model/layers/0/linear_attn/dt_bias/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[16],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/dt_bias/0 ADDED
Binary file (41 Bytes). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,16],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/0.0 ADDED
Binary file (13 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/1.0 ADDED
Binary file (13 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/2.0 ADDED
Binary file (13 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_a/kernel/3.0 ADDED
Binary file (13 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,16],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/0.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/1.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/2.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_b/kernel/3.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/0/linear_attn/in_proj_qkv/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,6144],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,6144],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/in_proj_z/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,2048],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,2048],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/norm/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[128],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[128],"zarr_format":2}
model/model/language_model/layers/0/linear_attn/norm/kernel/0 ADDED
Binary file (171 Bytes). View file
 
model/model/language_model/layers/0/linear_attn/out_proj/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[2048,512],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,2048],"zarr_format":2}
model/model/language_model/layers/0/mlp/down_proj/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[6144,512],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[6144,2048],"zarr_format":2}
model/model/language_model/layers/0/mlp/gate_proj/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,6144],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,6144],"zarr_format":2}
model/model/language_model/layers/0/mlp/up_proj/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,6144],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,6144],"zarr_format":2}
model/model/language_model/layers/0/post_attention_layernorm/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[2048],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048],"zarr_format":2}
model/model/language_model/layers/0/post_attention_layernorm/kernel/0 ADDED
Binary file (3.15 kB). View file
 
model/model/language_model/layers/1/input_layernorm/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[2048],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048],"zarr_format":2}
model/model/language_model/layers/1/input_layernorm/kernel/0 ADDED
Binary file (2.53 kB). View file
 
model/model/language_model/layers/1/linear_attn/A_log/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[16],"zarr_format":2}
model/model/language_model/layers/1/linear_attn/A_log/0 ADDED
Binary file (41 Bytes). View file
 
model/model/language_model/layers/1/linear_attn/conv1d/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[4,1,6144],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[4,1,6144],"zarr_format":2}
model/model/language_model/layers/1/linear_attn/conv1d/kernel/0.0.0 ADDED
Binary file (41.3 kB). View file
 
model/model/language_model/layers/1/linear_attn/dt_bias/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[16],"zarr_format":2}
model/model/language_model/layers/1/linear_attn/dt_bias/0 ADDED
Binary file (41 Bytes). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,16],"zarr_format":2}
model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/0.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/1.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/2.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_a/kernel/3.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/.zarray ADDED
@@ -0,0 +1 @@
 
 
1
+ {"chunks":[512,16],"compressor":{"id":"zstd","level":1},"dimension_separator":".","dtype":"bfloat16","fill_value":null,"filters":null,"order":"C","shape":[2048,16],"zarr_format":2}
model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/0.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/1.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/2.0 ADDED
Binary file (12.9 kB). View file
 
model/model/language_model/layers/1/linear_attn/in_proj_b/kernel/3.0 ADDED
Binary file (12.9 kB). View file