sigilwen commited on
Commit
bf360c3
·
verified ·
1 Parent(s): 6994de6

Back up audited Stage-2 inference milestone 46

Browse files
publications/publication_state.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "format": "dsv4vl-publication-state-v1",
3
- "updated_at": "2026-08-06T07:40:27Z",
4
  "base_model": "deepseek-ai/DeepSeek-V4-Flash-0731",
5
  "hardware": "8x NVIDIA H200 SXM (141 GB), expert parallel size 8",
6
  "phase": "Stage 2 production training is running",
7
  "training_status": "running",
8
- "current_step": 14,
9
- "latest_audited_checkpoint": 0,
10
- "latest_loss": 0.98855215,
11
- "latest_grad_norm": 0.93235624,
12
  "target_steps": 7813,
13
  "measured_seconds_per_step": 58.381959,
14
  "projected_hours_with_safety_factor": 158.38133530104167,
 
1
  {
2
  "format": "dsv4vl-publication-state-v1",
3
+ "updated_at": "2026-08-06T08:03:54Z",
4
  "base_model": "deepseek-ai/DeepSeek-V4-Flash-0731",
5
  "hardware": "8x NVIDIA H200 SXM (141 GB), expert parallel size 8",
6
  "phase": "Stage 2 production training is running",
7
  "training_status": "running",
8
+ "current_step": 46,
9
+ "latest_audited_checkpoint": 46,
10
+ "latest_loss": 0.82341373,
11
+ "latest_grad_norm": 0.14073555,
12
  "target_steps": 7813,
13
  "measured_seconds_per_step": 58.381959,
14
  "projected_hours_with_safety_factor": 158.38133530104167,
publications/research-paper.md CHANGED
@@ -8,11 +8,11 @@
8
 
9
  | Field | Current value |
10
  |---|---|
11
- | Snapshot (UTC) | 2026-08-06T07:40:27Z |
12
  | Phase | Stage 2 production training is running |
13
- | Stage-2 progress | 14/7,813 optimizer steps (0.18%) |
14
- | Latest audited checkpoint | None yet |
15
- | Latest live metrics | loss 0.98855215; gradient norm 0.93235624 |
16
  | Measured throughput | 58.382 s/optimizer step |
17
  | Guarded projection | 158.38 h and $5,654.21 (includes 1.25x safety factor) |
18
  | Checkpoint policy | every 46 steps (~44.76 min); retain newest 5 |
 
8
 
9
  | Field | Current value |
10
  |---|---|
11
+ | Snapshot (UTC) | 2026-08-06T08:03:54Z |
12
  | Phase | Stage 2 production training is running |
13
+ | Stage-2 progress | 46/7,813 optimizer steps (0.59%) |
14
+ | Latest audited checkpoint | step 46 |
15
+ | Latest live metrics | loss 0.82341373; gradient norm 0.14073555 |
16
  | Measured throughput | 58.382 s/optimizer step |
17
  | Guarded projection | 158.38 h and $5,654.21 (includes 1.25x safety factor) |
18
  | Checkpoint policy | every 46 steps (~44.76 min); retain newest 5 |
publications/technical-report.md CHANGED
@@ -9,11 +9,11 @@
9
 
10
  | Field | Current value |
11
  |---|---|
12
- | Snapshot (UTC) | 2026-08-06T07:40:27Z |
13
  | Phase | Stage 2 production training is running |
14
- | Stage-2 progress | 14/7,813 optimizer steps (0.18%) |
15
- | Latest audited checkpoint | None yet |
16
- | Latest live metrics | loss 0.98855215; gradient norm 0.93235624 |
17
  | Measured throughput | 58.382 s/optimizer step |
18
  | Guarded projection | 158.38 h and $5,654.21 (includes 1.25x safety factor) |
19
  | Checkpoint policy | every 46 steps (~44.76 min); retain newest 5 |
 
9
 
10
  | Field | Current value |
11
  |---|---|
12
+ | Snapshot (UTC) | 2026-08-06T08:03:54Z |
13
  | Phase | Stage 2 production training is running |
14
+ | Stage-2 progress | 46/7,813 optimizer steps (0.59%) |
15
+ | Latest audited checkpoint | step 46 |
16
+ | Latest live metrics | loss 0.82341373; gradient norm 0.14073555 |
17
  | Measured throughput | 58.382 s/optimizer step |
18
  | Guarded projection | 158.38 h and $5,654.21 (includes 1.25x safety factor) |
19
  | Checkpoint policy | every 46 steps (~44.76 min); retain newest 5 |
recovery_manifest.json CHANGED
@@ -142,18 +142,18 @@
142
  },
143
  {
144
  "path": "publications/publication_state.json",
145
- "bytes": 1283,
146
- "sha256": "112bfa360f96794dcc70a5f51f7f5cc458a5c313fa3e767c5556e605ddacda46"
147
  },
148
  {
149
  "path": "publications/research-paper.md",
150
- "bytes": 20855,
151
- "sha256": "30ceabcc3d463c84e7a5817f59f18f12491304d223235488f276442b22509c91"
152
  },
153
  {
154
  "path": "publications/technical-report.md",
155
- "bytes": 16416,
156
- "sha256": "5c9793dad22b2883fba71b336fe553ca612992d2a22481be892e70f197b0faa5"
157
  },
158
  {
159
  "path": "stage1/metadata.json",
@@ -164,7 +164,37 @@
164
  "path": "stage1/projector.safetensors",
165
  "bytes": 43008480,
166
  "sha256": "f191e25b114cbbee99a88bf0acc364e009af1dcd8e2085d5b89fffd067ee1b56"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
168
  ],
169
- "updated_at": "2026-08-06T07:41:27Z"
170
  }
 
142
  },
143
  {
144
  "path": "publications/publication_state.json",
145
+ "bytes": 1284,
146
+ "sha256": "07b79ed44130f5bf8fa0b3e762202dbba765dd4c0498e5fd27fc08e0599ce66d"
147
  },
148
  {
149
  "path": "publications/research-paper.md",
150
+ "bytes": 20854,
151
+ "sha256": "ef68cd9abb99e0eea8de6799d07eeff763d216cbca50dcf4a38d18528ff888da"
152
  },
153
  {
154
  "path": "publications/technical-report.md",
155
+ "bytes": 16415,
156
+ "sha256": "0a8fcf58af8c4311be613d08cd37fff718a6aa1c9a07ba9cec5dcf2a40f2dd20"
157
  },
158
  {
159
  "path": "stage1/metadata.json",
 
164
  "path": "stage1/projector.safetensors",
165
  "bytes": 43008480,
166
  "sha256": "f191e25b114cbbee99a88bf0acc364e009af1dcd8e2085d5b89fffd067ee1b56"
167
+ },
168
+ {
169
+ "path": "stage2/milestones/checkpoint-0000046/adapter_model.safetensors",
170
+ "bytes": 307219032,
171
+ "sha256": "f85e950e478efca828cccd35199d3319f925aba7870d4f8e76e39c57fd8545db"
172
+ },
173
+ {
174
+ "path": "stage2/milestones/checkpoint-0000046/args.json",
175
+ "bytes": 14952,
176
+ "sha256": "eaf7b14ff4b3893b5ad83e42596727507c80ffc9c2eb5d5abe46490de02a87af"
177
+ },
178
+ {
179
+ "path": "stage2/milestones/checkpoint-0000046/latest_checkpointed_iteration.txt",
180
+ "bytes": 2,
181
+ "sha256": "25fc0e7096fc653718202dc30b0c580b8ab87eac11a700cba03a7c021bc35b0c"
182
+ },
183
+ {
184
+ "path": "stage2/milestones/checkpoint-0000046/projector.safetensors",
185
+ "bytes": 43008480,
186
+ "sha256": "e5063019e46de4fa06f8f599863452e6d0a3d11b67390fdf4dff628b0bda70cf"
187
+ },
188
+ {
189
+ "path": "stage2/milestones/checkpoint-0000046/projector_metadata.json",
190
+ "bytes": 854,
191
+ "sha256": "358efd1b8d01be3958e50d497b068974480f1a50a487c9982532b2a4e397b7a6"
192
+ },
193
+ {
194
+ "path": "stage2/milestones/checkpoint-0000046/recovery_receipt.json",
195
+ "bytes": 2733,
196
+ "sha256": "4a124d98a847184517985dfb44ff7b481ae8fef05d07ab6d3e9c540b92003b97"
197
  }
198
  ],
199
+ "updated_at": "2026-08-06T08:04:21Z"
200
  }
stage2/milestones/checkpoint-0000046/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85e950e478efca828cccd35199d3319f925aba7870d4f8e76e39c57fd8545db
3
+ size 307219032
stage2/milestones/checkpoint-0000046/args.json ADDED
@@ -0,0 +1,451 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "use_ray": false,
3
+ "ray_exp_name": null,
4
+ "device_groups": null,
5
+ "model": "/workspace/models/DSV4-VL-init",
6
+ "model_type": "dsv4_vl",
7
+ "model_revision": null,
8
+ "task_type": "causal_lm",
9
+ "torch_dtype": "bfloat16",
10
+ "attn_impl": null,
11
+ "experts_impl": null,
12
+ "new_special_tokens": [],
13
+ "num_labels": null,
14
+ "problem_type": null,
15
+ "rope_scaling": null,
16
+ "device_map": null,
17
+ "max_memory": {},
18
+ "max_model_len": null,
19
+ "local_repo_path": null,
20
+ "init_strategy": null,
21
+ "template": "dsv4_vl",
22
+ "system": null,
23
+ "max_length": 4096,
24
+ "truncation_strategy": "delete",
25
+ "max_pixels": null,
26
+ "agent_template": null,
27
+ "norm_bbox": null,
28
+ "use_chat_template": true,
29
+ "padding_side": "right",
30
+ "padding_free": false,
31
+ "loss_scale": "ignore_empty_think",
32
+ "sequence_parallel_size": 1,
33
+ "is_binary_loss_scale": null,
34
+ "template_backend": "swift",
35
+ "response_prefix": null,
36
+ "enable_thinking": null,
37
+ "preserve_thinking": null,
38
+ "add_non_thinking_prefix": true,
39
+ "disable_ignore_empty_think": false,
40
+ "dataset": [
41
+ "/workspace/datasets/stage2_mix.jsonl"
42
+ ],
43
+ "val_dataset": [],
44
+ "cached_dataset": [],
45
+ "cached_val_dataset": [],
46
+ "split_dataset_ratio": 0.0,
47
+ "data_seed": 42,
48
+ "dataset_num_proc": 8,
49
+ "load_from_cache_file": false,
50
+ "dataset_shuffle": true,
51
+ "val_dataset_shuffle": false,
52
+ "streaming": false,
53
+ "interleave_prob": null,
54
+ "stopping_strategy": "first_exhausted",
55
+ "shuffle_buffer_size": 1000,
56
+ "download_mode": "reuse_dataset_if_exists",
57
+ "columns": {},
58
+ "strict": false,
59
+ "remove_unused_columns": true,
60
+ "disable_auto_column_mapping": false,
61
+ "model_name": null,
62
+ "model_author": null,
63
+ "custom_dataset_info": [],
64
+ "quant_method": null,
65
+ "quant_bits": null,
66
+ "hqq_axis": null,
67
+ "bnb_4bit_compute_dtype": "bfloat16",
68
+ "bnb_4bit_quant_type": "nf4",
69
+ "bnb_4bit_use_double_quant": true,
70
+ "bnb_4bit_quant_storage": null,
71
+ "max_new_tokens": null,
72
+ "temperature": 0.9,
73
+ "top_k": -1,
74
+ "top_p": 1.0,
75
+ "repetition_penalty": 1.0,
76
+ "num_beams": 1,
77
+ "stream": false,
78
+ "stop_words": [],
79
+ "logprobs": false,
80
+ "top_logprobs": null,
81
+ "structured_outputs_regex": null,
82
+ "tuner_backend": "peft",
83
+ "tuner_type": "lora",
84
+ "adapters": [],
85
+ "external_plugins": [
86
+ "/workspace/dsv4vision/vision/swift_plugin/dsv4_vl_swift.py",
87
+ "/workspace/dsv4vision/vision/mcore_plugin/dsv4_vl_mcore.py"
88
+ ],
89
+ "custom_register_path": [],
90
+ "seed": 42,
91
+ "model_kwargs": {},
92
+ "enable_npu_model_patch": true,
93
+ "load_args": false,
94
+ "load_data_args": false,
95
+ "packing": false,
96
+ "packing_length": null,
97
+ "packing_num_proc": 1,
98
+ "packing_strategy": "binpack",
99
+ "lazy_tokenize": true,
100
+ "use_hf": false,
101
+ "hub_token": null,
102
+ "ddp_timeout": 18000000,
103
+ "ddp_backend": "nccl",
104
+ "ignore_args_error": false,
105
+ "use_swift_lora": false,
106
+ "freeze_llm": false,
107
+ "freeze_vit": true,
108
+ "freeze_aligner": false,
109
+ "freeze_parameters": [],
110
+ "freeze_parameters_regex": null,
111
+ "freeze_parameters_ratio": 0.0,
112
+ "trainable_parameters": [],
113
+ "trainable_parameters_regex": null,
114
+ "target_modules": [
115
+ "linear_q_down_proj",
116
+ "linear_q_up_proj",
117
+ "linear_kv_proj",
118
+ "linear_proj",
119
+ "linear_o_group_proj"
120
+ ],
121
+ "target_regex": null,
122
+ "modules_to_save": [],
123
+ "lora_rank": 64,
124
+ "lora_alpha": 128,
125
+ "lora_dropout": 0.0,
126
+ "lora_bias": "none",
127
+ "lora_dtype": null,
128
+ "use_rslora": false,
129
+ "rlhf_type": null,
130
+ "loss_type": null,
131
+ "mcore_ref_model": null,
132
+ "mcore_ref_adapter": null,
133
+ "beta": null,
134
+ "rpo_alpha": null,
135
+ "reference_free": false,
136
+ "label_smoothing": 0.0,
137
+ "f_divergence_type": "reverse_kl",
138
+ "desirable_weight": 1.0,
139
+ "undesirable_weight": 1.0,
140
+ "calculate_KL": null,
141
+ "center_rewards_coefficient": null,
142
+ "teacher_model": null,
143
+ "teacher_model_type": null,
144
+ "teacher_model_revision": null,
145
+ "_teacher_use_disable_adapter": false,
146
+ "teacher_model_server": null,
147
+ "teacher_tag_key": "dataset",
148
+ "gkd_logits_topk": null,
149
+ "lmbda": 0.5,
150
+ "seq_kd": false,
151
+ "offload_teacher_model": false,
152
+ "sft_alpha": 0.0,
153
+ "teacher_kl_coef": 1.0,
154
+ "generation_batch_size": null,
155
+ "steps_per_generation": null,
156
+ "num_generations": 8,
157
+ "num_generations_eval": null,
158
+ "max_completion_length": 512,
159
+ "importance_sampling_level": "token",
160
+ "tau_pos": 1.0,
161
+ "tau_neg": 1.05,
162
+ "real_tau": 0.5,
163
+ "fipo_decay_rate": 32.0,
164
+ "fipo_clip_range": 0.2,
165
+ "fipo_clip_high_only": true,
166
+ "fipo_safety_threshold": 4.0,
167
+ "epsilon": 0.2,
168
+ "epsilon_high": null,
169
+ "delta": null,
170
+ "use_vllm": true,
171
+ "vllm_mode": null,
172
+ "vllm_enable_prefix_caching": true,
173
+ "vllm_gpu_memory_utilization": 0.9,
174
+ "vllm_tensor_parallel_size": 1,
175
+ "vllm_max_model_len": null,
176
+ "vllm_enforce_eager": false,
177
+ "vllm_limit_mm_per_prompt": null,
178
+ "vllm_disable_cascade_attn": false,
179
+ "vllm_max_num_seqs": null,
180
+ "vllm_mm_processor_cache_gb": null,
181
+ "vllm_engine_kwargs": null,
182
+ "vllm_enable_lora": false,
183
+ "sleep_level": 0,
184
+ "offload_optimizer": false,
185
+ "offload_model": false,
186
+ "offload_bridge": false,
187
+ "vllm_server_base_url": null,
188
+ "vllm_server_host": null,
189
+ "vllm_server_port": [
190
+ 8000
191
+ ],
192
+ "vllm_server_timeout": 240.0,
193
+ "vllm_server_group_port": null,
194
+ "reward_funcs": [],
195
+ "reward_weights": null,
196
+ "cosine_min_len_value_wrong": -0.5,
197
+ "cosine_max_len_value_wrong": 0.0,
198
+ "cosine_min_len_value_correct": 1.0,
199
+ "cosine_max_len_value_correct": 0.5,
200
+ "cosine_max_len": null,
201
+ "repetition_n_grams": 3,
202
+ "repetition_max_penalty": -1.0,
203
+ "soft_max_length": null,
204
+ "soft_cache_length": null,
205
+ "dynamic_sample": false,
206
+ "max_resample_times": 3,
207
+ "overlong_filter": false,
208
+ "scale_rewards": "group",
209
+ "advantage_estimator": "grpo",
210
+ "kl_in_reward": false,
211
+ "wandb_log_unique_prompts": null,
212
+ "log_completions": false,
213
+ "rollout_importance_sampling_mode": null,
214
+ "rollout_importance_sampling_threshold": 2.0,
215
+ "log_rollout_offpolicy_metrics": false,
216
+ "off_policy_sequence_mask_delta": null,
217
+ "log_entropy": false,
218
+ "top_entropy_quantile": 1.0,
219
+ "router_replay_mode": "disabled",
220
+ "reward_model": null,
221
+ "reward_model_plugin": null,
222
+ "sync_ref_model": false,
223
+ "ref_model_sync_steps": 512,
224
+ "ref_model_mixup_alpha": 0.6,
225
+ "async_generate": false,
226
+ "move_model_batches": null,
227
+ "multi_turn_scheduler": null,
228
+ "max_turns": null,
229
+ "completion_length_limit_scope": "per_round",
230
+ "vllm_server_pass_dataset": false,
231
+ "use_gym_env": null,
232
+ "gym_env": null,
233
+ "num_iterations": 1,
234
+ "micro_batch_size": 1,
235
+ "global_batch_size": 128,
236
+ "recompute_granularity": "full",
237
+ "recompute_method": "uniform",
238
+ "recompute_num_layers": 1,
239
+ "recompute_modules": [
240
+ "core_attn"
241
+ ],
242
+ "train_iters": 7813,
243
+ "num_train_epochs": null,
244
+ "masked_softmax_fusion": true,
245
+ "bias_dropout_fusion": true,
246
+ "bias_activation_fusion": true,
247
+ "apply_rope_fusion": false,
248
+ "gradient_accumulation_fusion": true,
249
+ "cross_entropy_loss_fusion": true,
250
+ "cross_entropy_fusion_impl": "native",
251
+ "calculate_per_token_loss": true,
252
+ "attention_backend": "<AttnBackend.flash: 1>",
253
+ "optimizer": "adam",
254
+ "optimizer_cpu_offload": false,
255
+ "optimizer_offload_fraction": 1.0,
256
+ "optimizer_cuda_graph": false,
257
+ "use_precision_aware_optimizer": false,
258
+ "main_grads_dtype": "float32",
259
+ "main_params_dtype": "float32",
260
+ "exp_avg_dtype": "float32",
261
+ "exp_avg_sq_dtype": "float32",
262
+ "manual_gc": false,
263
+ "manual_gc_steps": 0,
264
+ "manual_gc_eval": true,
265
+ "train_dataloader_shuffle": true,
266
+ "dataloader_num_workers": 8,
267
+ "dataloader_pin_memory": true,
268
+ "dataloader_persistent_workers": false,
269
+ "dataloader_prefetch_factor": 2,
270
+ "data_sharding": false,
271
+ "group_by_length": false,
272
+ "te_rng_tracker": false,
273
+ "data_parallel_random_init": false,
274
+ "mlp_padding_free": false,
275
+ "lr_warmup_init": 0.0,
276
+ "lr": 0.0002,
277
+ "lr_decay_style": "cosine",
278
+ "lr_decay_iters": null,
279
+ "lr_warmup_iters": 0,
280
+ "lr_warmup_fraction": 0.03,
281
+ "min_lr": 2e-05,
282
+ "lr_wsd_decay_style": "exponential",
283
+ "lr_wsd_decay_iters": null,
284
+ "weight_decay": 0.1,
285
+ "weight_decay_incr_style": "constant",
286
+ "start_weight_decay": 0.1,
287
+ "end_weight_decay": 0.1,
288
+ "clip_grad": 1.0,
289
+ "adam_beta1": 0.9,
290
+ "adam_beta2": 0.95,
291
+ "adam_eps": 1e-08,
292
+ "sgd_momentum": 0.9,
293
+ "muon_momentum": 0.9,
294
+ "muon_split_qkv": true,
295
+ "muon_use_nesterov": false,
296
+ "muon_scale_mode": "spectral",
297
+ "muon_fp32_matmul_prec": "medium",
298
+ "muon_coefficient_type": "quintic",
299
+ "muon_num_ns_steps": 5,
300
+ "muon_tp_mode": "blockwise",
301
+ "muon_extra_scale_factor": 1.0,
302
+ "muon_scalar_optimizer": "adam",
303
+ "output_dir": "/workspace/outputs/stage2_lora",
304
+ "save_steps": 46,
305
+ "no_save_optim": false,
306
+ "no_save_rng": false,
307
+ "mcore_model": "/workspace/models/DSV4-VL-init-mcore-bf16",
308
+ "mcore_adapter": null,
309
+ "no_load_optim": false,
310
+ "no_load_rng": false,
311
+ "finetune": true,
312
+ "perform_initialization": false,
313
+ "use_cpu_initialization": false,
314
+ "async_save": false,
315
+ "save_total_limit": 5,
316
+ "metric_for_best_model": "loss",
317
+ "greater_is_better": false,
318
+ "use_persistent_ckpt_worker": false,
319
+ "dist_ckpt_save_pre_mcore_014": false,
320
+ "dist_ckpt_optim_fully_reshardable": false,
321
+ "distrib_optim_fully_reshardable_mem_efficient": false,
322
+ "local_rank": 0,
323
+ "use_distributed_optimizer": true,
324
+ "use_megatron_fsdp": false,
325
+ "data_parallel_sharding_strategy": "optim_grads_params",
326
+ "tensor_model_parallel_size": 1,
327
+ "pipeline_model_parallel_size": 1,
328
+ "decoder_first_pipeline_num_layers": null,
329
+ "decoder_last_pipeline_num_layers": null,
330
+ "account_for_embedding_in_pipeline_split": false,
331
+ "account_for_loss_in_pipeline_split": false,
332
+ "overlap_p2p_comm": false,
333
+ "batch_p2p_comm": true,
334
+ "align_param_gather": false,
335
+ "sequence_parallel": false,
336
+ "context_parallel_size": 1,
337
+ "cp_comm_type": null,
338
+ "cp_partition_mode": "zigzag",
339
+ "sequence_packing_scheduler": null,
340
+ "tp_comm_overlap": false,
341
+ "overlap_grad_reduce": false,
342
+ "overlap_param_gather": false,
343
+ "overlap_param_gather_with_optimizer_step": false,
344
+ "align_grad_reduce": true,
345
+ "nccl_comm_warmup": false,
346
+ "virtual_pipeline_model_parallel_size": null,
347
+ "microbatch_group_size_per_vp_stage": null,
348
+ "pipeline_model_parallel_layout": null,
349
+ "expert_model_parallel_size": 8,
350
+ "expert_tensor_parallel_size": 1,
351
+ "report_to": [
352
+ "tensorboard"
353
+ ],
354
+ "logging_steps": 1,
355
+ "tensorboard_dir": "/workspace/outputs/stage2_lora/runs",
356
+ "tensorboard_queue_size": 50,
357
+ "wandb_project": "megatron-swift",
358
+ "wandb_exp_name": null,
359
+ "swanlab_project": "megatron-swift",
360
+ "swanlab_exp_name": null,
361
+ "eval_iters": -1,
362
+ "eval_steps": 46,
363
+ "fp8_format": null,
364
+ "fp8_recipe": "delayed",
365
+ "fp8_param_gather": false,
366
+ "fp8_amax_history_len": 1024,
367
+ "fp8_amax_compute_algo": "max",
368
+ "fp4_format": null,
369
+ "fp4_recipe": "nvfp4",
370
+ "fp4_param_gather": false,
371
+ "fp16": false,
372
+ "bf16": true,
373
+ "apply_query_key_layer_scaling": false,
374
+ "attention_softmax_in_fp32": true,
375
+ "accumulate_allreduce_grads_in_fp32": true,
376
+ "moe_router_load_balancing_type": null,
377
+ "moe_router_dtype": "fp32",
378
+ "moe_token_dispatcher_type": null,
379
+ "moe_enable_deepep": false,
380
+ "moe_grouped_gemm": true,
381
+ "moe_permute_fusion": true,
382
+ "moe_aux_loss_coeff": 0.001,
383
+ "moe_z_loss_coeff": null,
384
+ "moe_shared_expert_overlap": true,
385
+ "moe_layer_recompute": false,
386
+ "moe_expert_capacity_factor": null,
387
+ "moe_pad_expert_input_to_capacity": false,
388
+ "moe_token_drop_policy": null,
389
+ "mtp_num_layers": 0,
390
+ "mtp_loss_scaling_factor": 0.1,
391
+ "mtp_decoder_input_detach": false,
392
+ "mtp_shared_weights": false,
393
+ "bridge_backend": "mcore-bridge",
394
+ "save_safetensors": true,
395
+ "ref_model": null,
396
+ "ref_adapters": [],
397
+ "merge_lora": false,
398
+ "max_shard_size": "5GB",
399
+ "vit_gradient_checkpointing": false,
400
+ "vit_gradient_checkpointing_kwargs": null,
401
+ "vit_attn_impl": null,
402
+ "vit_lr": null,
403
+ "aligner_lr": 2e-05,
404
+ "dsa_indexer_loss_coeff": 0.0,
405
+ "dsa_indexer_use_sparse_loss": false,
406
+ "apply_dsa_kernel_fusion": false,
407
+ "csa_dense_mode": false,
408
+ "use_fused_mhc": false,
409
+ "mhc_recompute_layer_num": null,
410
+ "megatron_extra_kwargs": {
411
+ "moe_router_bias_update_rate": 0.0
412
+ },
413
+ "language_model_only": false,
414
+ "check_model": true,
415
+ "apply_wd_to_qk_layernorm": false,
416
+ "linear_decoupled_in_proj": false,
417
+ "enable_dft_loss": false,
418
+ "enable_channel_loss": false,
419
+ "mrl_dims": null,
420
+ "save_strategy": "steps",
421
+ "callbacks": [
422
+ "dsv4vl_projector_checkpoint",
423
+ "tensorboard",
424
+ "print",
425
+ "default_flow",
426
+ "tensorboard"
427
+ ],
428
+ "skip_megatron_init": false,
429
+ "add_version": false,
430
+ "create_checkpoint_symlink": false,
431
+ "swift_version": "4.5.0.dev0",
432
+ "ckpt_dir": null,
433
+ "rank": 0,
434
+ "global_world_size": 8,
435
+ "local_world_size": 8,
436
+ "model_suffix": "DSV4-VL-init",
437
+ "model_info": "ModelInfo(model_type='dsv4_vl', model_dir='/workspace/models/DSV4-VL-init', torch_dtype=torch.bfloat16, max_model_len=1048576, quant_method='fp8', quant_bits=None, rope_scaling=None, is_moe_model=True, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
438
+ "model_meta": "ModelMeta(model_type='dsv4_vl', model_groups=[ModelGroup(models=[Model(ms_model_id=None, hf_model_id=None, model_path='/workspace/models/DSV4-VL-init', ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class '_dsv4_vl_swift_impl.DSV4VLLoader'>, template='dsv4_vl', model_arch=MultiModelKeys(arch_name='dsv4_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['language_model'], aligner=['multi_modal_projector'], vision_tower=['vision_tower'], generator=[]), mcore_model_type='dsv4_vl', architectures=['DSV4VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
439
+ "model_dir": "/workspace/models/DSV4-VL-init",
440
+ "template_meta": "DeepseekV2_5TemplateMeta(template_type='dsv4_vl', prefix=['<|begin▁of▁sentence|>'], prompt=['<|User|>{{QUERY}}<|Assistant|>'], chat_sep=['<|end▁of▁sentence|>'], suffix=['<|end▁of▁sentence|>'], template_cls=<class '_dsv4_vl_swift_impl.DSV4VLTemplate'>, system_prefix=['<|begin▁of▁sentence|>{{SYSTEM}}'], default_system=None, auto_add_bos=False, stop_words=[], agent_template='deepseek_v4', is_thinking=True, thinking_prefix='<think>', non_thinking_prefix='</think>', history_thinking_prefix='</think>')",
441
+ "_val_dataset_exists": false,
442
+ "hub": "<class 'swift.hub.hub.MSHub'>",
443
+ "seq_length": 4096,
444
+ "is_multimodal": true,
445
+ "megatron_model_meta": "ModelMeta(model_type='dsv4_vl', model_types=['dsv4_vl'], bridge_cls=<class '_dsv4_vl_mcore_impl.DSV4VLBridge'>, visual_cls=<class '_dsv4_vl_mcore_impl.DSV4VLVit'>, is_multimodal=True, loader=<class '_dsv4_vl_mcore_impl.DSV4VLLoader'>)",
446
+ "fp8": null,
447
+ "fp4": null,
448
+ "world_size": 8,
449
+ "data_parallel_size": 8,
450
+ "num_microbatches": 16
451
+ }
stage2/milestones/checkpoint-0000046/latest_checkpointed_iteration.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 46
stage2/milestones/checkpoint-0000046/projector.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5063019e46de4fa06f8f599863452e6d0a3d11b67390fdf4dff628b0bda70cf
3
+ size 43008480
stage2/milestones/checkpoint-0000046/projector_metadata.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "dsv4vl-projector-v1",
3
+ "iteration": 46,
4
+ "consumed_train_samples": 5888,
5
+ "framework_consumed_train_samples": 5760,
6
+ "base_hf_model": "/workspace/models/DSV4-VL-init",
7
+ "base_mcore_model": "/workspace/models/DSV4-VL-init-mcore-bf16",
8
+ "tensors": {
9
+ "chunk0.visual.multi_modal_projector.linear_1.weight": {
10
+ "shape": [
11
+ 4096,
12
+ 1152
13
+ ],
14
+ "dtype": "torch.bfloat16"
15
+ },
16
+ "chunk0.visual.multi_modal_projector.linear_1.bias": {
17
+ "shape": [
18
+ 4096
19
+ ],
20
+ "dtype": "torch.bfloat16"
21
+ },
22
+ "chunk0.visual.multi_modal_projector.linear_2.weight": {
23
+ "shape": [
24
+ 4096,
25
+ 4096
26
+ ],
27
+ "dtype": "torch.bfloat16"
28
+ },
29
+ "chunk0.visual.multi_modal_projector.linear_2.bias": {
30
+ "shape": [
31
+ 4096
32
+ ],
33
+ "dtype": "torch.bfloat16"
34
+ }
35
+ }
36
+ }
stage2/milestones/checkpoint-0000046/recovery_receipt.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "dsv4vl-stage2-recovery-checkpoint-v2",
3
+ "status": "PASS",
4
+ "checkpoint": "/workspace/outputs/stage2_lora/checkpoint-46",
5
+ "iteration": 46,
6
+ "global_batch_size": 128,
7
+ "consumed_train_samples": 5888,
8
+ "lora_tensors": 344,
9
+ "lora_extra_state_entries": 344,
10
+ "optimizer_metadata_entries": 6,
11
+ "rng_storage": "sharded",
12
+ "rng_ranks": 1,
13
+ "rng_metadata_keys": [
14
+ "rng_state/shard_0.0_1.1"
15
+ ],
16
+ "files": [
17
+ {
18
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/latest_checkpointed_iteration.txt",
19
+ "bytes": 2,
20
+ "sha256": "25fc0e7096fc653718202dc30b0c580b8ab87eac11a700cba03a7c021bc35b0c"
21
+ },
22
+ {
23
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/common.pt",
24
+ "bytes": 16999,
25
+ "sha256": "4ad6bec518c1060e86eb833fc1050fb2921220202415e75f80b0273dc20346c8"
26
+ },
27
+ {
28
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/.metadata",
29
+ "bytes": 583215,
30
+ "sha256": "cabf4a9a5d56e7515ff0a85e375efaf1ec3d0e22e4de2658d45be27102c53f68"
31
+ },
32
+ {
33
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__0_0.distcp",
34
+ "bytes": 301672061,
35
+ "sha256": "fcf8c05764b804e177d74c1d3f87aefef1b9724144c5a0b71b812cc530f90137"
36
+ },
37
+ {
38
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__1_0.distcp",
39
+ "bytes": 301330419,
40
+ "sha256": "75a4022147262a5d9e27cdde0a56ecdf47a1c3aab81f6c08d6869674ec654e98"
41
+ },
42
+ {
43
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__2_0.distcp",
44
+ "bytes": 301331996,
45
+ "sha256": "4175cf3fc425447a7027021e91277da8f70cb55cd0e378c5d38c963495e5aa54"
46
+ },
47
+ {
48
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__3_0.distcp",
49
+ "bytes": 301336727,
50
+ "sha256": "16adf5654b9d3d5b3282615cb8c9bfc620bca88bd816ce00b89f8daff4a961d2"
51
+ },
52
+ {
53
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__4_0.distcp",
54
+ "bytes": 301336727,
55
+ "sha256": "0e9f659124987ad6e2a60c4db28844ed4bf0a6e221f73e564a1fc090ffc0cea0"
56
+ },
57
+ {
58
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__5_0.distcp",
59
+ "bytes": 301350920,
60
+ "sha256": "f8babf13ee00d9ea07b33c4490c058de38d06790adbf921a8b542acb7cff0a5e"
61
+ },
62
+ {
63
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__6_0.distcp",
64
+ "bytes": 301346189,
65
+ "sha256": "e427ca2c90766689dacd186ce5e3d425c46fe39bd6e7e68c8d1fb8fb016d2f84"
66
+ },
67
+ {
68
+ "path": "/workspace/outputs/stage2_lora/checkpoint-46/iter_0000046/__7_0.distcp",
69
+ "bytes": 301275922,
70
+ "sha256": "f49db1f8aebc56bcae61f11ea3d0d4c7bdbeb3747c9a323817c001742b7b7c97"
71
+ }
72
+ ]
73
+ }