rubentium commited on
Commit
bab996b
·
verified ·
1 Parent(s): 6e639fe

EPFL ALiBi and training provenance 651-700 of 1184

Browse files
Files changed (50) hide show
  1. epfl_final/logs/ALIBI_20260921/ddp4_resume_20260921_195123/seed42.log +633 -0
  2. epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163113/orchestrator.log +1 -0
  3. epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163148/orchestrator.log +1 -0
  4. epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163148/seed42.log +429 -0
  5. epfl_final/logs/ALIBI_20260921/ddp5_a10040_s43_20260921_164403/orchestrator.log +0 -0
  6. epfl_final/logs/ALIBI_20260921/ddp5_a10040_s43_20260921_164403/seed43.log +862 -0
  7. epfl_final/logs/ALIBI_20260921/ddp5_a10040_s45_20260921_205236/orchestrator.log +1 -0
  8. epfl_final/logs/ALIBI_20260921/ddp5_a10040_s45_20260921_205236/seed45.log +538 -0
  9. epfl_final/logs/ALIBI_20260921/ddp5_a10080_s44_20260921_164403/orchestrator.log +0 -0
  10. epfl_final/logs/ALIBI_20260921/ddp5_a10080_s44_20260921_164403/seed44.log +862 -0
  11. epfl_final/logs/ALIBI_20260921/restart_20260921_131155/seed47.log +187 -0
  12. epfl_final/logs/ALIBI_20260921/restart_20260921_131155/seed47.pid +1 -0
  13. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed42.log +195 -0
  14. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed42.pid +1 -0
  15. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed43.log +195 -0
  16. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed43.pid +1 -0
  17. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed44.log +195 -0
  18. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed44.pid +1 -0
  19. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed45.log +195 -0
  20. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed45.pid +1 -0
  21. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed46.log +195 -0
  22. epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed46.pid +1 -0
  23. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed42.log +205 -0
  24. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed42.pid +1 -0
  25. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed43.log +206 -0
  26. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed43.pid +1 -0
  27. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed44.log +205 -0
  28. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed44.pid +1 -0
  29. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed45.log +206 -0
  30. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed45.pid +1 -0
  31. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed46.log +206 -0
  32. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed46.pid +1 -0
  33. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed47.log +206 -0
  34. epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed47.pid +1 -0
  35. epfl_final/train_logs/eval30k_resamp.log +39 -0
  36. epfl_final/train_logs/fixed_nrb1.log +376 -0
  37. epfl_final/train_logs/resampled_nrb1.log +401 -0
  38. epfl_final/train_logs/resume_dense30k.log +0 -0
  39. epfl_final/train_logs/resume_fixed30k.log +639 -0
  40. epfl_final/train_logs/resume_fixed30k_h100_2-0-5.log +0 -0
  41. epfl_final/train_logs/resume_fixed30k_h200.log +436 -0
  42. epfl_final/train_logs/resume_resampled30k.log +209 -0
  43. epfl_final/train_logs/resume_resampled30k_h100.log +0 -0
  44. epfl_final/train_logs/resume_resampled30k_minenv.log +550 -0
  45. epfl_final/train_logs/train_moba_1p2b.log +0 -0
  46. epfl_final/train_logs/train_moba_1p2b_matched.log +669 -0
  47. epfl_final/train_logs/watchdog_generic.sh +79 -0
  48. epfl_final/train_logs/wd_dense30k.watch.log +2 -0
  49. epfl_final/train_logs/wd_fixed30k.watch.log +2 -0
  50. epfl_final/train_logs/wd_resampled30k.watch.log +2 -0
epfl_final/logs/ALIBI_20260921/ddp4_resume_20260921_195123/seed42.log ADDED
@@ -0,0 +1,633 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0921 19:51:34.094000 148 site-packages/torch/distributed/run.py:851]
2
+ W0921 19:51:34.094000 148 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0921 19:51:34.094000 148 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0921 19:51:34.094000 148 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-17000
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 8192,
15
+ "num_workers": 8,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-17000",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": 44000,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 5,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 1000,
29
+ "eval_steps": 250,
30
+ "eval_batches": 50,
31
+ "logging_steps": 100,
32
+ "seed": 42,
33
+ "verbose": true,
34
+ "checkpoint_activations": false,
35
+ "resume_micro_step_override": null,
36
+ "strategy": "ddp",
37
+ "mixed_precision": "bf16",
38
+ "wandb_enabled": true,
39
+ "wandb_project": "stochastic_sparsity",
40
+ "wandb_name": "365m alibi 8k s42",
41
+ "wandb_tags": [
42
+ "qwen3",
43
+ "365m",
44
+ "8k",
45
+ "scaleladder",
46
+ "alibi",
47
+ "seed42"
48
+ ],
49
+ "hidden_size": 768,
50
+ "intermediate_size": 3072,
51
+ "num_attention_heads": 6,
52
+ "num_key_value_heads": 2,
53
+ "num_hidden_layers": 28,
54
+ "head_dim": null,
55
+ "attention_dropout": null,
56
+ "rope_train_position_scale_set": null,
57
+ "positional": "alibi",
58
+ "attention_type": "dense",
59
+ "sparse_block_size": 128,
60
+ "sparse_num_random_blocks": 31,
61
+ "sparse_mask_pool_size": 1,
62
+ "sparse_val_dense_compare": false,
63
+ "sparse_layer_indices": null,
64
+ "sparse_mask_cache_dir": null,
65
+ "sparse_mask_seed": 0,
66
+ "sparse_mixed_nrb_set": null,
67
+ "dense_mode": false,
68
+ "dense_step_intervals": null
69
+ }
70
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
71
+ Checkpoint activations: False
72
+ Checkpoint activations: False
73
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-17000
74
+ Checkpoint activations: False
75
+ Checkpoint activations: False
76
+
77
+
78
+ ================================================================================
79
+ MODEL ARCHITECTURE
80
+ ================================================================================
81
+ Model config:
82
+ vocab_size: 151936
83
+ hidden_size: 768
84
+ num_hidden_layers: 28
85
+ num_attention_heads: 6
86
+ num_key_value_heads: 2
87
+ head_dim: 128
88
+ intermediate_size: 3072
89
+ max_position_embeddings: 32768
90
+ rope_theta: 1000000
91
+ rope_train_position_scale_set: None
92
+ attention_type: dense
93
+
94
+ Parameter count:
95
+ Total parameters: 358,958,848
96
+ Trainable parameters: 358,958,848
97
+ Non-trainable parameters: 0
98
+ Model size (BF16): 0.72 GB
99
+
100
+ --------------------------------------------------------------------------------
101
+ LAYER-BY-LAYER SUMMARY
102
+ --------------------------------------------------------------------------------
103
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
104
+
105
+ SOLUTION: Use torch.compile(flex_attention)(...)
106
+
107
+ If you want to debug your score_mod/mask_mod, you can set:
108
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
109
+
110
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
111
+ _warn_once(
112
+ =================================================================================================================================================
113
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
114
+ =================================================================================================================================================
115
+ Qwen3ForCausalLM [1, 8192] -- -- True
116
+ ├─Qwen3Model: 1-1 -- [1, 8192, 768] -- True
117
+ │ └─Embedding: 2-1 [1, 8192] [1, 8192, 768] 116,686,848 True
118
+ │ └─ModuleList: 2-2 -- -- -- True
119
+ │ │ └─Qwen3DecoderLayer: 3-1 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-2 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-3 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-4 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-5 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-6 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-7 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-8 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-9 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-10 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-11 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-12 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-13 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-14 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-15 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-16 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-17 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-18 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-19 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-20 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-21 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
140
+ │ │ └─Qwen3DecoderLayer: 3-22 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
141
+ │ │ └─Qwen3DecoderLayer: 3-23 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
142
+ │ │ └─Qwen3DecoderLayer: 3-24 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
143
+ │ │ └─Qwen3DecoderLayer: 3-25 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
144
+ │ │ └─Qwen3DecoderLayer: 3-26 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
145
+ │ │ └─Qwen3DecoderLayer: 3-27 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
146
+ │ │ └─Qwen3DecoderLayer: 3-28 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
147
+ │ └─Qwen3RMSNorm: 2-3 [1, 8192, 768] [1, 8192, 768] 768 True
148
+ ├─Linear: 1-2 [1, 8192, 768] [1, 8192, 151936] 116,686,848 True
149
+ =================================================================================================================================================
150
+ Total params: 475,645,696
151
+ Trainable params: 475,645,696
152
+ Non-trainable params: 0
153
+ Total mult-adds (Units.MEGABYTES): 475.65
154
+ =================================================================================================================================================
155
+ Input size (MB): 0.07
156
+ Forward/backward pass size (MB): 15598.62
157
+ Params size (MB): 951.29
158
+ Estimated Total Size (MB): 16549.97
159
+ =================================================================================================================================================
160
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
161
+ ================================================================================
162
+
163
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
164
+ Using pre-tokenized dataset (no runtime tokenization)
165
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
166
+
167
+
168
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
169
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
170
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
171
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
172
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
173
+ Dataset split: 3027764 train, 159356 validation
174
+ Training examples (packed, train split): 3027764
175
+ Validation examples (packed, val split): 159356
176
+ Per-device batch size: 1
177
+ World size (GPUs): 4
178
+ Gradient accumulation steps: 5
179
+ Effective batch size (seqs/step): 20
180
+ Sequence length: 8192
181
+ Tokens per optimizer step: 163,840
182
+ Micro-batches per epoch (per rank): 756941
183
+ Optimizer steps per epoch: 151388
184
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
185
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-17000...
186
+ Preserving checkpoint LR state for exact resume: current=[0.0003451463250063146], schedule_base=[0.0005]
187
+ Resumed from checkpoint at step 17000 (epoch 0, micro_step 85000)
188
+ Resuming training from step 17000
189
+ Resuming wandb run nihe6o4e
190
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id nihe6o4e.
191
+ wandb: Tracking run with wandb version 0.26.1
192
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
193
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_195241-nihe6o4e
194
+ Starting training...
195
+ Validation at step 17000: Loss = 3.0619, Perplexity = 21.37
196
+ Switching attention mode for step 17001: sparse_stochastic (configured sparse attention)
197
+ Step 17100/44000 | Loss: 3.0356 | LR: 3.43e-04 | 2236.4ms/step | 8.9 samples/s
198
+ Step 17200/44000 | Loss: 3.0205 | LR: 3.42e-04 | 434.3ms/step | 46.0 samples/s
199
+ Validation at step 17250: Loss = 3.0589, Perplexity = 21.30
200
+ Step 17300/44000 | Loss: 3.0223 | LR: 3.40e-04 | 452.7ms/step | 44.2 samples/s
201
+ Step 17400/44000 | Loss: 3.0272 | LR: 3.38e-04 | 436.1ms/step | 45.9 samples/s
202
+ Step 17500/44000 | Loss: 2.9948 | LR: 3.37e-04 | 436.2ms/step | 45.9 samples/s
203
+ Validation at step 17500: Loss = 3.0545, Perplexity = 21.21
204
+ Step 17600/44000 | Loss: 3.0312 | LR: 3.35e-04 | 453.1ms/step | 44.1 samples/s
205
+ Step 17700/44000 | Loss: 3.0148 | LR: 3.33e-04 | 436.6ms/step | 45.8 samples/s
206
+ Validation at step 17750: Loss = 3.0525, Perplexity = 21.17
207
+ Step 17800/44000 | Loss: 3.0038 | LR: 3.32e-04 | 454.9ms/step | 44.0 samples/s
208
+ Step 17900/44000 | Loss: 3.0169 | LR: 3.30e-04 | 439.2ms/step | 45.5 samples/s
209
+ Step 18000/44000 | Loss: 3.0159 | LR: 3.28e-04 | 437.5ms/step | 45.7 samples/s
210
+ Validation at step 18000: Loss = 3.0504, Perplexity = 21.12
211
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-18000
212
+ Step 18100/44000 | Loss: 3.0117 | LR: 3.26e-04 | 484.5ms/step | 41.3 samples/s
213
+ Step 18200/44000 | Loss: 2.9962 | LR: 3.25e-04 | 437.2ms/step | 45.7 samples/s
214
+ Validation at step 18250: Loss = 3.0481, Perplexity = 21.08
215
+ Step 18300/44000 | Loss: 3.0004 | LR: 3.23e-04 | 453.9ms/step | 44.1 samples/s
216
+ Step 18400/44000 | Loss: 3.0141 | LR: 3.21e-04 | 437.1ms/step | 45.8 samples/s
217
+ Step 18500/44000 | Loss: 3.0007 | LR: 3.19e-04 | 436.7ms/step | 45.8 samples/s
218
+ Validation at step 18500: Loss = 3.0452, Perplexity = 21.01
219
+ Step 18600/44000 | Loss: 2.9966 | LR: 3.18e-04 | 454.0ms/step | 44.1 samples/s
220
+ Step 18700/44000 | Loss: 2.9863 | LR: 3.16e-04 | 436.7ms/step | 45.8 samples/s
221
+ Validation at step 18750: Loss = 3.0422, Perplexity = 20.95
222
+ Step 18800/44000 | Loss: 2.9931 | LR: 3.14e-04 | 453.8ms/step | 44.1 samples/s
223
+ Step 18900/44000 | Loss: 2.9856 | LR: 3.12e-04 | 436.9ms/step | 45.8 samples/s
224
+ Step 19000/44000 | Loss: 2.9980 | LR: 3.11e-04 | 436.5ms/step | 45.8 samples/s
225
+ Validation at step 19000: Loss = 3.0399, Perplexity = 20.90
226
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-19000
227
+ Step 19100/44000 | Loss: 2.9832 | LR: 3.09e-04 | 482.1ms/step | 41.5 samples/s
228
+ Step 19200/44000 | Loss: 2.9938 | LR: 3.07e-04 | 436.2ms/step | 45.9 samples/s
229
+ Validation at step 19250: Loss = 3.0368, Perplexity = 20.84
230
+ Step 19300/44000 | Loss: 2.9943 | LR: 3.05e-04 | 453.2ms/step | 44.1 samples/s
231
+ Step 19400/44000 | Loss: 2.9984 | LR: 3.04e-04 | 436.6ms/step | 45.8 samples/s
232
+ Step 19500/44000 | Loss: 3.0033 | LR: 3.02e-04 | 437.0ms/step | 45.8 samples/s
233
+ Validation at step 19500: Loss = 3.0332, Perplexity = 20.76
234
+ Step 19600/44000 | Loss: 3.0076 | LR: 3.00e-04 | 453.7ms/step | 44.1 samples/s
235
+ Step 19700/44000 | Loss: 2.9789 | LR: 2.98e-04 | 438.4ms/step | 45.6 samples/s
236
+ Validation at step 19750: Loss = 3.0310, Perplexity = 20.72
237
+ Step 19800/44000 | Loss: 2.9954 | LR: 2.96e-04 | 455.3ms/step | 43.9 samples/s
238
+ Step 19900/44000 | Loss: 2.9913 | LR: 2.95e-04 | 438.0ms/step | 45.7 samples/s
239
+ Step 20000/44000 | Loss: 2.9879 | LR: 2.93e-04 | 437.6ms/step | 45.7 samples/s
240
+ Validation at step 20000: Loss = 3.0268, Perplexity = 20.63
241
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-20000
242
+ Step 20100/44000 | Loss: 2.9844 | LR: 2.91e-04 | 485.1ms/step | 41.2 samples/s
243
+ Step 20200/44000 | Loss: 2.9934 | LR: 2.89e-04 | 437.3ms/step | 45.7 samples/s
244
+ Validation at step 20250: Loss = 3.0236, Perplexity = 20.57
245
+ Step 20300/44000 | Loss: 3.0058 | LR: 2.88e-04 | 454.4ms/step | 44.0 samples/s
246
+ Step 20400/44000 | Loss: 2.9815 | LR: 2.86e-04 | 437.3ms/step | 45.7 samples/s
247
+ Step 20500/44000 | Loss: 2.9850 | LR: 2.84e-04 | 437.1ms/step | 45.8 samples/s
248
+ Validation at step 20500: Loss = 3.0216, Perplexity = 20.52
249
+ Step 20600/44000 | Loss: 2.9519 | LR: 2.82e-04 | 454.9ms/step | 44.0 samples/s
250
+ Step 20700/44000 | Loss: 2.9983 | LR: 2.80e-04 | 437.8ms/step | 45.7 samples/s
251
+ Validation at step 20750: Loss = 3.0200, Perplexity = 20.49
252
+ Step 20800/44000 | Loss: 2.9799 | LR: 2.79e-04 | 454.8ms/step | 44.0 samples/s
253
+ Step 20900/44000 | Loss: 2.9805 | LR: 2.77e-04 | 436.7ms/step | 45.8 samples/s
254
+ Step 21000/44000 | Loss: 2.9590 | LR: 2.75e-04 | 436.4ms/step | 45.8 samples/s
255
+ Validation at step 21000: Loss = 3.0179, Perplexity = 20.45
256
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-21000
257
+ Step 21100/44000 | Loss: 2.9825 | LR: 2.73e-04 | 490.5ms/step | 40.8 samples/s
258
+ Step 21200/44000 | Loss: 2.9731 | LR: 2.71e-04 | 437.0ms/step | 45.8 samples/s
259
+ Validation at step 21250: Loss = 3.0155, Perplexity = 20.40
260
+ Step 21300/44000 | Loss: 2.9784 | LR: 2.70e-04 | 454.1ms/step | 44.0 samples/s
261
+ Step 21400/44000 | Loss: 2.9674 | LR: 2.68e-04 | 436.8ms/step | 45.8 samples/s
262
+ Step 21500/44000 | Loss: 2.9688 | LR: 2.66e-04 | 437.3ms/step | 45.7 samples/s
263
+ Validation at step 21500: Loss = 3.0139, Perplexity = 20.37
264
+ Step 21600/44000 | Loss: 2.9522 | LR: 2.64e-04 | 455.5ms/step | 43.9 samples/s
265
+ Step 21700/44000 | Loss: 2.9937 | LR: 2.62e-04 | 437.9ms/step | 45.7 samples/s
266
+ Validation at step 21750: Loss = 3.0102, Perplexity = 20.29
267
+ Step 21800/44000 | Loss: 2.9631 | LR: 2.60e-04 | 454.2ms/step | 44.0 samples/s
268
+ Step 21900/44000 | Loss: 2.9742 | LR: 2.59e-04 | 437.0ms/step | 45.8 samples/s
269
+ Step 22000/44000 | Loss: 2.9705 | LR: 2.57e-04 | 437.3ms/step | 45.7 samples/s
270
+ Validation at step 22000: Loss = 3.0074, Perplexity = 20.23
271
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-22000
272
+ Step 22100/44000 | Loss: 2.9864 | LR: 2.55e-04 | 485.0ms/step | 41.2 samples/s
273
+ Step 22200/44000 | Loss: 2.9646 | LR: 2.53e-04 | 436.9ms/step | 45.8 samples/s
274
+ Validation at step 22250: Loss = 3.0050, Perplexity = 20.19
275
+ Step 22300/44000 | Loss: 2.9635 | LR: 2.51e-04 | 453.6ms/step | 44.1 samples/s
276
+ Step 22400/44000 | Loss: 2.9777 | LR: 2.50e-04 | 436.5ms/step | 45.8 samples/s
277
+ Step 22500/44000 | Loss: 2.9654 | LR: 2.48e-04 | 436.4ms/step | 45.8 samples/s
278
+ Validation at step 22500: Loss = 3.0030, Perplexity = 20.15
279
+ Step 22600/44000 | Loss: 2.9393 | LR: 2.46e-04 | 454.1ms/step | 44.0 samples/s
280
+ Step 22700/44000 | Loss: 2.9572 | LR: 2.44e-04 | 437.2ms/step | 45.7 samples/s
281
+ Validation at step 22750: Loss = 3.0006, Perplexity = 20.10
282
+ Step 22800/44000 | Loss: 2.9668 | LR: 2.42e-04 | 453.8ms/step | 44.1 samples/s
283
+ Step 22900/44000 | Loss: 2.9650 | LR: 2.40e-04 | 437.1ms/step | 45.8 samples/s
284
+ Step 23000/44000 | Loss: 2.9784 | LR: 2.39e-04 | 436.5ms/step | 45.8 samples/s
285
+ Validation at step 23000: Loss = 2.9986, Perplexity = 20.06
286
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-23000
287
+ Step 23100/44000 | Loss: 2.9535 | LR: 2.37e-04 | 484.0ms/step | 41.3 samples/s
288
+ Step 23200/44000 | Loss: 2.9648 | LR: 2.35e-04 | 436.4ms/step | 45.8 samples/s
289
+ Validation at step 23250: Loss = 2.9962, Perplexity = 20.01
290
+ Step 23300/44000 | Loss: 2.9451 | LR: 2.33e-04 | 453.7ms/step | 44.1 samples/s
291
+ Step 23400/44000 | Loss: 2.9829 | LR: 2.31e-04 | 436.7ms/step | 45.8 samples/s
292
+ Step 23500/44000 | Loss: 2.9454 | LR: 2.30e-04 | 436.2ms/step | 45.8 samples/s
293
+ Validation at step 23500: Loss = 2.9933, Perplexity = 19.95
294
+ Step 23600/44000 | Loss: 2.9508 | LR: 2.28e-04 | 454.1ms/step | 44.0 samples/s
295
+ Step 23700/44000 | Loss: 2.9536 | LR: 2.26e-04 | 436.2ms/step | 45.9 samples/s
296
+ Validation at step 23750: Loss = 2.9917, Perplexity = 19.92
297
+ Step 23800/44000 | Loss: 2.9361 | LR: 2.24e-04 | 453.9ms/step | 44.1 samples/s
298
+ Step 23900/44000 | Loss: 2.9423 | LR: 2.22e-04 | 436.6ms/step | 45.8 samples/s
299
+ Step 24000/44000 | Loss: 2.9561 | LR: 2.21e-04 | 435.6ms/step | 45.9 samples/s
300
+ Validation at step 24000: Loss = 2.9895, Perplexity = 19.88
301
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-24000
302
+ Step 24100/44000 | Loss: 2.9405 | LR: 2.19e-04 | 484.5ms/step | 41.3 samples/s
303
+ Step 24200/44000 | Loss: 2.9431 | LR: 2.17e-04 | 436.2ms/step | 45.8 samples/s
304
+ Validation at step 24250: Loss = 2.9873, Perplexity = 19.83
305
+ Step 24300/44000 | Loss: 2.9489 | LR: 2.15e-04 | 453.3ms/step | 44.1 samples/s
306
+ Step 24400/44000 | Loss: 2.9427 | LR: 2.13e-04 | 436.0ms/step | 45.9 samples/s
307
+ Step 24500/44000 | Loss: 2.9479 | LR: 2.12e-04 | 436.1ms/step | 45.9 samples/s
308
+ Validation at step 24500: Loss = 2.9859, Perplexity = 19.80
309
+ Step 24600/44000 | Loss: 2.9462 | LR: 2.10e-04 | 454.0ms/step | 44.1 samples/s
310
+ Step 24700/44000 | Loss: 2.9486 | LR: 2.08e-04 | 436.8ms/step | 45.8 samples/s
311
+ Validation at step 24750: Loss = 2.9832, Perplexity = 19.75
312
+ Step 24800/44000 | Loss: 2.9388 | LR: 2.06e-04 | 453.8ms/step | 44.1 samples/s
313
+ Step 24900/44000 | Loss: 2.9570 | LR: 2.04e-04 | 436.3ms/step | 45.8 samples/s
314
+ Step 25000/44000 | Loss: 2.9629 | LR: 2.03e-04 | 436.6ms/step | 45.8 samples/s
315
+ Validation at step 25000: Loss = 2.9809, Perplexity = 19.70
316
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-25000
317
+ Step 25100/44000 | Loss: 2.9405 | LR: 2.01e-04 | 484.2ms/step | 41.3 samples/s
318
+ Step 25200/44000 | Loss: 2.9285 | LR: 1.99e-04 | 436.8ms/step | 45.8 samples/s
319
+ Validation at step 25250: Loss = 2.9801, Perplexity = 19.69
320
+ Step 25300/44000 | Loss: 2.9436 | LR: 1.97e-04 | 453.4ms/step | 44.1 samples/s
321
+ Step 25400/44000 | Loss: 2.9376 | LR: 1.96e-04 | 438.2ms/step | 45.6 samples/s
322
+ Step 25500/44000 | Loss: 2.9267 | LR: 1.94e-04 | 439.2ms/step | 45.5 samples/s
323
+ Validation at step 25500: Loss = 2.9779, Perplexity = 19.65
324
+ Step 25600/44000 | Loss: 2.9379 | LR: 1.92e-04 | 455.8ms/step | 43.9 samples/s
325
+ Step 25700/44000 | Loss: 2.9225 | LR: 1.90e-04 | 437.9ms/step | 45.7 samples/s
326
+ Validation at step 25750: Loss = 2.9761, Perplexity = 19.61
327
+ Step 25800/44000 | Loss: 2.9375 | LR: 1.88e-04 | 455.6ms/step | 43.9 samples/s
328
+ Step 25900/44000 | Loss: 2.9144 | LR: 1.87e-04 | 438.3ms/step | 45.6 samples/s
329
+ Step 26000/44000 | Loss: 2.9529 | LR: 1.85e-04 | 436.4ms/step | 45.8 samples/s
330
+ Validation at step 26000: Loss = 2.9744, Perplexity = 19.58
331
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-26000
332
+ Step 26100/44000 | Loss: 2.9262 | LR: 1.83e-04 | 484.3ms/step | 41.3 samples/s
333
+ Step 26200/44000 | Loss: 2.9411 | LR: 1.81e-04 | 437.3ms/step | 45.7 samples/s
334
+ Validation at step 26250: Loss = 2.9733, Perplexity = 19.56
335
+ Step 26300/44000 | Loss: 2.9262 | LR: 1.80e-04 | 454.3ms/step | 44.0 samples/s
336
+ Step 26400/44000 | Loss: 2.9284 | LR: 1.78e-04 | 438.1ms/step | 45.6 samples/s
337
+ Step 26500/44000 | Loss: 2.9199 | LR: 1.76e-04 | 438.1ms/step | 45.6 samples/s
338
+ Validation at step 26500: Loss = 2.9715, Perplexity = 19.52
339
+ Step 26600/44000 | Loss: 2.9185 | LR: 1.74e-04 | 454.3ms/step | 44.0 samples/s
340
+ Step 26700/44000 | Loss: 2.9165 | LR: 1.73e-04 | 437.9ms/step | 45.7 samples/s
341
+ Validation at step 26750: Loss = 2.9702, Perplexity = 19.50
342
+ Step 26800/44000 | Loss: 2.9141 | LR: 1.71e-04 | 454.0ms/step | 44.1 samples/s
343
+ Step 26900/44000 | Loss: 2.9321 | LR: 1.69e-04 | 436.6ms/step | 45.8 samples/s
344
+ Step 27000/44000 | Loss: 2.9215 | LR: 1.68e-04 | 437.6ms/step | 45.7 samples/s
345
+ Validation at step 27000: Loss = 2.9684, Perplexity = 19.46
346
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-27000
347
+ Step 27100/44000 | Loss: 2.9234 | LR: 1.66e-04 | 484.4ms/step | 41.3 samples/s
348
+ Step 27200/44000 | Loss: 2.9353 | LR: 1.64e-04 | 437.6ms/step | 45.7 samples/s
349
+ Validation at step 27250: Loss = 2.9673, Perplexity = 19.44
350
+ Step 27300/44000 | Loss: 2.9169 | LR: 1.62e-04 | 454.0ms/step | 44.1 samples/s
351
+ Step 27400/44000 | Loss: 2.9509 | LR: 1.61e-04 | 437.0ms/step | 45.8 samples/s
352
+ Step 27500/44000 | Loss: 2.9056 | LR: 1.59e-04 | 437.0ms/step | 45.8 samples/s
353
+ Validation at step 27500: Loss = 2.9652, Perplexity = 19.40
354
+ Step 27600/44000 | Loss: 2.9206 | LR: 1.57e-04 | 454.8ms/step | 44.0 samples/s
355
+ Step 27700/44000 | Loss: 2.9347 | LR: 1.56e-04 | 436.9ms/step | 45.8 samples/s
356
+ Validation at step 27750: Loss = 2.9641, Perplexity = 19.38
357
+ Step 27800/44000 | Loss: 2.9121 | LR: 1.54e-04 | 454.3ms/step | 44.0 samples/s
358
+ Step 27900/44000 | Loss: 2.9319 | LR: 1.52e-04 | 436.4ms/step | 45.8 samples/s
359
+ Step 28000/44000 | Loss: 2.9141 | LR: 1.51e-04 | 437.1ms/step | 45.8 samples/s
360
+ Validation at step 28000: Loss = 2.9623, Perplexity = 19.34
361
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-28000
362
+ Step 28100/44000 | Loss: 2.9271 | LR: 1.49e-04 | 483.5ms/step | 41.4 samples/s
363
+ Step 28200/44000 | Loss: 2.9216 | LR: 1.47e-04 | 436.8ms/step | 45.8 samples/s
364
+ Validation at step 28250: Loss = 2.9616, Perplexity = 19.33
365
+ Step 28300/44000 | Loss: 2.9263 | LR: 1.46e-04 | 454.8ms/step | 44.0 samples/s
366
+ Step 28400/44000 | Loss: 2.9113 | LR: 1.44e-04 | 437.8ms/step | 45.7 samples/s
367
+ Step 28500/44000 | Loss: 2.9059 | LR: 1.42e-04 | 437.9ms/step | 45.7 samples/s
368
+ Validation at step 28500: Loss = 2.9599, Perplexity = 19.30
369
+ Step 28600/44000 | Loss: 2.9311 | LR: 1.41e-04 | 453.7ms/step | 44.1 samples/s
370
+ Step 28700/44000 | Loss: 2.9267 | LR: 1.39e-04 | 436.9ms/step | 45.8 samples/s
371
+ Validation at step 28750: Loss = 2.9588, Perplexity = 19.27
372
+ Step 28800/44000 | Loss: 2.9419 | LR: 1.38e-04 | 453.3ms/step | 44.1 samples/s
373
+ Step 28900/44000 | Loss: 2.9289 | LR: 1.36e-04 | 437.4ms/step | 45.7 samples/s
374
+ Step 29000/44000 | Loss: 2.9095 | LR: 1.34e-04 | 437.8ms/step | 45.7 samples/s
375
+ Validation at step 29000: Loss = 2.9578, Perplexity = 19.26
376
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-29000
377
+ Step 29100/44000 | Loss: 2.9032 | LR: 1.33e-04 | 486.1ms/step | 41.1 samples/s
378
+ Step 29200/44000 | Loss: 2.9121 | LR: 1.31e-04 | 438.3ms/step | 45.6 samples/s
379
+ Validation at step 29250: Loss = 2.9573, Perplexity = 19.25
380
+ Step 29300/44000 | Loss: 2.9168 | LR: 1.29e-04 | 455.1ms/step | 43.9 samples/s
381
+ Step 29400/44000 | Loss: 2.8960 | LR: 1.28e-04 | 437.7ms/step | 45.7 samples/s
382
+ Step 29500/44000 | Loss: 2.9227 | LR: 1.26e-04 | 437.9ms/step | 45.7 samples/s
383
+ Validation at step 29500: Loss = 2.9568, Perplexity = 19.24
384
+ Step 29600/44000 | Loss: 2.9112 | LR: 1.25e-04 | 454.9ms/step | 44.0 samples/s
385
+ Step 29700/44000 | Loss: 2.8995 | LR: 1.23e-04 | 437.4ms/step | 45.7 samples/s
386
+ Validation at step 29750: Loss = 2.9562, Perplexity = 19.22
387
+ Step 29800/44000 | Loss: 2.9073 | LR: 1.22e-04 | 454.4ms/step | 44.0 samples/s
388
+ Step 29900/44000 | Loss: 2.9137 | LR: 1.20e-04 | 437.1ms/step | 45.8 samples/s
389
+ Step 30000/44000 | Loss: 2.9133 | LR: 1.19e-04 | 437.9ms/step | 45.7 samples/s
390
+ Validation at step 30000: Loss = 2.9545, Perplexity = 19.19
391
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-30000
392
+ Step 30100/44000 | Loss: 2.9091 | LR: 1.17e-04 | 484.7ms/step | 41.3 samples/s
393
+ Step 30200/44000 | Loss: 2.9108 | LR: 1.15e-04 | 437.9ms/step | 45.7 samples/s
394
+ Validation at step 30250: Loss = 2.9542, Perplexity = 19.19
395
+ Step 30300/44000 | Loss: 2.9104 | LR: 1.14e-04 | 454.4ms/step | 44.0 samples/s
396
+ Step 30400/44000 | Loss: 2.9291 | LR: 1.12e-04 | 437.2ms/step | 45.7 samples/s
397
+ Step 30500/44000 | Loss: 2.9121 | LR: 1.11e-04 | 437.4ms/step | 45.7 samples/s
398
+ Validation at step 30500: Loss = 2.9532, Perplexity = 19.17
399
+ Step 30600/44000 | Loss: 2.9144 | LR: 1.09e-04 | 454.3ms/step | 44.0 samples/s
400
+ Step 30700/44000 | Loss: 2.9138 | LR: 1.08e-04 | 436.6ms/step | 45.8 samples/s
401
+ Validation at step 30750: Loss = 2.9524, Perplexity = 19.15
402
+ Step 30800/44000 | Loss: 2.9148 | LR: 1.06e-04 | 454.5ms/step | 44.0 samples/s
403
+ Step 30900/44000 | Loss: 2.9137 | LR: 1.05e-04 | 436.8ms/step | 45.8 samples/s
404
+ Step 31000/44000 | Loss: 2.9124 | LR: 1.03e-04 | 436.9ms/step | 45.8 samples/s
405
+ Validation at step 31000: Loss = 2.9516, Perplexity = 19.14
406
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-31000
407
+ Step 31100/44000 | Loss: 2.9249 | LR: 1.02e-04 | 484.3ms/step | 41.3 samples/s
408
+ Step 31200/44000 | Loss: 2.9104 | LR: 1.00e-04 | 437.0ms/step | 45.8 samples/s
409
+ Validation at step 31250: Loss = 2.9510, Perplexity = 19.12
410
+ Step 31300/44000 | Loss: 2.9000 | LR: 9.90e-05 | 454.7ms/step | 44.0 samples/s
411
+ Step 31400/44000 | Loss: 2.9000 | LR: 9.76e-05 | 437.1ms/step | 45.8 samples/s
412
+ Step 31500/44000 | Loss: 2.9047 | LR: 9.62e-05 | 437.8ms/step | 45.7 samples/s
413
+ Validation at step 31500: Loss = 2.9502, Perplexity = 19.11
414
+ Step 31600/44000 | Loss: 2.9292 | LR: 9.47e-05 | 454.6ms/step | 44.0 samples/s
415
+ Step 31700/44000 | Loss: 2.8975 | LR: 9.33e-05 | 437.5ms/step | 45.7 samples/s
416
+ Validation at step 31750: Loss = 2.9493, Perplexity = 19.09
417
+ Step 31800/44000 | Loss: 2.8970 | LR: 9.19e-05 | 453.5ms/step | 44.1 samples/s
418
+ Step 31900/44000 | Loss: 2.9086 | LR: 9.05e-05 | 437.5ms/step | 45.7 samples/s
419
+ Step 32000/44000 | Loss: 2.9162 | LR: 8.91e-05 | 437.6ms/step | 45.7 samples/s
420
+ Validation at step 32000: Loss = 2.9491, Perplexity = 19.09
421
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-32000
422
+ Step 32100/44000 | Loss: 2.8867 | LR: 8.77e-05 | 484.2ms/step | 41.3 samples/s
423
+ Step 32200/44000 | Loss: 2.9098 | LR: 8.63e-05 | 437.1ms/step | 45.8 samples/s
424
+ Validation at step 32250: Loss = 2.9484, Perplexity = 19.08
425
+ Step 32300/44000 | Loss: 2.9202 | LR: 8.50e-05 | 454.4ms/step | 44.0 samples/s
426
+ Step 32400/44000 | Loss: 2.9078 | LR: 8.36e-05 | 437.7ms/step | 45.7 samples/s
427
+ Step 32500/44000 | Loss: 2.9058 | LR: 8.23e-05 | 437.6ms/step | 45.7 samples/s
428
+ Validation at step 32500: Loss = 2.9481, Perplexity = 19.07
429
+ Step 32600/44000 | Loss: 2.9019 | LR: 8.09e-05 | 454.4ms/step | 44.0 samples/s
430
+ Step 32700/44000 | Loss: 2.9039 | LR: 7.96e-05 | 437.8ms/step | 45.7 samples/s
431
+ Validation at step 32750: Loss = 2.9473, Perplexity = 19.05
432
+ Step 32800/44000 | Loss: 2.9323 | LR: 7.83e-05 | 454.6ms/step | 44.0 samples/s
433
+ Step 32900/44000 | Loss: 2.9106 | LR: 7.70e-05 | 437.7ms/step | 45.7 samples/s
434
+ Step 33000/44000 | Loss: 2.9091 | LR: 7.56e-05 | 439.2ms/step | 45.5 samples/s
435
+ Validation at step 33000: Loss = 2.9470, Perplexity = 19.05
436
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-33000
437
+ Step 33100/44000 | Loss: 2.8922 | LR: 7.44e-05 | 486.3ms/step | 41.1 samples/s
438
+ Step 33200/44000 | Loss: 2.9036 | LR: 7.31e-05 | 439.0ms/step | 45.6 samples/s
439
+ Validation at step 33250: Loss = 2.9466, Perplexity = 19.04
440
+ Step 33300/44000 | Loss: 2.9246 | LR: 7.18e-05 | 456.0ms/step | 43.9 samples/s
441
+ Step 33400/44000 | Loss: 2.9131 | LR: 7.05e-05 | 439.2ms/step | 45.5 samples/s
442
+ Step 33500/44000 | Loss: 2.9039 | LR: 6.93e-05 | 437.9ms/step | 45.7 samples/s
443
+ Validation at step 33500: Loss = 2.9464, Perplexity = 19.04
444
+ Step 33600/44000 | Loss: 2.9110 | LR: 6.80e-05 | 454.0ms/step | 44.0 samples/s
445
+ Step 33700/44000 | Loss: 2.9098 | LR: 6.68e-05 | 437.2ms/step | 45.8 samples/s
446
+ Validation at step 33750: Loss = 2.9454, Perplexity = 19.02
447
+ Step 33800/44000 | Loss: 2.8883 | LR: 6.55e-05 | 455.8ms/step | 43.9 samples/s
448
+ Step 33900/44000 | Loss: 2.9103 | LR: 6.43e-05 | 438.2ms/step | 45.6 samples/s
449
+ Step 34000/44000 | Loss: 2.8978 | LR: 6.31e-05 | 437.2ms/step | 45.7 samples/s
450
+ Validation at step 34000: Loss = 2.9452, Perplexity = 19.01
451
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-34000
452
+ Step 34100/44000 | Loss: 2.9269 | LR: 6.19e-05 | 484.3ms/step | 41.3 samples/s
453
+ Step 34200/44000 | Loss: 2.9041 | LR: 6.07e-05 | 437.0ms/step | 45.8 samples/s
454
+ Validation at step 34250: Loss = 2.9449, Perplexity = 19.01
455
+ Step 34300/44000 | Loss: 2.9098 | LR: 5.95e-05 | 455.1ms/step | 43.9 samples/s
456
+ Step 34400/44000 | Loss: 2.9094 | LR: 5.84e-05 | 438.3ms/step | 45.6 samples/s
457
+ Step 34500/44000 | Loss: 2.9051 | LR: 5.72e-05 | 437.4ms/step | 45.7 samples/s
458
+ Validation at step 34500: Loss = 2.9445, Perplexity = 19.00
459
+ Step 34600/44000 | Loss: 2.8926 | LR: 5.60e-05 | 455.0ms/step | 44.0 samples/s
460
+ Step 34700/44000 | Loss: 2.9188 | LR: 5.49e-05 | 437.7ms/step | 45.7 samples/s
461
+ Validation at step 34750: Loss = 2.9444, Perplexity = 19.00
462
+ Step 34800/44000 | Loss: 2.9080 | LR: 5.38e-05 | 454.8ms/step | 44.0 samples/s
463
+ Step 34900/44000 | Loss: 2.9065 | LR: 5.27e-05 | 437.6ms/step | 45.7 samples/s
464
+ Step 35000/44000 | Loss: 2.8951 | LR: 5.15e-05 | 437.4ms/step | 45.7 samples/s
465
+ Validation at step 35000: Loss = 2.9442, Perplexity = 19.00
466
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-35000
467
+ Step 35100/44000 | Loss: 2.8960 | LR: 5.04e-05 | 487.5ms/step | 41.0 samples/s
468
+ Step 35200/44000 | Loss: 2.9044 | LR: 4.94e-05 | 438.2ms/step | 45.6 samples/s
469
+ Validation at step 35250: Loss = 2.9438, Perplexity = 18.99
470
+ Step 35300/44000 | Loss: 2.8990 | LR: 4.83e-05 | 454.4ms/step | 44.0 samples/s
471
+ Step 35400/44000 | Loss: 2.9109 | LR: 4.72e-05 | 436.4ms/step | 45.8 samples/s
472
+ Step 35500/44000 | Loss: 2.9150 | LR: 4.62e-05 | 436.5ms/step | 45.8 samples/s
473
+ Validation at step 35500: Loss = 2.9436, Perplexity = 18.98
474
+ Step 35600/44000 | Loss: 2.9011 | LR: 4.51e-05 | 454.7ms/step | 44.0 samples/s
475
+ Step 35700/44000 | Loss: 2.9049 | LR: 4.41e-05 | 436.7ms/step | 45.8 samples/s
476
+ Validation at step 35750: Loss = 2.9436, Perplexity = 18.98
477
+ Step 35800/44000 | Loss: 2.8831 | LR: 4.31e-05 | 454.5ms/step | 44.0 samples/s
478
+ Step 35900/44000 | Loss: 2.9003 | LR: 4.20e-05 | 437.5ms/step | 45.7 samples/s
479
+ Step 36000/44000 | Loss: 2.9301 | LR: 4.10e-05 | 436.2ms/step | 45.8 samples/s
480
+ Validation at step 36000: Loss = 2.9434, Perplexity = 18.98
481
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-36000
482
+ Step 36100/44000 | Loss: 2.8998 | LR: 4.00e-05 | 486.2ms/step | 41.1 samples/s
483
+ Step 36200/44000 | Loss: 2.9058 | LR: 3.91e-05 | 437.4ms/step | 45.7 samples/s
484
+ Validation at step 36250: Loss = 2.9434, Perplexity = 18.98
485
+ Step 36300/44000 | Loss: 2.9010 | LR: 3.81e-05 | 454.0ms/step | 44.1 samples/s
486
+ Step 36400/44000 | Loss: 2.9119 | LR: 3.71e-05 | 437.0ms/step | 45.8 samples/s
487
+ Step 36500/44000 | Loss: 2.9049 | LR: 3.62e-05 | 437.0ms/step | 45.8 samples/s
488
+ Validation at step 36500: Loss = 2.9431, Perplexity = 18.98
489
+ Step 36600/44000 | Loss: 2.8979 | LR: 3.53e-05 | 454.5ms/step | 44.0 samples/s
490
+ Step 36700/44000 | Loss: 2.9048 | LR: 3.43e-05 | 437.6ms/step | 45.7 samples/s
491
+ Validation at step 36750: Loss = 2.9431, Perplexity = 18.97
492
+ Step 36800/44000 | Loss: 2.9167 | LR: 3.34e-05 | 454.3ms/step | 44.0 samples/s
493
+ Step 36900/44000 | Loss: 2.9073 | LR: 3.25e-05 | 437.0ms/step | 45.8 samples/s
494
+ Step 37000/44000 | Loss: 2.8956 | LR: 3.16e-05 | 437.7ms/step | 45.7 samples/s
495
+ Validation at step 37000: Loss = 2.9430, Perplexity = 18.97
496
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-37000
497
+ Step 37100/44000 | Loss: 2.9025 | LR: 3.07e-05 | 484.1ms/step | 41.3 samples/s
498
+ Step 37200/44000 | Loss: 2.9125 | LR: 2.99e-05 | 436.1ms/step | 45.9 samples/s
499
+ Validation at step 37250: Loss = 2.9429, Perplexity = 18.97
500
+ Step 37300/44000 | Loss: 2.9050 | LR: 2.90e-05 | 453.8ms/step | 44.1 samples/s
501
+ Step 37400/44000 | Loss: 2.8952 | LR: 2.82e-05 | 437.2ms/step | 45.7 samples/s
502
+ Step 37500/44000 | Loss: 2.9260 | LR: 2.74e-05 | 437.3ms/step | 45.7 samples/s
503
+ Validation at step 37500: Loss = 2.9429, Perplexity = 18.97
504
+ Step 37600/44000 | Loss: 2.9103 | LR: 2.65e-05 | 454.4ms/step | 44.0 samples/s
505
+ Step 37700/44000 | Loss: 2.8781 | LR: 2.57e-05 | 436.9ms/step | 45.8 samples/s
506
+ Validation at step 37750: Loss = 2.9427, Perplexity = 18.97
507
+ Step 37800/44000 | Loss: 2.9165 | LR: 2.49e-05 | 455.5ms/step | 43.9 samples/s
508
+ Step 37900/44000 | Loss: 2.9013 | LR: 2.41e-05 | 436.7ms/step | 45.8 samples/s
509
+ Step 38000/44000 | Loss: 2.9022 | LR: 2.34e-05 | 437.2ms/step | 45.7 samples/s
510
+ Validation at step 38000: Loss = 2.9427, Perplexity = 18.97
511
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-38000
512
+ Step 38100/44000 | Loss: 2.8820 | LR: 2.26e-05 | 485.4ms/step | 41.2 samples/s
513
+ Step 38200/44000 | Loss: 2.8973 | LR: 2.19e-05 | 437.5ms/step | 45.7 samples/s
514
+ Validation at step 38250: Loss = 2.9426, Perplexity = 18.96
515
+ Step 38300/44000 | Loss: 2.9056 | LR: 2.11e-05 | 454.4ms/step | 44.0 samples/s
516
+ Step 38400/44000 | Loss: 2.9050 | LR: 2.04e-05 | 437.6ms/step | 45.7 samples/s
517
+ Step 38500/44000 | Loss: 2.9004 | LR: 1.97e-05 | 438.0ms/step | 45.7 samples/s
518
+ Validation at step 38500: Loss = 2.9426, Perplexity = 18.96
519
+ Step 38600/44000 | Loss: 2.8895 | LR: 1.90e-05 | 455.3ms/step | 43.9 samples/s
520
+ Step 38700/44000 | Loss: 2.8986 | LR: 1.83e-05 | 438.6ms/step | 45.6 samples/s
521
+ Validation at step 38750: Loss = 2.9425, Perplexity = 18.96
522
+ Step 38800/44000 | Loss: 2.9114 | LR: 1.76e-05 | 455.1ms/step | 43.9 samples/s
523
+ Step 38900/44000 | Loss: 2.8867 | LR: 1.70e-05 | 437.4ms/step | 45.7 samples/s
524
+ Step 39000/44000 | Loss: 2.8865 | LR: 1.63e-05 | 437.8ms/step | 45.7 samples/s
525
+ Validation at step 39000: Loss = 2.9425, Perplexity = 18.96
526
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-39000
527
+ Step 39100/44000 | Loss: 2.8847 | LR: 1.57e-05 | 486.3ms/step | 41.1 samples/s
528
+ Step 39200/44000 | Loss: 2.9052 | LR: 1.50e-05 | 437.7ms/step | 45.7 samples/s
529
+ Validation at step 39250: Loss = 2.9425, Perplexity = 18.96
530
+ Step 39300/44000 | Loss: 2.8853 | LR: 1.44e-05 | 455.5ms/step | 43.9 samples/s
531
+ Step 39400/44000 | Loss: 2.9161 | LR: 1.38e-05 | 438.5ms/step | 45.6 samples/s
532
+ Step 39500/44000 | Loss: 2.9164 | LR: 1.32e-05 | 438.5ms/step | 45.6 samples/s
533
+ Validation at step 39500: Loss = 2.9424, Perplexity = 18.96
534
+ Step 39600/44000 | Loss: 2.9057 | LR: 1.27e-05 | 455.5ms/step | 43.9 samples/s
535
+ Step 39700/44000 | Loss: 2.9129 | LR: 1.21e-05 | 438.2ms/step | 45.6 samples/s
536
+ Validation at step 39750: Loss = 2.9424, Perplexity = 18.96
537
+ Step 39800/44000 | Loss: 2.9096 | LR: 1.15e-05 | 455.0ms/step | 44.0 samples/s
538
+ Step 39900/44000 | Loss: 2.9188 | LR: 1.10e-05 | 437.8ms/step | 45.7 samples/s
539
+ Step 40000/44000 | Loss: 2.9064 | LR: 1.05e-05 | 438.2ms/step | 45.6 samples/s
540
+ Validation at step 40000: Loss = 2.9424, Perplexity = 18.96
541
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-40000
542
+ Step 40100/44000 | Loss: 2.8944 | LR: 9.96e-06 | 486.4ms/step | 41.1 samples/s
543
+ Step 40200/44000 | Loss: 2.8920 | LR: 9.46e-06 | 438.1ms/step | 45.6 samples/s
544
+ Validation at step 40250: Loss = 2.9424, Perplexity = 18.96
545
+ Step 40300/44000 | Loss: 2.9163 | LR: 8.97e-06 | 455.9ms/step | 43.9 samples/s
546
+ Step 40400/44000 | Loss: 2.8962 | LR: 8.50e-06 | 438.4ms/step | 45.6 samples/s
547
+ Step 40500/44000 | Loss: 2.8868 | LR: 8.04e-06 | 438.1ms/step | 45.7 samples/s
548
+ Validation at step 40500: Loss = 2.9424, Perplexity = 18.96
549
+ Step 40600/44000 | Loss: 2.8995 | LR: 7.59e-06 | 455.3ms/step | 43.9 samples/s
550
+ Step 40700/44000 | Loss: 2.9103 | LR: 7.15e-06 | 438.3ms/step | 45.6 samples/s
551
+ Validation at step 40750: Loss = 2.9423, Perplexity = 18.96
552
+ Step 40800/44000 | Loss: 2.9073 | LR: 6.72e-06 | 455.4ms/step | 43.9 samples/s
553
+ Step 40900/44000 | Loss: 2.9062 | LR: 6.31e-06 | 438.6ms/step | 45.6 samples/s
554
+ Step 41000/44000 | Loss: 2.9028 | LR: 5.91e-06 | 438.1ms/step | 45.6 samples/s
555
+ Validation at step 41000: Loss = 2.9424, Perplexity = 18.96
556
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-41000
557
+ Step 41100/44000 | Loss: 2.9286 | LR: 5.53e-06 | 485.9ms/step | 41.2 samples/s
558
+ Step 41200/44000 | Loss: 2.8938 | LR: 5.15e-06 | 437.5ms/step | 45.7 samples/s
559
+ Validation at step 41250: Loss = 2.9424, Perplexity = 18.96
560
+ Step 41300/44000 | Loss: 2.9098 | LR: 4.79e-06 | 454.7ms/step | 44.0 samples/s
561
+ Step 41400/44000 | Loss: 2.9049 | LR: 4.45e-06 | 438.0ms/step | 45.7 samples/s
562
+ Step 41500/44000 | Loss: 2.8782 | LR: 4.11e-06 | 438.2ms/step | 45.6 samples/s
563
+ Validation at step 41500: Loss = 2.9424, Perplexity = 18.96
564
+ Step 41600/44000 | Loss: 2.9010 | LR: 3.79e-06 | 455.3ms/step | 43.9 samples/s
565
+ Step 41700/44000 | Loss: 2.9046 | LR: 3.48e-06 | 438.1ms/step | 45.6 samples/s
566
+ Validation at step 41750: Loss = 2.9423, Perplexity = 18.96
567
+ Step 41800/44000 | Loss: 2.9250 | LR: 3.19e-06 | 455.3ms/step | 43.9 samples/s
568
+ Step 41900/44000 | Loss: 2.8708 | LR: 2.90e-06 | 438.1ms/step | 45.6 samples/s
569
+ Step 42000/44000 | Loss: 2.9088 | LR: 2.63e-06 | 438.2ms/step | 45.6 samples/s
570
+ Validation at step 42000: Loss = 2.9423, Perplexity = 18.96
571
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-42000
572
+ Step 42100/44000 | Loss: 2.9261 | LR: 2.38e-06 | 488.0ms/step | 41.0 samples/s
573
+ Step 42200/44000 | Loss: 2.8979 | LR: 2.13e-06 | 437.5ms/step | 45.7 samples/s
574
+ Validation at step 42250: Loss = 2.9424, Perplexity = 18.96
575
+ Step 42300/44000 | Loss: 2.8978 | LR: 1.90e-06 | 454.7ms/step | 44.0 samples/s
576
+ Step 42400/44000 | Loss: 2.9129 | LR: 1.69e-06 | 438.1ms/step | 45.7 samples/s
577
+ Step 42500/44000 | Loss: 2.9031 | LR: 1.48e-06 | 438.1ms/step | 45.7 samples/s
578
+ Validation at step 42500: Loss = 2.9423, Perplexity = 18.96
579
+ Step 42600/44000 | Loss: 2.9200 | LR: 1.29e-06 | 455.5ms/step | 43.9 samples/s
580
+ Step 42700/44000 | Loss: 2.9030 | LR: 1.11e-06 | 438.3ms/step | 45.6 samples/s
581
+ Validation at step 42750: Loss = 2.9424, Perplexity = 18.96
582
+ Step 42800/44000 | Loss: 2.9052 | LR: 9.49e-07 | 455.5ms/step | 43.9 samples/s
583
+ Step 42900/44000 | Loss: 2.8999 | LR: 7.98e-07 | 437.4ms/step | 45.7 samples/s
584
+ Step 43000/44000 | Loss: 2.8856 | LR: 6.59e-07 | 437.5ms/step | 45.7 samples/s
585
+ Validation at step 43000: Loss = 2.9423, Perplexity = 18.96
586
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-43000
587
+ Step 43100/44000 | Loss: 2.9006 | LR: 5.34e-07 | 484.5ms/step | 41.3 samples/s
588
+ Step 43200/44000 | Loss: 2.9036 | LR: 4.22e-07 | 436.5ms/step | 45.8 samples/s
589
+ Validation at step 43250: Loss = 2.9423, Perplexity = 18.96
590
+ Step 43300/44000 | Loss: 2.8914 | LR: 3.23e-07 | 454.3ms/step | 44.0 samples/s
591
+ Step 43400/44000 | Loss: 2.9069 | LR: 2.37e-07 | 437.4ms/step | 45.7 samples/s
592
+ Step 43500/44000 | Loss: 2.8928 | LR: 1.65e-07 | 437.4ms/step | 45.7 samples/s
593
+ Validation at step 43500: Loss = 2.9424, Perplexity = 18.96
594
+ Step 43600/44000 | Loss: 2.9161 | LR: 1.06e-07 | 454.1ms/step | 44.0 samples/s
595
+ Step 43700/44000 | Loss: 2.9227 | LR: 5.94e-08 | 436.9ms/step | 45.8 samples/s
596
+ Validation at step 43750: Loss = 2.9423, Perplexity = 18.96
597
+ Step 43800/44000 | Loss: 2.9093 | LR: 2.64e-08 | 454.3ms/step | 44.0 samples/s
598
+ Step 43900/44000 | Loss: 2.9149 | LR: 6.60e-09 | 437.4ms/step | 45.7 samples/s
599
+ Step 44000/44000 | Loss: 2.9269 | LR: 0.00e+00 | 437.0ms/step | 45.8 samples/s
600
+ Validation at step 44000: Loss = 2.9424, Perplexity = 18.96
601
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-44000
602
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-44000
603
+ wandb:
604
+ wandb: Run history:
605
+ wandb: eval/dense_interval_active ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
606
+ wandb: eval/dense_interval_end ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
607
+ wandb: eval/dense_interval_start ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
608
+ wandb: eval/loss ████▇▆▆▅▅▅▅▄▄▄▃▃▃▃▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
609
+ wandb: eval/perplexity ██▇▇▇▆▆▆▅▅▅▄▃▃▃▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
610
+ wandb: eval/uses_dense_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
611
+ wandb: eval/uses_sparse_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
612
+ wandb: speed/ms_per_step ▁▁▁▁▄█▄▄▁▁▄▁▄▁��▃▄▁▄▁▄▁▁▁▄▁▄▁▄▁▄▁▄▄█▄▄▁▁▁
613
+ wandb: speed/samples_per_sec ▆█▂▅▅█▅█▁████▅▅▁▅█▅███▅██▁▅██▁████████▅█
614
+ wandb: speed/steps_per_sec ██▇███▁▇▁▅███▅▁██▇█▇▁▇▅▇▁▅▅█████▁█▇▅▇▁▅█
615
+ wandb: +4 ...
616
+ wandb:
617
+ wandb: Run summary:
618
+ wandb: eval/dense_interval_active 0
619
+ wandb: eval/dense_interval_end -1
620
+ wandb: eval/dense_interval_start -1
621
+ wandb: eval/loss 2.94235
622
+ wandb: eval/perplexity 18.96044
623
+ wandb: eval/uses_dense_attention 0
624
+ wandb: eval/uses_sparse_attention 1
625
+ wandb: speed/ms_per_step 436.9685
626
+ wandb: speed/samples_per_sec 45.76989
627
+ wandb: speed/steps_per_sec 2.28849
628
+ wandb: +4 ...
629
+ wandb:
630
+ wandb: You can sync this run to the cloud by running:
631
+ wandb: wandb sync /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_195241-nihe6o4e
632
+ wandb: Find logs at: ./wandb/offline-run-20260921_195241-nihe6o4e/logs
633
+ Training complete!
epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163113/orchestrator.log ADDED
@@ -0,0 +1 @@
 
 
1
+ bash: line 20: seed: unbound variable
epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163148/orchestrator.log ADDED
@@ -0,0 +1 @@
 
 
1
+ START seed=42 2026-09-21T16:31:48+00:00
epfl_final/logs/ALIBI_20260921/ddp4_seq_20260921_163148/seed42.log ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0921 16:31:51.249000 193 site-packages/torch/distributed/run.py:851]
2
+ W0921 16:31:51.249000 193 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0921 16:31:51.249000 193 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0921 16:31:51.249000 193 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 8192,
15
+ "num_workers": 8,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": 44000,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 5,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 1000,
29
+ "eval_steps": 250,
30
+ "eval_batches": 50,
31
+ "logging_steps": 100,
32
+ "seed": 42,
33
+ "verbose": true,
34
+ "checkpoint_activations": false,
35
+ "resume_micro_step_override": 10000,
36
+ "strategy": "ddp",
37
+ "mixed_precision": "bf16",
38
+ "wandb_enabled": true,
39
+ "wandb_project": "stochastic_sparsity",
40
+ "wandb_name": "365m alibi 8k s42",
41
+ "wandb_tags": [
42
+ "qwen3",
43
+ "365m",
44
+ "8k",
45
+ "scaleladder",
46
+ "alibi",
47
+ "seed42"
48
+ ],
49
+ "hidden_size": 768,
50
+ "intermediate_size": 3072,
51
+ "num_attention_heads": 6,
52
+ "num_key_value_heads": 2,
53
+ "num_hidden_layers": 28,
54
+ "head_dim": null,
55
+ "attention_dropout": null,
56
+ "rope_train_position_scale_set": null,
57
+ "positional": "alibi",
58
+ "attention_type": "dense",
59
+ "sparse_block_size": 128,
60
+ "sparse_num_random_blocks": 31,
61
+ "sparse_mask_pool_size": 1,
62
+ "sparse_val_dense_compare": false,
63
+ "sparse_layer_indices": null,
64
+ "sparse_mask_cache_dir": null,
65
+ "sparse_mask_seed": 0,
66
+ "sparse_mixed_nrb_set": null,
67
+ "dense_mode": false,
68
+ "dense_step_intervals": null
69
+ }
70
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
71
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000
72
+ Checkpoint activations: False
73
+ Checkpoint activations: False
74
+ Checkpoint activations: False
75
+ Checkpoint activations: False
76
+
77
+
78
+ ================================================================================
79
+ MODEL ARCHITECTURE
80
+ ================================================================================
81
+ Model config:
82
+ vocab_size: 151936
83
+ hidden_size: 768
84
+ num_hidden_layers: 28
85
+ num_attention_heads: 6
86
+ num_key_value_heads: 2
87
+ head_dim: 128
88
+ intermediate_size: 3072
89
+ max_position_embeddings: 32768
90
+ rope_theta: 1000000
91
+ rope_train_position_scale_set: None
92
+ attention_type: dense
93
+
94
+ Parameter count:
95
+ Total parameters: 358,958,848
96
+ Trainable parameters: 358,958,848
97
+ Non-trainable parameters: 0
98
+ Model size (BF16): 0.72 GB
99
+
100
+ --------------------------------------------------------------------------------
101
+ LAYER-BY-LAYER SUMMARY
102
+ --------------------------------------------------------------------------------
103
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
104
+
105
+ SOLUTION: Use torch.compile(flex_attention)(...)
106
+
107
+ If you want to debug your score_mod/mask_mod, you can set:
108
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
109
+
110
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
111
+ _warn_once(
112
+ =================================================================================================================================================
113
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
114
+ =================================================================================================================================================
115
+ Qwen3ForCausalLM [1, 8192] -- -- True
116
+ ���─Qwen3Model: 1-1 -- [1, 8192, 768] -- True
117
+ │ └─Embedding: 2-1 [1, 8192] [1, 8192, 768] 116,686,848 True
118
+ │ └─ModuleList: 2-2 -- -- -- True
119
+ │ │ └─Qwen3DecoderLayer: 3-1 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-2 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-3 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-4 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-5 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-6 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-7 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-8 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-9 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-10 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-11 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-12 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-13 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-14 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-15 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-16 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-17 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-18 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-19 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-20 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-21 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
140
+ │ │ └─Qwen3DecoderLayer: 3-22 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
141
+ │ │ └─Qwen3DecoderLayer: 3-23 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
142
+ │ │ └─Qwen3DecoderLayer: 3-24 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
143
+ │ │ └─Qwen3DecoderLayer: 3-25 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
144
+ │ │ └─Qwen3DecoderLayer: 3-26 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
145
+ │ │ └─Qwen3DecoderLayer: 3-27 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
146
+ │ │ └─Qwen3DecoderLayer: 3-28 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
147
+ │ └─Qwen3RMSNorm: 2-3 [1, 8192, 768] [1, 8192, 768] 768 True
148
+ ├─Linear: 1-2 [1, 8192, 768] [1, 8192, 151936] 116,686,848 True
149
+ =================================================================================================================================================
150
+ Total params: 475,645,696
151
+ Trainable params: 475,645,696
152
+ Non-trainable params: 0
153
+ Total mult-adds (Units.MEGABYTES): 475.65
154
+ =================================================================================================================================================
155
+ Input size (MB): 0.07
156
+ Forward/backward pass size (MB): 15598.62
157
+ Params size (MB): 951.29
158
+ Estimated Total Size (MB): 16549.97
159
+ =================================================================================================================================================
160
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
161
+ ================================================================================
162
+
163
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
164
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
165
+ Using pre-tokenized dataset (no runtime tokenization)
166
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
167
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
168
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
169
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
170
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
171
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
172
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
173
+ Dataset split: 3027764 train, 159356 validation
174
+ Training examples (packed, train split): 3027764
175
+ Validation examples (packed, val split): 159356
176
+ Per-device batch size: 1
177
+ World size (GPUs): 4
178
+ Gradient accumulation steps: 5
179
+ Effective batch size (seqs/step): 20
180
+ Sequence length: 8192
181
+ Tokens per optimizer step: 163,840
182
+ Micro-batches per epoch (per rank): 756941
183
+ Optimizer steps per epoch: 151388
184
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
185
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000...
186
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
187
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
188
+ Overriding resume micro-step 20000 -> 10000 for DDP migration
189
+ Resuming training from step 2000
190
+ Resuming wandb run nihe6o4e
191
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id nihe6o4e.
192
+ wandb: Tracking run with wandb version 0.26.1
193
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
194
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_163219-nihe6o4e
195
+ Starting training...
196
+ Validation at step 2000: Loss = 3.6852, Perplexity = 39.85
197
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
198
+ Step 2100/44000 | Loss: 3.6414 | LR: 4.99e-04 | 1840.7ms/step | 10.9 samples/s
199
+ Step 2200/44000 | Loss: 3.6338 | LR: 4.99e-04 | 438.2ms/step | 45.6 samples/s
200
+ Validation at step 2250: Loss = 3.6290, Perplexity = 37.67
201
+ Step 2300/44000 | Loss: 3.5974 | LR: 4.98e-04 | 456.5ms/step | 43.8 samples/s
202
+ Step 2400/44000 | Loss: 3.5602 | LR: 4.98e-04 | 440.6ms/step | 45.4 samples/s
203
+ Step 2500/44000 | Loss: 3.5566 | LR: 4.98e-04 | 440.2ms/step | 45.4 samples/s
204
+ Validation at step 2500: Loss = 3.5785, Perplexity = 35.82
205
+ Step 2600/44000 | Loss: 3.5170 | LR: 4.98e-04 | 457.0ms/step | 43.8 samples/s
206
+ Step 2700/44000 | Loss: 3.4957 | LR: 4.97e-04 | 438.8ms/step | 45.6 samples/s
207
+ Validation at step 2750: Loss = 3.5411, Perplexity = 34.50
208
+ Step 2800/44000 | Loss: 3.5299 | LR: 4.97e-04 | 455.1ms/step | 43.9 samples/s
209
+ Step 2900/44000 | Loss: 3.4934 | LR: 4.97e-04 | 438.2ms/step | 45.6 samples/s
210
+ Step 3000/44000 | Loss: 3.5026 | LR: 4.97e-04 | 438.9ms/step | 45.6 samples/s
211
+ Validation at step 3000: Loss = 3.5080, Perplexity = 33.38
212
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-3000
213
+ Step 3100/44000 | Loss: 3.4725 | LR: 4.96e-04 | 487.0ms/step | 41.1 samples/s
214
+ Step 3200/44000 | Loss: 3.4509 | LR: 4.96e-04 | 439.2ms/step | 45.5 samples/s
215
+ Validation at step 3250: Loss = 3.4794, Perplexity = 32.44
216
+ Step 3300/44000 | Loss: 3.4351 | LR: 4.96e-04 | 455.9ms/step | 43.9 samples/s
217
+ Step 3400/44000 | Loss: 3.4322 | LR: 4.95e-04 | 440.2ms/step | 45.4 samples/s
218
+ Step 3500/44000 | Loss: 3.4099 | LR: 4.95e-04 | 438.7ms/step | 45.6 samples/s
219
+ Validation at step 3500: Loss = 3.4544, Perplexity = 31.64
220
+ Step 3600/44000 | Loss: 3.4246 | LR: 4.95e-04 | 455.9ms/step | 43.9 samples/s
221
+ Step 3700/44000 | Loss: 3.4090 | LR: 4.94e-04 | 438.6ms/step | 45.6 samples/s
222
+ Validation at step 3750: Loss = 3.4323, Perplexity = 30.95
223
+ Step 3800/44000 | Loss: 3.3831 | LR: 4.94e-04 | 455.5ms/step | 43.9 samples/s
224
+ Step 3900/44000 | Loss: 3.3802 | LR: 4.93e-04 | 438.9ms/step | 45.6 samples/s
225
+ Step 4000/44000 | Loss: 3.3732 | LR: 4.93e-04 | 438.9ms/step | 45.6 samples/s
226
+ Validation at step 4000: Loss = 3.4119, Perplexity = 30.32
227
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-4000
228
+ Step 4100/44000 | Loss: 3.3711 | LR: 4.93e-04 | 484.4ms/step | 41.3 samples/s
229
+ Step 4200/44000 | Loss: 3.3590 | LR: 4.92e-04 | 437.0ms/step | 45.8 samples/s
230
+ Validation at step 4250: Loss = 3.3891, Perplexity = 29.64
231
+ Step 4300/44000 | Loss: 3.3634 | LR: 4.92e-04 | 454.9ms/step | 44.0 samples/s
232
+ Step 4400/44000 | Loss: 3.3420 | LR: 4.91e-04 | 437.8ms/step | 45.7 samples/s
233
+ Step 4500/44000 | Loss: 3.3241 | LR: 4.91e-04 | 438.3ms/step | 45.6 samples/s
234
+ Validation at step 4500: Loss = 3.3773, Perplexity = 29.29
235
+ Step 4600/44000 | Loss: 3.3226 | LR: 4.90e-04 | 455.9ms/step | 43.9 samples/s
236
+ Step 4700/44000 | Loss: 3.3287 | LR: 4.90e-04 | 438.9ms/step | 45.6 samples/s
237
+ Validation at step 4750: Loss = 3.3632, Perplexity = 28.88
238
+ Step 4800/44000 | Loss: 3.3254 | LR: 4.89e-04 | 454.5ms/step | 44.0 samples/s
239
+ Step 4900/44000 | Loss: 3.3012 | LR: 4.89e-04 | 438.0ms/step | 45.7 samples/s
240
+ Step 5000/44000 | Loss: 3.3060 | LR: 4.88e-04 | 437.8ms/step | 45.7 samples/s
241
+ Validation at step 5000: Loss = 3.3488, Perplexity = 28.47
242
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-5000
243
+ Step 5100/44000 | Loss: 3.2958 | LR: 4.88e-04 | 488.8ms/step | 40.9 samples/s
244
+ Step 5200/44000 | Loss: 3.2990 | LR: 4.87e-04 | 440.8ms/step | 45.4 samples/s
245
+ Validation at step 5250: Loss = 3.3333, Perplexity = 28.03
246
+ Step 5300/44000 | Loss: 3.3205 | LR: 4.86e-04 | 456.0ms/step | 43.9 samples/s
247
+ Step 5400/44000 | Loss: 3.2890 | LR: 4.86e-04 | 437.9ms/step | 45.7 samples/s
248
+ Step 5500/44000 | Loss: 3.2792 | LR: 4.85e-04 | 437.9ms/step | 45.7 samples/s
249
+ Validation at step 5500: Loss = 3.3190, Perplexity = 27.63
250
+ Step 5600/44000 | Loss: 3.2905 | LR: 4.85e-04 | 454.7ms/step | 44.0 samples/s
251
+ Step 5700/44000 | Loss: 3.2627 | LR: 4.84e-04 | 438.1ms/step | 45.7 samples/s
252
+ Validation at step 5750: Loss = 3.3040, Perplexity = 27.22
253
+ Step 5800/44000 | Loss: 3.2672 | LR: 4.83e-04 | 454.0ms/step | 44.1 samples/s
254
+ Step 5900/44000 | Loss: 3.2572 | LR: 4.83e-04 | 436.5ms/step | 45.8 samples/s
255
+ Step 6000/44000 | Loss: 3.2646 | LR: 4.82e-04 | 436.3ms/step | 45.8 samples/s
256
+ Validation at step 6000: Loss = 3.2875, Perplexity = 26.78
257
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-6000
258
+ Step 6100/44000 | Loss: 3.2554 | LR: 4.81e-04 | 485.1ms/step | 41.2 samples/s
259
+ Step 6200/44000 | Loss: 3.2378 | LR: 4.81e-04 | 437.7ms/step | 45.7 samples/s
260
+ Validation at step 6250: Loss = 3.2817, Perplexity = 26.62
261
+ Step 6300/44000 | Loss: 3.2241 | LR: 4.80e-04 | 455.3ms/step | 43.9 samples/s
262
+ Step 6400/44000 | Loss: 3.2477 | LR: 4.79e-04 | 437.1ms/step | 45.8 samples/s
263
+ Step 6500/44000 | Loss: 3.2323 | LR: 4.79e-04 | 437.9ms/step | 45.7 samples/s
264
+ Validation at step 6500: Loss = 3.2703, Perplexity = 26.32
265
+ Step 6600/44000 | Loss: 3.2180 | LR: 4.78e-04 | 454.8ms/step | 44.0 samples/s
266
+ Step 6700/44000 | Loss: 3.2344 | LR: 4.77e-04 | 437.9ms/step | 45.7 samples/s
267
+ Validation at step 6750: Loss = 3.2625, Perplexity = 26.12
268
+ Step 6800/44000 | Loss: 3.2201 | LR: 4.76e-04 | 454.7ms/step | 44.0 samples/s
269
+ Step 6900/44000 | Loss: 3.2113 | LR: 4.75e-04 | 438.5ms/step | 45.6 samples/s
270
+ Step 7000/44000 | Loss: 3.2210 | LR: 4.75e-04 | 438.5ms/step | 45.6 samples/s
271
+ Validation at step 7000: Loss = 3.2546, Perplexity = 25.91
272
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-7000
273
+ Step 7100/44000 | Loss: 3.1977 | LR: 4.74e-04 | 487.4ms/step | 41.0 samples/s
274
+ Step 7200/44000 | Loss: 3.2093 | LR: 4.73e-04 | 438.1ms/step | 45.7 samples/s
275
+ Validation at step 7250: Loss = 3.2443, Perplexity = 25.64
276
+ Step 7300/44000 | Loss: 3.1957 | LR: 4.72e-04 | 455.1ms/step | 43.9 samples/s
277
+ Step 7400/44000 | Loss: 3.2087 | LR: 4.71e-04 | 438.4ms/step | 45.6 samples/s
278
+ Step 7500/44000 | Loss: 3.2125 | LR: 4.71e-04 | 438.8ms/step | 45.6 samples/s
279
+ Validation at step 7500: Loss = 3.2374, Perplexity = 25.47
280
+ Step 7600/44000 | Loss: 3.1824 | LR: 4.70e-04 | 455.2ms/step | 43.9 samples/s
281
+ Step 7700/44000 | Loss: 3.2040 | LR: 4.69e-04 | 437.7ms/step | 45.7 samples/s
282
+ Validation at step 7750: Loss = 3.2296, Perplexity = 25.27
283
+ Step 7800/44000 | Loss: 3.1780 | LR: 4.68e-04 | 455.1ms/step | 44.0 samples/s
284
+ Step 7900/44000 | Loss: 3.1836 | LR: 4.67e-04 | 437.5ms/step | 45.7 samples/s
285
+ Step 8000/44000 | Loss: 3.1987 | LR: 4.66e-04 | 437.3ms/step | 45.7 samples/s
286
+ Validation at step 8000: Loss = 3.2216, Perplexity = 25.07
287
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-8000
288
+ Step 8100/44000 | Loss: 3.1784 | LR: 4.65e-04 | 484.7ms/step | 41.3 samples/s
289
+ Step 8200/44000 | Loss: 3.1806 | LR: 4.64e-04 | 437.3ms/step | 45.7 samples/s
290
+ Validation at step 8250: Loss = 3.2140, Perplexity = 24.88
291
+ Step 8300/44000 | Loss: 3.1826 | LR: 4.63e-04 | 455.1ms/step | 43.9 samples/s
292
+ Step 8400/44000 | Loss: 3.1689 | LR: 4.62e-04 | 438.4ms/step | 45.6 samples/s
293
+ Step 8500/44000 | Loss: 3.1824 | LR: 4.61e-04 | 437.8ms/step | 45.7 samples/s
294
+ Validation at step 8500: Loss = 3.2081, Perplexity = 24.73
295
+ Step 8600/44000 | Loss: 3.1641 | LR: 4.60e-04 | 455.1ms/step | 44.0 samples/s
296
+ Step 8700/44000 | Loss: 3.1513 | LR: 4.59e-04 | 438.1ms/step | 45.7 samples/s
297
+ Validation at step 8750: Loss = 3.2015, Perplexity = 24.57
298
+ Step 8800/44000 | Loss: 3.1708 | LR: 4.58e-04 | 455.6ms/step | 43.9 samples/s
299
+ Step 8900/44000 | Loss: 3.1471 | LR: 4.57e-04 | 437.3ms/step | 45.7 samples/s
300
+ Step 9000/44000 | Loss: 3.1585 | LR: 4.56e-04 | 437.4ms/step | 45.7 samples/s
301
+ Validation at step 9000: Loss = 3.1946, Perplexity = 24.40
302
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-9000
303
+ Step 9100/44000 | Loss: 3.1521 | LR: 4.55e-04 | 483.9ms/step | 41.3 samples/s
304
+ Step 9200/44000 | Loss: 3.1565 | LR: 4.54e-04 | 437.4ms/step | 45.7 samples/s
305
+ Validation at step 9250: Loss = 3.1909, Perplexity = 24.31
306
+ Step 9300/44000 | Loss: 3.1727 | LR: 4.53e-04 | 453.7ms/step | 44.1 samples/s
307
+ Step 9400/44000 | Loss: 3.1604 | LR: 4.52e-04 | 438.0ms/step | 45.7 samples/s
308
+ Step 9500/44000 | Loss: 3.1477 | LR: 4.51e-04 | 437.3ms/step | 45.7 samples/s
309
+ Validation at step 9500: Loss = 3.1854, Perplexity = 24.18
310
+ Step 9600/44000 | Loss: 3.1458 | LR: 4.50e-04 | 453.8ms/step | 44.1 samples/s
311
+ Step 9700/44000 | Loss: 3.1306 | LR: 4.49e-04 | 437.6ms/step | 45.7 samples/s
312
+ Validation at step 9750: Loss = 3.1773, Perplexity = 23.98
313
+ Step 9800/44000 | Loss: 3.1282 | LR: 4.48e-04 | 454.4ms/step | 44.0 samples/s
314
+ Step 9900/44000 | Loss: 3.1320 | LR: 4.47e-04 | 436.8ms/step | 45.8 samples/s
315
+ Step 10000/44000 | Loss: 3.1347 | LR: 4.46e-04 | 437.1ms/step | 45.8 samples/s
316
+ Validation at step 10000: Loss = 3.1726, Perplexity = 23.87
317
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-10000
318
+ Step 10100/44000 | Loss: 3.1067 | LR: 4.45e-04 | 485.1ms/step | 41.2 samples/s
319
+ Step 10200/44000 | Loss: 3.1271 | LR: 4.43e-04 | 437.8ms/step | 45.7 samples/s
320
+ Validation at step 10250: Loss = 3.1653, Perplexity = 23.70
321
+ Step 10300/44000 | Loss: 3.1240 | LR: 4.42e-04 | 454.4ms/step | 44.0 samples/s
322
+ Step 10400/44000 | Loss: 3.1232 | LR: 4.41e-04 | 438.6ms/step | 45.6 samples/s
323
+ Step 10500/44000 | Loss: 3.1159 | LR: 4.40e-04 | 438.0ms/step | 45.7 samples/s
324
+ Validation at step 10500: Loss = 3.1629, Perplexity = 23.64
325
+ Step 10600/44000 | Loss: 3.1165 | LR: 4.39e-04 | 456.6ms/step | 43.8 samples/s
326
+ Step 10700/44000 | Loss: 3.1098 | LR: 4.37e-04 | 438.2ms/step | 45.6 samples/s
327
+ Validation at step 10750: Loss = 3.1567, Perplexity = 23.49
328
+ Step 10800/44000 | Loss: 3.1029 | LR: 4.36e-04 | 454.9ms/step | 44.0 samples/s
329
+ Step 10900/44000 | Loss: 3.1110 | LR: 4.35e-04 | 437.7ms/step | 45.7 samples/s
330
+ Step 11000/44000 | Loss: 3.1161 | LR: 4.34e-04 | 438.4ms/step | 45.6 samples/s
331
+ Validation at step 11000: Loss = 3.1528, Perplexity = 23.40
332
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-11000
333
+ Step 11100/44000 | Loss: 3.1044 | LR: 4.33e-04 | 484.6ms/step | 41.3 samples/s
334
+ Step 11200/44000 | Loss: 3.1291 | LR: 4.31e-04 | 437.1ms/step | 45.8 samples/s
335
+ Validation at step 11250: Loss = 3.1471, Perplexity = 23.27
336
+ Step 11300/44000 | Loss: 3.1105 | LR: 4.30e-04 | 454.8ms/step | 44.0 samples/s
337
+ Step 11400/44000 | Loss: 3.1041 | LR: 4.29e-04 | 437.2ms/step | 45.7 samples/s
338
+ Step 11500/44000 | Loss: 3.0933 | LR: 4.28e-04 | 436.9ms/step | 45.8 samples/s
339
+ Validation at step 11500: Loss = 3.1421, Perplexity = 23.15
340
+ Step 11600/44000 | Loss: 3.0865 | LR: 4.26e-04 | 454.4ms/step | 44.0 samples/s
341
+ Step 11700/44000 | Loss: 3.1113 | LR: 4.25e-04 | 437.6ms/step | 45.7 samples/s
342
+ Validation at step 11750: Loss = 3.1374, Perplexity = 23.04
343
+ Step 11800/44000 | Loss: 3.0923 | LR: 4.24e-04 | 455.4ms/step | 43.9 samples/s
344
+ Step 11900/44000 | Loss: 3.0900 | LR: 4.22e-04 | 437.7ms/step | 45.7 samples/s
345
+ Step 12000/44000 | Loss: 3.0963 | LR: 4.21e-04 | 437.8ms/step | 45.7 samples/s
346
+ Validation at step 12000: Loss = 3.1351, Perplexity = 22.99
347
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-12000
348
+ Step 12100/44000 | Loss: 3.0952 | LR: 4.20e-04 | 484.0ms/step | 41.3 samples/s
349
+ Step 12200/44000 | Loss: 3.0868 | LR: 4.18e-04 | 437.6ms/step | 45.7 samples/s
350
+ Validation at step 12250: Loss = 3.1284, Perplexity = 22.84
351
+ Step 12300/44000 | Loss: 3.0975 | LR: 4.17e-04 | 455.6ms/step | 43.9 samples/s
352
+ Step 12400/44000 | Loss: 3.0845 | LR: 4.16e-04 | 438.6ms/step | 45.6 samples/s
353
+ Step 12500/44000 | Loss: 3.0788 | LR: 4.14e-04 | 437.6ms/step | 45.7 samples/s
354
+ Validation at step 12500: Loss = 3.1241, Perplexity = 22.74
355
+ Step 12600/44000 | Loss: 3.0698 | LR: 4.13e-04 | 455.2ms/step | 43.9 samples/s
356
+ Step 12700/44000 | Loss: 3.0854 | LR: 4.12e-04 | 438.2ms/step | 45.6 samples/s
357
+ Validation at step 12750: Loss = 3.1169, Perplexity = 22.58
358
+ Step 12800/44000 | Loss: 3.0874 | LR: 4.10e-04 | 455.2ms/step | 43.9 samples/s
359
+ Step 12900/44000 | Loss: 3.0739 | LR: 4.09e-04 | 437.2ms/step | 45.7 samples/s
360
+ Step 13000/44000 | Loss: 3.0768 | LR: 4.07e-04 | 437.5ms/step | 45.7 samples/s
361
+ Validation at step 13000: Loss = 3.1155, Perplexity = 22.55
362
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-13000
363
+ Step 13100/44000 | Loss: 3.0873 | LR: 4.06e-04 | 485.6ms/step | 41.2 samples/s
364
+ Step 13200/44000 | Loss: 3.0853 | LR: 4.05e-04 | 437.3ms/step | 45.7 samples/s
365
+ Validation at step 13250: Loss = 3.1105, Perplexity = 22.43
366
+ Step 13300/44000 | Loss: 3.0821 | LR: 4.03e-04 | 453.6ms/step | 44.1 samples/s
367
+ Step 13400/44000 | Loss: 3.0847 | LR: 4.02e-04 | 436.8ms/step | 45.8 samples/s
368
+ Step 13500/44000 | Loss: 3.0735 | LR: 4.00e-04 | 437.2ms/step | 45.7 samples/s
369
+ Validation at step 13500: Loss = 3.1069, Perplexity = 22.35
370
+ Step 13600/44000 | Loss: 3.0673 | LR: 3.99e-04 | 455.0ms/step | 44.0 samples/s
371
+ Step 13700/44000 | Loss: 3.0836 | LR: 3.97e-04 | 437.6ms/step | 45.7 samples/s
372
+ Validation at step 13750: Loss = 3.1012, Perplexity = 22.23
373
+ Step 13800/44000 | Loss: 3.0566 | LR: 3.96e-04 | 455.1ms/step | 43.9 samples/s
374
+ Step 13900/44000 | Loss: 3.0440 | LR: 3.94e-04 | 437.0ms/step | 45.8 samples/s
375
+ Step 14000/44000 | Loss: 3.0619 | LR: 3.93e-04 | 436.9ms/step | 45.8 samples/s
376
+ Validation at step 14000: Loss = 3.1004, Perplexity = 22.21
377
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-14000
378
+ Step 14100/44000 | Loss: 3.0430 | LR: 3.91e-04 | 484.3ms/step | 41.3 samples/s
379
+ Step 14200/44000 | Loss: 3.0631 | LR: 3.90e-04 | 440.1ms/step | 45.4 samples/s
380
+ Validation at step 14250: Loss = 3.0984, Perplexity = 22.16
381
+ Step 14300/44000 | Loss: 3.0631 | LR: 3.88e-04 | 455.4ms/step | 43.9 samples/s
382
+ Step 14400/44000 | Loss: 3.0579 | LR: 3.87e-04 | 437.0ms/step | 45.8 samples/s
383
+ Step 14500/44000 | Loss: 3.0545 | LR: 3.85e-04 | 436.7ms/step | 45.8 samples/s
384
+ Validation at step 14500: Loss = 3.0922, Perplexity = 22.02
385
+ Step 14600/44000 | Loss: 3.0545 | LR: 3.84e-04 | 453.9ms/step | 44.1 samples/s
386
+ Step 14700/44000 | Loss: 3.0573 | LR: 3.82e-04 | 437.4ms/step | 45.7 samples/s
387
+ Validation at step 14750: Loss = 3.0897, Perplexity = 21.97
388
+ Step 14800/44000 | Loss: 3.0694 | LR: 3.81e-04 | 454.2ms/step | 44.0 samples/s
389
+ Step 14900/44000 | Loss: 3.0670 | LR: 3.79e-04 | 436.6ms/step | 45.8 samples/s
390
+ Step 15000/44000 | Loss: 3.0720 | LR: 3.78e-04 | 437.7ms/step | 45.7 samples/s
391
+ Validation at step 15000: Loss = 3.0858, Perplexity = 21.89
392
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-15000
393
+ Step 15100/44000 | Loss: 3.0604 | LR: 3.76e-04 | 485.0ms/step | 41.2 samples/s
394
+ Step 15200/44000 | Loss: 3.0517 | LR: 3.74e-04 | 437.9ms/step | 45.7 samples/s
395
+ Validation at step 15250: Loss = 3.0830, Perplexity = 21.82
396
+ Step 15300/44000 | Loss: 3.0399 | LR: 3.73e-04 | 453.9ms/step | 44.1 samples/s
397
+ Step 15400/44000 | Loss: 3.0466 | LR: 3.71e-04 | 436.6ms/step | 45.8 samples/s
398
+ Step 15500/44000 | Loss: 3.0513 | LR: 3.70e-04 | 437.1ms/step | 45.8 samples/s
399
+ Validation at step 15500: Loss = 3.0820, Perplexity = 21.80
400
+ Step 15600/44000 | Loss: 3.0313 | LR: 3.68e-04 | 454.8ms/step | 44.0 samples/s
401
+ Step 15700/44000 | Loss: 3.0489 | LR: 3.67e-04 | 436.7ms/step | 45.8 samples/s
402
+ Validation at step 15750: Loss = 3.0796, Perplexity = 21.75
403
+ Step 15800/44000 | Loss: 3.0370 | LR: 3.65e-04 | 454.2ms/step | 44.0 samples/s
404
+ Step 15900/44000 | Loss: 3.0526 | LR: 3.63e-04 | 437.3ms/step | 45.7 samples/s
405
+ Step 16000/44000 | Loss: 3.0398 | LR: 3.62e-04 | 439.0ms/step | 45.6 samples/s
406
+ Validation at step 16000: Loss = 3.0750, Perplexity = 21.65
407
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-16000
408
+ Step 16100/44000 | Loss: 3.0418 | LR: 3.60e-04 | 487.2ms/step | 41.0 samples/s
409
+ Step 16200/44000 | Loss: 3.0545 | LR: 3.58e-04 | 437.7ms/step | 45.7 samples/s
410
+ Validation at step 16250: Loss = 3.0699, Perplexity = 21.54
411
+ Step 16300/44000 | Loss: 3.0429 | LR: 3.57e-04 | 454.6ms/step | 44.0 samples/s
412
+ Step 16400/44000 | Loss: 3.0364 | LR: 3.55e-04 | 437.3ms/step | 45.7 samples/s
413
+ Step 16500/44000 | Loss: 3.0330 | LR: 3.53e-04 | 438.3ms/step | 45.6 samples/s
414
+ Validation at step 16500: Loss = 3.0672, Perplexity = 21.48
415
+ Step 16600/44000 | Loss: 3.0124 | LR: 3.52e-04 | 454.7ms/step | 44.0 samples/s
416
+ Step 16700/44000 | Loss: 3.0507 | LR: 3.50e-04 | 437.3ms/step | 45.7 samples/s
417
+ Validation at step 16750: Loss = 3.0645, Perplexity = 21.42
418
+ Step 16800/44000 | Loss: 3.0211 | LR: 3.48e-04 | 454.9ms/step | 44.0 samples/s
419
+ Step 16900/44000 | Loss: 3.0055 | LR: 3.47e-04 | 438.0ms/step | 45.7 samples/s
420
+ Step 17000/44000 | Loss: 3.0231 | LR: 3.45e-04 | 438.0ms/step | 45.7 samples/s
421
+ Validation at step 17000: Loss = 3.0619, Perplexity = 21.37
422
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-17000
423
+ Step 17100/44000 | Loss: 3.0356 | LR: 3.43e-04 | 483.9ms/step | 41.3 samples/s
424
+ Step 17200/44000 | Loss: 3.0205 | LR: 3.42e-04 | 438.0ms/step | 45.7 samples/s
425
+ Validation at step 17250: Loss = 3.0589, Perplexity = 21.30
426
+ Step 17300/44000 | Loss: 3.0222 | LR: 3.40e-04 | 454.3ms/step | 44.0 samples/s
427
+ Step 17400/44000 | Loss: 3.0271 | LR: 3.38e-04 | 437.0ms/step | 45.8 samples/s
428
+ Step 17500/44000 | Loss: 2.9947 | LR: 3.37e-04 | 437.0ms/step | 45.8 samples/s
429
+ Validation at step 17500: Loss = 3.0545, Perplexity = 21.21
epfl_final/logs/ALIBI_20260921/ddp5_a10040_s43_20260921_164403/orchestrator.log ADDED
File without changes
epfl_final/logs/ALIBI_20260921/ddp5_a10040_s43_20260921_164403/seed43.log ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0921 16:44:15.953000 145 site-packages/torch/distributed/run.py:851]
2
+ W0921 16:44:15.953000 145 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0921 16:44:15.953000 145 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0921 16:44:15.953000 145 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 8192,
15
+ "num_workers": 8,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": 44000,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 4,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 1000,
29
+ "eval_steps": 250,
30
+ "eval_batches": 50,
31
+ "logging_steps": 100,
32
+ "seed": 43,
33
+ "verbose": true,
34
+ "checkpoint_activations": false,
35
+ "resume_micro_step_override": 8000,
36
+ "strategy": "ddp",
37
+ "mixed_precision": "bf16",
38
+ "wandb_enabled": true,
39
+ "wandb_project": "stochastic_sparsity",
40
+ "wandb_name": "365m alibi 8k s43",
41
+ "wandb_tags": [
42
+ "qwen3",
43
+ "365m",
44
+ "8k",
45
+ "scaleladder",
46
+ "alibi",
47
+ "seed43"
48
+ ],
49
+ "hidden_size": 768,
50
+ "intermediate_size": 3072,
51
+ "num_attention_heads": 6,
52
+ "num_key_value_heads": 2,
53
+ "num_hidden_layers": 28,
54
+ "head_dim": null,
55
+ "attention_dropout": null,
56
+ "rope_train_position_scale_set": null,
57
+ "positional": "alibi",
58
+ "attention_type": "dense",
59
+ "sparse_block_size": 128,
60
+ "sparse_num_random_blocks": 31,
61
+ "sparse_mask_pool_size": 1,
62
+ "sparse_val_dense_compare": false,
63
+ "sparse_layer_indices": null,
64
+ "sparse_mask_cache_dir": null,
65
+ "sparse_mask_seed": 0,
66
+ "sparse_mixed_nrb_set": null,
67
+ "dense_mode": false,
68
+ "dense_step_intervals": null
69
+ }
70
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
71
+ Checkpoint activations: False
72
+ Checkpoint activations: False
73
+ Checkpoint activations: False
74
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000
75
+ Checkpoint activations: False
76
+ Checkpoint activations: False
77
+
78
+
79
+ ================================================================================
80
+ MODEL ARCHITECTURE
81
+ ================================================================================
82
+ Model config:
83
+ vocab_size: 151936
84
+ hidden_size: 768
85
+ num_hidden_layers: 28
86
+ num_attention_heads: 6
87
+ num_key_value_heads: 2
88
+ head_dim: 128
89
+ intermediate_size: 3072
90
+ max_position_embeddings: 32768
91
+ rope_theta: 1000000
92
+ rope_train_position_scale_set: None
93
+ attention_type: dense
94
+
95
+ Parameter count:
96
+ Total parameters: 358,958,848
97
+ Trainable parameters: 358,958,848
98
+ Non-trainable parameters: 0
99
+ Model size (BF16): 0.72 GB
100
+
101
+ --------------------------------------------------------------------------------
102
+ LAYER-BY-LAYER SUMMARY
103
+ --------------------------------------------------------------------------------
104
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
105
+
106
+ SOLUTION: Use torch.compile(flex_attention)(...)
107
+
108
+ If you want to debug your score_mod/mask_mod, you can set:
109
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
110
+
111
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
112
+ _warn_once(
113
+ =================================================================================================================================================
114
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
115
+ =================================================================================================================================================
116
+ Qwen3ForCausalLM [1, 8192] -- -- True
117
+ ├─Qwen3Model: 1-1 -- [1, 8192, 768] -- True
118
+ │ └─Embedding: 2-1 [1, 8192] [1, 8192, 768] 116,686,848 True
119
+ │ └─ModuleList: 2-2 -- -- -- True
120
+ │ │ └─Qwen3DecoderLayer: 3-1 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-2 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-3 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-4 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-5 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-6 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-7 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-8 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-9 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-10 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-11 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-12 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-13 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-14 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-15 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-16 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-17 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-18 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-19 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-20 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
140
+ │ │ └─Qwen3DecoderLayer: 3-21 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
141
+ │ │ └─Qwen3DecoderLayer: 3-22 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
142
+ │ │ └─Qwen3DecoderLayer: 3-23 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
143
+ │ │ └─Qwen3DecoderLayer: 3-24 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
144
+ │ │ └─Qwen3DecoderLayer: 3-25 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
145
+ │ │ └─Qwen3DecoderLayer: 3-26 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
146
+ │ │ └─Qwen3DecoderLayer: 3-27 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
147
+ │ │ └─Qwen3DecoderLayer: 3-28 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
148
+ │ └─Qwen3RMSNorm: 2-3 [1, 8192, 768] [1, 8192, 768] 768 True
149
+ ├─Linear: 1-2 [1, 8192, 768] [1, 8192, 151936] 116,686,848 True
150
+ =================================================================================================================================================
151
+ Total params: 475,645,696
152
+ Trainable params: 475,645,696
153
+ Non-trainable params: 0
154
+ Total mult-adds (Units.MEGABYTES): 475.65
155
+ =================================================================================================================================================
156
+ Input size (MB): 0.07
157
+ Forward/backward pass size (MB): 15598.62
158
+ Params size (MB): 951.29
159
+ Estimated Total Size (MB): 16549.97
160
+ =================================================================================================================================================
161
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
162
+ ================================================================================
163
+
164
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
165
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
166
+ Using pre-tokenized dataset (no runtime tokenization)
167
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
168
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
169
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
170
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
171
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
172
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
173
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
174
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
175
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
176
+ Dataset split: 3027764 train, 159356 validation
177
+ Training examples (packed, train split): 3027764
178
+ Validation examples (packed, val split): 159356
179
+ Per-device batch size: 1
180
+ World size (GPUs): 5
181
+ Gradient accumulation steps: 4
182
+ Effective batch size (seqs/step): 20
183
+ Sequence length: 8192
184
+ Tokens per optimizer step: 163,840
185
+ Micro-batches per epoch (per rank): 605553
186
+ Optimizer steps per epoch: 151388
187
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
188
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000...
189
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
190
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
191
+ Overriding resume micro-step 20000 -> 8000 for DDP migration
192
+ Resuming training from step 2000
193
+ Resuming wandb run zgrsvkbi
194
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id zgrsvkbi.
195
+ wandb: Tracking run with wandb version 0.26.1
196
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
197
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_164537-zgrsvkbi
198
+ Starting training...
199
+ Validation at step 2000: Loss = 3.6518, Perplexity = 38.55
200
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
201
+ Step 2100/44000 | Loss: 3.6382 | LR: 4.99e-04 | 2592.7ms/step | 7.7 samples/s
202
+ Step 2200/44000 | Loss: 3.6223 | LR: 4.99e-04 | 952.6ms/step | 21.0 samples/s
203
+ Validation at step 2250: Loss = 3.5968, Perplexity = 36.48
204
+ Step 2300/44000 | Loss: 3.5842 | LR: 4.98e-04 | 989.1ms/step | 20.2 samples/s
205
+ Step 2400/44000 | Loss: 3.5884 | LR: 4.98e-04 | 957.1ms/step | 20.9 samples/s
206
+ Step 2500/44000 | Loss: 3.5434 | LR: 4.98e-04 | 958.2ms/step | 20.9 samples/s
207
+ Validation at step 2500: Loss = 3.5530, Perplexity = 34.92
208
+ Step 2600/44000 | Loss: 3.5227 | LR: 4.98e-04 | 983.6ms/step | 20.3 samples/s
209
+ Step 2700/44000 | Loss: 3.5398 | LR: 4.97e-04 | 957.5ms/step | 20.9 samples/s
210
+ Validation at step 2750: Loss = 3.5089, Perplexity = 33.41
211
+ Step 2800/44000 | Loss: 3.4975 | LR: 4.97e-04 | 986.8ms/step | 20.3 samples/s
212
+ Step 2900/44000 | Loss: 3.4855 | LR: 4.97e-04 | 957.9ms/step | 20.9 samples/s
213
+ Step 3000/44000 | Loss: 3.4846 | LR: 4.97e-04 | 956.8ms/step | 20.9 samples/s
214
+ Validation at step 3000: Loss = 3.4766, Perplexity = 32.35
215
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-3000
216
+ Step 3100/44000 | Loss: 3.4808 | LR: 4.96e-04 | 1025.0ms/step | 19.5 samples/s
217
+ Step 3200/44000 | Loss: 3.4663 | LR: 4.96e-04 | 957.0ms/step | 20.9 samples/s
218
+ Validation at step 3250: Loss = 3.4460, Perplexity = 31.37
219
+ Step 3300/44000 | Loss: 3.4399 | LR: 4.96e-04 | 983.5ms/step | 20.3 samples/s
220
+ Step 3400/44000 | Loss: 3.4406 | LR: 4.95e-04 | 957.0ms/step | 20.9 samples/s
221
+ Step 3500/44000 | Loss: 3.4149 | LR: 4.95e-04 | 957.5ms/step | 20.9 samples/s
222
+ Validation at step 3500: Loss = 3.4237, Perplexity = 30.68
223
+ Step 3600/44000 | Loss: 3.4054 | LR: 4.95e-04 | 984.2ms/step | 20.3 samples/s
224
+ Step 3700/44000 | Loss: 3.4051 | LR: 4.94e-04 | 956.3ms/step | 20.9 samples/s
225
+ Validation at step 3750: Loss = 3.3963, Perplexity = 29.85
226
+ Step 3800/44000 | Loss: 3.3714 | LR: 4.94e-04 | 985.1ms/step | 20.3 samples/s
227
+ Step 3900/44000 | Loss: 3.4144 | LR: 4.93e-04 | 958.7ms/step | 20.9 samples/s
228
+ Step 4000/44000 | Loss: 3.3740 | LR: 4.93e-04 | 957.7ms/step | 20.9 samples/s
229
+ Validation at step 4000: Loss = 3.3777, Perplexity = 29.30
230
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-4000
231
+ Step 4100/44000 | Loss: 3.3732 | LR: 4.93e-04 | 1026.9ms/step | 19.5 samples/s
232
+ Step 4200/44000 | Loss: 3.3720 | LR: 4.92e-04 | 957.0ms/step | 20.9 samples/s
233
+ Validation at step 4250: Loss = 3.3555, Perplexity = 28.66
234
+ Step 4300/44000 | Loss: 3.3449 | LR: 4.92e-04 | 985.0ms/step | 20.3 samples/s
235
+ Step 4400/44000 | Loss: 3.3408 | LR: 4.91e-04 | 956.3ms/step | 20.9 samples/s
236
+ Step 4500/44000 | Loss: 3.3476 | LR: 4.91e-04 | 957.0ms/step | 20.9 samples/s
237
+ Validation at step 4500: Loss = 3.3412, Perplexity = 28.25
238
+ Step 4600/44000 | Loss: 3.3251 | LR: 4.90e-04 | 983.6ms/step | 20.3 samples/s
239
+ Step 4700/44000 | Loss: 3.3299 | LR: 4.90e-04 | 956.1ms/step | 20.9 samples/s
240
+ Validation at step 4750: Loss = 3.3240, Perplexity = 27.77
241
+ Step 4800/44000 | Loss: 3.3377 | LR: 4.89e-04 | 984.0ms/step | 20.3 samples/s
242
+ Step 4900/44000 | Loss: 3.3186 | LR: 4.89e-04 | 957.4ms/step | 20.9 samples/s
243
+ Step 5000/44000 | Loss: 3.3082 | LR: 4.88e-04 | 957.6ms/step | 20.9 samples/s
244
+ Validation at step 5000: Loss = 3.3073, Perplexity = 27.31
245
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-5000
246
+ Step 5100/44000 | Loss: 3.3120 | LR: 4.88e-04 | 1023.6ms/step | 19.5 samples/s
247
+ Step 5200/44000 | Loss: 3.3036 | LR: 4.87e-04 | 955.4ms/step | 20.9 samples/s
248
+ Validation at step 5250: Loss = 3.2933, Perplexity = 26.93
249
+ Step 5300/44000 | Loss: 3.2727 | LR: 4.86e-04 | 982.0ms/step | 20.4 samples/s
250
+ Step 5400/44000 | Loss: 3.2945 | LR: 4.86e-04 | 955.6ms/step | 20.9 samples/s
251
+ Step 5500/44000 | Loss: 3.2988 | LR: 4.85e-04 | 955.5ms/step | 20.9 samples/s
252
+ Validation at step 5500: Loss = 3.2841, Perplexity = 26.68
253
+ Step 5600/44000 | Loss: 3.2750 | LR: 4.85e-04 | 982.2ms/step | 20.4 samples/s
254
+ Step 5700/44000 | Loss: 3.2701 | LR: 4.84e-04 | 955.7ms/step | 20.9 samples/s
255
+ Validation at step 5750: Loss = 3.2746, Perplexity = 26.43
256
+ Step 5800/44000 | Loss: 3.2681 | LR: 4.83e-04 | 983.7ms/step | 20.3 samples/s
257
+ Step 5900/44000 | Loss: 3.2665 | LR: 4.83e-04 | 956.0ms/step | 20.9 samples/s
258
+ Step 6000/44000 | Loss: 3.2554 | LR: 4.82e-04 | 955.8ms/step | 20.9 samples/s
259
+ Validation at step 6000: Loss = 3.2616, Perplexity = 26.09
260
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-6000
261
+ Step 6100/44000 | Loss: 3.2583 | LR: 4.81e-04 | 1024.7ms/step | 19.5 samples/s
262
+ Step 6200/44000 | Loss: 3.2471 | LR: 4.81e-04 | 955.9ms/step | 20.9 samples/s
263
+ Validation at step 6250: Loss = 3.2441, Perplexity = 25.64
264
+ Step 6300/44000 | Loss: 3.2665 | LR: 4.80e-04 | 981.9ms/step | 20.4 samples/s
265
+ Step 6400/44000 | Loss: 3.2482 | LR: 4.79e-04 | 955.7ms/step | 20.9 samples/s
266
+ Step 6500/44000 | Loss: 3.1944 | LR: 4.79e-04 | 956.3ms/step | 20.9 samples/s
267
+ Validation at step 6500: Loss = 3.2364, Perplexity = 25.44
268
+ Step 6600/44000 | Loss: 3.2361 | LR: 4.78e-04 | 982.0ms/step | 20.4 samples/s
269
+ Step 6700/44000 | Loss: 3.2358 | LR: 4.77e-04 | 956.4ms/step | 20.9 samples/s
270
+ Validation at step 6750: Loss = 3.2257, Perplexity = 25.17
271
+ Step 6800/44000 | Loss: 3.2354 | LR: 4.76e-04 | 981.9ms/step | 20.4 samples/s
272
+ Step 6900/44000 | Loss: 3.2297 | LR: 4.75e-04 | 954.7ms/step | 20.9 samples/s
273
+ Step 7000/44000 | Loss: 3.2051 | LR: 4.75e-04 | 955.7ms/step | 20.9 samples/s
274
+ Validation at step 7000: Loss = 3.2184, Perplexity = 24.99
275
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-7000
276
+ Step 7100/44000 | Loss: 3.2300 | LR: 4.74e-04 | 1024.2ms/step | 19.5 samples/s
277
+ Step 7200/44000 | Loss: 3.2021 | LR: 4.73e-04 | 956.8ms/step | 20.9 samples/s
278
+ Validation at step 7250: Loss = 3.2103, Perplexity = 24.79
279
+ Step 7300/44000 | Loss: 3.1894 | LR: 4.72e-04 | 985.5ms/step | 20.3 samples/s
280
+ Step 7400/44000 | Loss: 3.2239 | LR: 4.71e-04 | 959.0ms/step | 20.9 samples/s
281
+ Step 7500/44000 | Loss: 3.1957 | LR: 4.71e-04 | 958.5ms/step | 20.9 samples/s
282
+ Validation at step 7500: Loss = 3.2034, Perplexity = 24.62
283
+ Step 7600/44000 | Loss: 3.1794 | LR: 4.70e-04 | 984.8ms/step | 20.3 samples/s
284
+ Step 7700/44000 | Loss: 3.1877 | LR: 4.69e-04 | 959.5ms/step | 20.8 samples/s
285
+ Validation at step 7750: Loss = 3.1947, Perplexity = 24.40
286
+ Step 7800/44000 | Loss: 3.1963 | LR: 4.68e-04 | 986.0ms/step | 20.3 samples/s
287
+ Step 7900/44000 | Loss: 3.2053 | LR: 4.67e-04 | 959.6ms/step | 20.8 samples/s
288
+ Step 8000/44000 | Loss: 3.2034 | LR: 4.66e-04 | 957.8ms/step | 20.9 samples/s
289
+ Validation at step 8000: Loss = 3.1850, Perplexity = 24.17
290
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-8000
291
+ Step 8100/44000 | Loss: 3.1877 | LR: 4.65e-04 | 1028.1ms/step | 19.5 samples/s
292
+ Step 8200/44000 | Loss: 3.1918 | LR: 4.64e-04 | 958.3ms/step | 20.9 samples/s
293
+ Validation at step 8250: Loss = 3.1792, Perplexity = 24.03
294
+ Step 8300/44000 | Loss: 3.1822 | LR: 4.63e-04 | 984.2ms/step | 20.3 samples/s
295
+ Step 8400/44000 | Loss: 3.1500 | LR: 4.62e-04 | 957.3ms/step | 20.9 samples/s
296
+ Step 8500/44000 | Loss: 3.1783 | LR: 4.61e-04 | 958.2ms/step | 20.9 samples/s
297
+ Validation at step 8500: Loss = 3.1702, Perplexity = 23.81
298
+ Step 8600/44000 | Loss: 3.1904 | LR: 4.60e-04 | 983.7ms/step | 20.3 samples/s
299
+ Step 8700/44000 | Loss: 3.1651 | LR: 4.59e-04 | 957.8ms/step | 20.9 samples/s
300
+ Validation at step 8750: Loss = 3.1635, Perplexity = 23.65
301
+ Step 8800/44000 | Loss: 3.1577 | LR: 4.58e-04 | 983.7ms/step | 20.3 samples/s
302
+ Step 8900/44000 | Loss: 3.1533 | LR: 4.57e-04 | 956.4ms/step | 20.9 samples/s
303
+ Step 9000/44000 | Loss: 3.1506 | LR: 4.56e-04 | 956.7ms/step | 20.9 samples/s
304
+ Validation at step 9000: Loss = 3.1557, Perplexity = 23.47
305
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-9000
306
+ Step 9100/44000 | Loss: 3.1629 | LR: 4.55e-04 | 1024.9ms/step | 19.5 samples/s
307
+ Step 9200/44000 | Loss: 3.1528 | LR: 4.54e-04 | 957.8ms/step | 20.9 samples/s
308
+ Validation at step 9250: Loss = 3.1471, Perplexity = 23.27
309
+ Step 9300/44000 | Loss: 3.1757 | LR: 4.53e-04 | 983.9ms/step | 20.3 samples/s
310
+ Step 9400/44000 | Loss: 3.1365 | LR: 4.52e-04 | 957.4ms/step | 20.9 samples/s
311
+ Step 9500/44000 | Loss: 3.1633 | LR: 4.51e-04 | 957.3ms/step | 20.9 samples/s
312
+ Validation at step 9500: Loss = 3.1434, Perplexity = 23.18
313
+ Step 9600/44000 | Loss: 3.1469 | LR: 4.50e-04 | 988.1ms/step | 20.2 samples/s
314
+ Step 9700/44000 | Loss: 3.1566 | LR: 4.49e-04 | 962.4ms/step | 20.8 samples/s
315
+ Validation at step 9750: Loss = 3.1369, Perplexity = 23.03
316
+ Step 9800/44000 | Loss: 3.1517 | LR: 4.48e-04 | 989.5ms/step | 20.2 samples/s
317
+ Step 9900/44000 | Loss: 3.1425 | LR: 4.47e-04 | 959.9ms/step | 20.8 samples/s
318
+ Step 10000/44000 | Loss: 3.1324 | LR: 4.46e-04 | 958.7ms/step | 20.9 samples/s
319
+ Validation at step 10000: Loss = 3.1323, Perplexity = 22.93
320
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-10000
321
+ Step 10100/44000 | Loss: 3.1400 | LR: 4.45e-04 | 1026.1ms/step | 19.5 samples/s
322
+ Step 10200/44000 | Loss: 3.1607 | LR: 4.43e-04 | 957.3ms/step | 20.9 samples/s
323
+ Validation at step 10250: Loss = 3.1279, Perplexity = 22.83
324
+ Step 10300/44000 | Loss: 3.1363 | LR: 4.42e-04 | 984.0ms/step | 20.3 samples/s
325
+ Step 10400/44000 | Loss: 3.1263 | LR: 4.41e-04 | 956.9ms/step | 20.9 samples/s
326
+ Step 10500/44000 | Loss: 3.1215 | LR: 4.40e-04 | 956.1ms/step | 20.9 samples/s
327
+ Validation at step 10500: Loss = 3.1227, Perplexity = 22.71
328
+ Step 10600/44000 | Loss: 3.1116 | LR: 4.39e-04 | 983.7ms/step | 20.3 samples/s
329
+ Step 10700/44000 | Loss: 3.1225 | LR: 4.37e-04 | 956.1ms/step | 20.9 samples/s
330
+ Validation at step 10750: Loss = 3.1193, Perplexity = 22.63
331
+ Step 10800/44000 | Loss: 3.1269 | LR: 4.36e-04 | 983.5ms/step | 20.3 samples/s
332
+ Step 10900/44000 | Loss: 3.1149 | LR: 4.35e-04 | 956.5ms/step | 20.9 samples/s
333
+ Step 11000/44000 | Loss: 3.1303 | LR: 4.34e-04 | 956.6ms/step | 20.9 samples/s
334
+ Validation at step 11000: Loss = 3.1128, Perplexity = 22.48
335
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-11000
336
+ Step 11100/44000 | Loss: 3.1113 | LR: 4.33e-04 | 1024.5ms/step | 19.5 samples/s
337
+ Step 11200/44000 | Loss: 3.1217 | LR: 4.31e-04 | 956.5ms/step | 20.9 samples/s
338
+ Validation at step 11250: Loss = 3.1093, Perplexity = 22.40
339
+ Step 11300/44000 | Loss: 3.1055 | LR: 4.30e-04 | 984.0ms/step | 20.3 samples/s
340
+ Step 11400/44000 | Loss: 3.0908 | LR: 4.29e-04 | 957.1ms/step | 20.9 samples/s
341
+ Step 11500/44000 | Loss: 3.1050 | LR: 4.28e-04 | 957.6ms/step | 20.9 samples/s
342
+ Validation at step 11500: Loss = 3.1042, Perplexity = 22.29
343
+ Step 11600/44000 | Loss: 3.0982 | LR: 4.26e-04 | 984.2ms/step | 20.3 samples/s
344
+ Step 11700/44000 | Loss: 3.0911 | LR: 4.25e-04 | 957.5ms/step | 20.9 samples/s
345
+ Validation at step 11750: Loss = 3.1012, Perplexity = 22.22
346
+ Step 11800/44000 | Loss: 3.0764 | LR: 4.24e-04 | 983.5ms/step | 20.3 samples/s
347
+ Step 11900/44000 | Loss: 3.0912 | LR: 4.22e-04 | 956.9ms/step | 20.9 samples/s
348
+ Step 12000/44000 | Loss: 3.1236 | LR: 4.21e-04 | 957.3ms/step | 20.9 samples/s
349
+ Validation at step 12000: Loss = 3.0953, Perplexity = 22.09
350
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-12000
351
+ Step 12100/44000 | Loss: 3.0994 | LR: 4.20e-04 | 1025.7ms/step | 19.5 samples/s
352
+ Step 12200/44000 | Loss: 3.0803 | LR: 4.18e-04 | 956.6ms/step | 20.9 samples/s
353
+ Validation at step 12250: Loss = 3.0919, Perplexity = 22.02
354
+ Step 12300/44000 | Loss: 3.0899 | LR: 4.17e-04 | 983.2ms/step | 20.3 samples/s
355
+ Step 12400/44000 | Loss: 3.0987 | LR: 4.16e-04 | 957.2ms/step | 20.9 samples/s
356
+ Step 12500/44000 | Loss: 3.0731 | LR: 4.14e-04 | 957.0ms/step | 20.9 samples/s
357
+ Validation at step 12500: Loss = 3.0869, Perplexity = 21.91
358
+ Step 12600/44000 | Loss: 3.0911 | LR: 4.13e-04 | 983.6ms/step | 20.3 samples/s
359
+ Step 12700/44000 | Loss: 3.0684 | LR: 4.12e-04 | 957.1ms/step | 20.9 samples/s
360
+ Validation at step 12750: Loss = 3.0820, Perplexity = 21.80
361
+ Step 12800/44000 | Loss: 3.0938 | LR: 4.10e-04 | 982.5ms/step | 20.4 samples/s
362
+ Step 12900/44000 | Loss: 3.0708 | LR: 4.09e-04 | 955.9ms/step | 20.9 samples/s
363
+ Step 13000/44000 | Loss: 3.0916 | LR: 4.07e-04 | 956.0ms/step | 20.9 samples/s
364
+ Validation at step 13000: Loss = 3.0795, Perplexity = 21.75
365
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-13000
366
+ Step 13100/44000 | Loss: 3.0670 | LR: 4.06e-04 | 1024.4ms/step | 19.5 samples/s
367
+ Step 13200/44000 | Loss: 3.0763 | LR: 4.05e-04 | 955.9ms/step | 20.9 samples/s
368
+ Validation at step 13250: Loss = 3.0755, Perplexity = 21.66
369
+ Step 13300/44000 | Loss: 3.0618 | LR: 4.03e-04 | 982.5ms/step | 20.4 samples/s
370
+ Step 13400/44000 | Loss: 3.0820 | LR: 4.02e-04 | 956.1ms/step | 20.9 samples/s
371
+ Step 13500/44000 | Loss: 3.0685 | LR: 4.00e-04 | 955.8ms/step | 20.9 samples/s
372
+ Validation at step 13500: Loss = 3.0688, Perplexity = 21.52
373
+ Step 13600/44000 | Loss: 3.0625 | LR: 3.99e-04 | 982.5ms/step | 20.4 samples/s
374
+ Step 13700/44000 | Loss: 3.0753 | LR: 3.97e-04 | 955.7ms/step | 20.9 samples/s
375
+ Validation at step 13750: Loss = 3.0670, Perplexity = 21.48
376
+ Step 13800/44000 | Loss: 3.0650 | LR: 3.96e-04 | 982.2ms/step | 20.4 samples/s
377
+ Step 13900/44000 | Loss: 3.0625 | LR: 3.94e-04 | 956.0ms/step | 20.9 samples/s
378
+ Step 14000/44000 | Loss: 3.0447 | LR: 3.93e-04 | 955.8ms/step | 20.9 samples/s
379
+ Validation at step 14000: Loss = 3.0644, Perplexity = 21.42
380
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-14000
381
+ Step 14100/44000 | Loss: 3.0699 | LR: 3.91e-04 | 1024.5ms/step | 19.5 samples/s
382
+ Step 14200/44000 | Loss: 3.0580 | LR: 3.90e-04 | 956.3ms/step | 20.9 samples/s
383
+ Validation at step 14250: Loss = 3.0572, Perplexity = 21.27
384
+ Step 14300/44000 | Loss: 3.0667 | LR: 3.88e-04 | 982.5ms/step | 20.4 samples/s
385
+ Step 14400/44000 | Loss: 3.0645 | LR: 3.87e-04 | 956.0ms/step | 20.9 samples/s
386
+ Step 14500/44000 | Loss: 3.0630 | LR: 3.85e-04 | 956.2ms/step | 20.9 samples/s
387
+ Validation at step 14500: Loss = 3.0553, Perplexity = 21.23
388
+ Step 14600/44000 | Loss: 3.0709 | LR: 3.84e-04 | 982.1ms/step | 20.4 samples/s
389
+ Step 14700/44000 | Loss: 3.0569 | LR: 3.82e-04 | 955.4ms/step | 20.9 samples/s
390
+ Validation at step 14750: Loss = 3.0529, Perplexity = 21.18
391
+ Step 14800/44000 | Loss: 3.0559 | LR: 3.81e-04 | 982.5ms/step | 20.4 samples/s
392
+ Step 14900/44000 | Loss: 3.0592 | LR: 3.79e-04 | 955.9ms/step | 20.9 samples/s
393
+ Step 15000/44000 | Loss: 3.0296 | LR: 3.78e-04 | 955.6ms/step | 20.9 samples/s
394
+ Validation at step 15000: Loss = 3.0500, Perplexity = 21.12
395
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-15000
396
+ Step 15100/44000 | Loss: 3.0570 | LR: 3.76e-04 | 1021.3ms/step | 19.6 samples/s
397
+ Step 15200/44000 | Loss: 3.0340 | LR: 3.74e-04 | 954.9ms/step | 20.9 samples/s
398
+ Validation at step 15250: Loss = 3.0474, Perplexity = 21.06
399
+ Step 15300/44000 | Loss: 3.0453 | LR: 3.73e-04 | 981.3ms/step | 20.4 samples/s
400
+ Step 15400/44000 | Loss: 3.0343 | LR: 3.71e-04 | 954.7ms/step | 20.9 samples/s
401
+ Step 15500/44000 | Loss: 3.0400 | LR: 3.70e-04 | 954.7ms/step | 21.0 samples/s
402
+ Validation at step 15500: Loss = 3.0424, Perplexity = 20.96
403
+ Step 15600/44000 | Loss: 3.0385 | LR: 3.68e-04 | 981.8ms/step | 20.4 samples/s
404
+ Step 15700/44000 | Loss: 3.0386 | LR: 3.67e-04 | 954.9ms/step | 20.9 samples/s
405
+ Validation at step 15750: Loss = 3.0390, Perplexity = 20.89
406
+ Step 15800/44000 | Loss: 3.0538 | LR: 3.65e-04 | 980.9ms/step | 20.4 samples/s
407
+ Step 15900/44000 | Loss: 3.0191 | LR: 3.63e-04 | 954.7ms/step | 20.9 samples/s
408
+ Step 16000/44000 | Loss: 3.0461 | LR: 3.62e-04 | 955.0ms/step | 20.9 samples/s
409
+ Validation at step 16000: Loss = 3.0346, Perplexity = 20.79
410
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-16000
411
+ Step 16100/44000 | Loss: 3.0331 | LR: 3.60e-04 | 1024.1ms/step | 19.5 samples/s
412
+ Step 16200/44000 | Loss: 3.0119 | LR: 3.58e-04 | 957.0ms/step | 20.9 samples/s
413
+ Validation at step 16250: Loss = 3.0343, Perplexity = 20.79
414
+ Step 16300/44000 | Loss: 3.0587 | LR: 3.57e-04 | 982.8ms/step | 20.3 samples/s
415
+ Step 16400/44000 | Loss: 3.0392 | LR: 3.55e-04 | 956.1ms/step | 20.9 samples/s
416
+ Step 16500/44000 | Loss: 3.0134 | LR: 3.53e-04 | 956.3ms/step | 20.9 samples/s
417
+ Validation at step 16500: Loss = 3.0301, Perplexity = 20.70
418
+ Step 16600/44000 | Loss: 3.0343 | LR: 3.52e-04 | 982.9ms/step | 20.3 samples/s
419
+ Step 16700/44000 | Loss: 3.0395 | LR: 3.50e-04 | 956.5ms/step | 20.9 samples/s
420
+ Validation at step 16750: Loss = 3.0260, Perplexity = 20.61
421
+ Step 16800/44000 | Loss: 3.0314 | LR: 3.48e-04 | 982.9ms/step | 20.3 samples/s
422
+ Step 16900/44000 | Loss: 3.0141 | LR: 3.47e-04 | 956.5ms/step | 20.9 samples/s
423
+ Step 17000/44000 | Loss: 3.0233 | LR: 3.45e-04 | 956.3ms/step | 20.9 samples/s
424
+ Validation at step 17000: Loss = 3.0228, Perplexity = 20.55
425
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-17000
426
+ Step 17100/44000 | Loss: 3.0460 | LR: 3.43e-04 | 1021.9ms/step | 19.6 samples/s
427
+ Step 17200/44000 | Loss: 2.9961 | LR: 3.42e-04 | 954.5ms/step | 21.0 samples/s
428
+ Validation at step 17250: Loss = 3.0199, Perplexity = 20.49
429
+ Step 17300/44000 | Loss: 3.0271 | LR: 3.40e-04 | 982.3ms/step | 20.4 samples/s
430
+ Step 17400/44000 | Loss: 3.0121 | LR: 3.38e-04 | 955.0ms/step | 20.9 samples/s
431
+ Step 17500/44000 | Loss: 3.0256 | LR: 3.37e-04 | 955.2ms/step | 20.9 samples/s
432
+ Validation at step 17500: Loss = 3.0171, Perplexity = 20.43
433
+ Step 17600/44000 | Loss: 3.0172 | LR: 3.35e-04 | 981.3ms/step | 20.4 samples/s
434
+ Step 17700/44000 | Loss: 3.0247 | LR: 3.33e-04 | 954.9ms/step | 20.9 samples/s
435
+ Validation at step 17750: Loss = 3.0165, Perplexity = 20.42
436
+ Step 17800/44000 | Loss: 3.0119 | LR: 3.32e-04 | 981.4ms/step | 20.4 samples/s
437
+ Step 17900/44000 | Loss: 3.0091 | LR: 3.30e-04 | 955.3ms/step | 20.9 samples/s
438
+ Step 18000/44000 | Loss: 3.0049 | LR: 3.28e-04 | 955.4ms/step | 20.9 samples/s
439
+ Validation at step 18000: Loss = 3.0083, Perplexity = 20.25
440
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-18000
441
+ Step 18100/44000 | Loss: 2.9995 | LR: 3.26e-04 | 1023.4ms/step | 19.5 samples/s
442
+ Step 18200/44000 | Loss: 3.0244 | LR: 3.25e-04 | 956.2ms/step | 20.9 samples/s
443
+ Validation at step 18250: Loss = 3.0076, Perplexity = 20.24
444
+ Step 18300/44000 | Loss: 3.0217 | LR: 3.23e-04 | 982.9ms/step | 20.3 samples/s
445
+ Step 18400/44000 | Loss: 2.9827 | LR: 3.21e-04 | 956.0ms/step | 20.9 samples/s
446
+ Step 18500/44000 | Loss: 2.9867 | LR: 3.19e-04 | 956.3ms/step | 20.9 samples/s
447
+ Validation at step 18500: Loss = 3.0048, Perplexity = 20.18
448
+ Step 18600/44000 | Loss: 2.9997 | LR: 3.18e-04 | 982.7ms/step | 20.4 samples/s
449
+ Step 18700/44000 | Loss: 2.9981 | LR: 3.16e-04 | 956.4ms/step | 20.9 samples/s
450
+ Validation at step 18750: Loss = 3.0013, Perplexity = 20.11
451
+ Step 18800/44000 | Loss: 2.9810 | LR: 3.14e-04 | 982.9ms/step | 20.3 samples/s
452
+ Step 18900/44000 | Loss: 2.9782 | LR: 3.12e-04 | 956.2ms/step | 20.9 samples/s
453
+ Step 19000/44000 | Loss: 3.0140 | LR: 3.11e-04 | 956.6ms/step | 20.9 samples/s
454
+ Validation at step 19000: Loss = 3.0017, Perplexity = 20.12
455
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-19000
456
+ Step 19100/44000 | Loss: 2.9835 | LR: 3.09e-04 | 1021.9ms/step | 19.6 samples/s
457
+ Step 19200/44000 | Loss: 2.9979 | LR: 3.07e-04 | 954.5ms/step | 21.0 samples/s
458
+ Validation at step 19250: Loss = 2.9977, Perplexity = 20.04
459
+ Step 19300/44000 | Loss: 3.0075 | LR: 3.05e-04 | 980.7ms/step | 20.4 samples/s
460
+ Step 19400/44000 | Loss: 2.9921 | LR: 3.04e-04 | 954.6ms/step | 21.0 samples/s
461
+ Step 19500/44000 | Loss: 2.9724 | LR: 3.02e-04 | 955.1ms/step | 20.9 samples/s
462
+ Validation at step 19500: Loss = 2.9947, Perplexity = 19.98
463
+ Step 19600/44000 | Loss: 2.9988 | LR: 3.00e-04 | 981.4ms/step | 20.4 samples/s
464
+ Step 19700/44000 | Loss: 2.9922 | LR: 2.98e-04 | 954.6ms/step | 21.0 samples/s
465
+ Validation at step 19750: Loss = 2.9929, Perplexity = 19.94
466
+ Step 19800/44000 | Loss: 2.9866 | LR: 2.96e-04 | 981.2ms/step | 20.4 samples/s
467
+ Step 19900/44000 | Loss: 2.9876 | LR: 2.95e-04 | 955.2ms/step | 20.9 samples/s
468
+ Step 20000/44000 | Loss: 2.9704 | LR: 2.93e-04 | 955.1ms/step | 20.9 samples/s
469
+ Validation at step 20000: Loss = 2.9895, Perplexity = 19.88
470
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-20000
471
+ Step 20100/44000 | Loss: 2.9958 | LR: 2.91e-04 | 1022.0ms/step | 19.6 samples/s
472
+ Step 20200/44000 | Loss: 2.9630 | LR: 2.89e-04 | 955.0ms/step | 20.9 samples/s
473
+ Validation at step 20250: Loss = 2.9865, Perplexity = 19.82
474
+ Step 20300/44000 | Loss: 2.9767 | LR: 2.88e-04 | 981.5ms/step | 20.4 samples/s
475
+ Step 20400/44000 | Loss: 2.9899 | LR: 2.86e-04 | 955.2ms/step | 20.9 samples/s
476
+ Step 20500/44000 | Loss: 3.0059 | LR: 2.84e-04 | 955.3ms/step | 20.9 samples/s
477
+ Validation at step 20500: Loss = 2.9836, Perplexity = 19.76
478
+ Step 20600/44000 | Loss: 2.9946 | LR: 2.82e-04 | 981.9ms/step | 20.4 samples/s
479
+ Step 20700/44000 | Loss: 2.9970 | LR: 2.80e-04 | 955.0ms/step | 20.9 samples/s
480
+ Validation at step 20750: Loss = 2.9815, Perplexity = 19.72
481
+ Step 20800/44000 | Loss: 2.9686 | LR: 2.79e-04 | 981.3ms/step | 20.4 samples/s
482
+ Step 20900/44000 | Loss: 2.9701 | LR: 2.77e-04 | 955.8ms/step | 20.9 samples/s
483
+ Step 21000/44000 | Loss: 2.9939 | LR: 2.75e-04 | 955.0ms/step | 20.9 samples/s
484
+ Validation at step 21000: Loss = 2.9781, Perplexity = 19.65
485
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-21000
486
+ Step 21100/44000 | Loss: 2.9968 | LR: 2.73e-04 | 1022.1ms/step | 19.6 samples/s
487
+ Step 21200/44000 | Loss: 2.9705 | LR: 2.71e-04 | 954.9ms/step | 20.9 samples/s
488
+ Validation at step 21250: Loss = 2.9754, Perplexity = 19.60
489
+ Step 21300/44000 | Loss: 2.9698 | LR: 2.70e-04 | 981.9ms/step | 20.4 samples/s
490
+ Step 21400/44000 | Loss: 2.9986 | LR: 2.68e-04 | 956.3ms/step | 20.9 samples/s
491
+ Step 21500/44000 | Loss: 2.9692 | LR: 2.66e-04 | 956.9ms/step | 20.9 samples/s
492
+ Validation at step 21500: Loss = 2.9729, Perplexity = 19.55
493
+ Step 21600/44000 | Loss: 2.9726 | LR: 2.64e-04 | 983.1ms/step | 20.3 samples/s
494
+ Step 21700/44000 | Loss: 2.9580 | LR: 2.62e-04 | 957.0ms/step | 20.9 samples/s
495
+ Validation at step 21750: Loss = 2.9708, Perplexity = 19.51
496
+ Step 21800/44000 | Loss: 2.9645 | LR: 2.60e-04 | 983.0ms/step | 20.3 samples/s
497
+ Step 21900/44000 | Loss: 2.9573 | LR: 2.59e-04 | 956.2ms/step | 20.9 samples/s
498
+ Step 22000/44000 | Loss: 2.9552 | LR: 2.57e-04 | 956.2ms/step | 20.9 samples/s
499
+ Validation at step 22000: Loss = 2.9673, Perplexity = 19.44
500
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-22000
501
+ Step 22100/44000 | Loss: 2.9430 | LR: 2.55e-04 | 1025.2ms/step | 19.5 samples/s
502
+ Step 22200/44000 | Loss: 2.9660 | LR: 2.53e-04 | 956.7ms/step | 20.9 samples/s
503
+ Validation at step 22250: Loss = 2.9652, Perplexity = 19.40
504
+ Step 22300/44000 | Loss: 2.9641 | LR: 2.51e-04 | 983.0ms/step | 20.3 samples/s
505
+ Step 22400/44000 | Loss: 2.9549 | LR: 2.50e-04 | 957.0ms/step | 20.9 samples/s
506
+ Step 22500/44000 | Loss: 2.9714 | LR: 2.48e-04 | 957.4ms/step | 20.9 samples/s
507
+ Validation at step 22500: Loss = 2.9627, Perplexity = 19.35
508
+ Step 22600/44000 | Loss: 2.9415 | LR: 2.46e-04 | 983.9ms/step | 20.3 samples/s
509
+ Step 22700/44000 | Loss: 2.9645 | LR: 2.44e-04 | 956.6ms/step | 20.9 samples/s
510
+ Validation at step 22750: Loss = 2.9617, Perplexity = 19.33
511
+ Step 22800/44000 | Loss: 2.9512 | LR: 2.42e-04 | 983.3ms/step | 20.3 samples/s
512
+ Step 22900/44000 | Loss: 2.9777 | LR: 2.40e-04 | 956.6ms/step | 20.9 samples/s
513
+ Step 23000/44000 | Loss: 2.9460 | LR: 2.39e-04 | 956.6ms/step | 20.9 samples/s
514
+ Validation at step 23000: Loss = 2.9581, Perplexity = 19.26
515
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-23000
516
+ Step 23100/44000 | Loss: 2.9421 | LR: 2.37e-04 | 1022.4ms/step | 19.6 samples/s
517
+ Step 23200/44000 | Loss: 2.9967 | LR: 2.35e-04 | 955.5ms/step | 20.9 samples/s
518
+ Validation at step 23250: Loss = 2.9568, Perplexity = 19.24
519
+ Step 23300/44000 | Loss: 2.9426 | LR: 2.33e-04 | 981.7ms/step | 20.4 samples/s
520
+ Step 23400/44000 | Loss: 2.9479 | LR: 2.31e-04 | 955.8ms/step | 20.9 samples/s
521
+ Step 23500/44000 | Loss: 2.9707 | LR: 2.30e-04 | 955.8ms/step | 20.9 samples/s
522
+ Validation at step 23500: Loss = 2.9538, Perplexity = 19.18
523
+ Step 23600/44000 | Loss: 2.9191 | LR: 2.28e-04 | 981.9ms/step | 20.4 samples/s
524
+ Step 23700/44000 | Loss: 2.9681 | LR: 2.26e-04 | 955.3ms/step | 20.9 samples/s
525
+ Validation at step 23750: Loss = 2.9513, Perplexity = 19.13
526
+ Step 23800/44000 | Loss: 2.9507 | LR: 2.24e-04 | 981.3ms/step | 20.4 samples/s
527
+ Step 23900/44000 | Loss: 2.9509 | LR: 2.22e-04 | 954.6ms/step | 21.0 samples/s
528
+ Step 24000/44000 | Loss: 2.9527 | LR: 2.21e-04 | 954.8ms/step | 20.9 samples/s
529
+ Validation at step 24000: Loss = 2.9502, Perplexity = 19.11
530
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-24000
531
+ Step 24100/44000 | Loss: 2.9604 | LR: 2.19e-04 | 1024.3ms/step | 19.5 samples/s
532
+ Step 24200/44000 | Loss: 2.9366 | LR: 2.17e-04 | 956.9ms/step | 20.9 samples/s
533
+ Validation at step 24250: Loss = 2.9484, Perplexity = 19.08
534
+ Step 24300/44000 | Loss: 2.9470 | LR: 2.15e-04 | 983.0ms/step | 20.3 samples/s
535
+ Step 24400/44000 | Loss: 2.9505 | LR: 2.13e-04 | 956.5ms/step | 20.9 samples/s
536
+ Step 24500/44000 | Loss: 2.9249 | LR: 2.12e-04 | 956.7ms/step | 20.9 samples/s
537
+ Validation at step 24500: Loss = 2.9470, Perplexity = 19.05
538
+ Step 24600/44000 | Loss: 2.9230 | LR: 2.10e-04 | 983.1ms/step | 20.3 samples/s
539
+ Step 24700/44000 | Loss: 2.9387 | LR: 2.08e-04 | 956.8ms/step | 20.9 samples/s
540
+ Validation at step 24750: Loss = 2.9444, Perplexity = 19.00
541
+ Step 24800/44000 | Loss: 2.9506 | LR: 2.06e-04 | 983.0ms/step | 20.3 samples/s
542
+ Step 24900/44000 | Loss: 2.9335 | LR: 2.04e-04 | 956.5ms/step | 20.9 samples/s
543
+ Step 25000/44000 | Loss: 2.9447 | LR: 2.03e-04 | 957.0ms/step | 20.9 samples/s
544
+ Validation at step 25000: Loss = 2.9439, Perplexity = 18.99
545
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-25000
546
+ Step 25100/44000 | Loss: 2.9273 | LR: 2.01e-04 | 1023.1ms/step | 19.5 samples/s
547
+ Step 25200/44000 | Loss: 2.9465 | LR: 1.99e-04 | 956.7ms/step | 20.9 samples/s
548
+ Validation at step 25250: Loss = 2.9408, Perplexity = 18.93
549
+ Step 25300/44000 | Loss: 2.9377 | LR: 1.97e-04 | 983.2ms/step | 20.3 samples/s
550
+ Step 25400/44000 | Loss: 2.9310 | LR: 1.96e-04 | 956.7ms/step | 20.9 samples/s
551
+ Step 25500/44000 | Loss: 2.9255 | LR: 1.94e-04 | 956.8ms/step | 20.9 samples/s
552
+ Validation at step 25500: Loss = 2.9402, Perplexity = 18.92
553
+ Step 25600/44000 | Loss: 2.9340 | LR: 1.92e-04 | 982.9ms/step | 20.3 samples/s
554
+ Step 25700/44000 | Loss: 2.9075 | LR: 1.90e-04 | 956.4ms/step | 20.9 samples/s
555
+ Validation at step 25750: Loss = 2.9391, Perplexity = 18.90
556
+ Step 25800/44000 | Loss: 2.9276 | LR: 1.88e-04 | 983.0ms/step | 20.3 samples/s
557
+ Step 25900/44000 | Loss: 2.9216 | LR: 1.87e-04 | 956.8ms/step | 20.9 samples/s
558
+ Step 26000/44000 | Loss: 2.9396 | LR: 1.85e-04 | 956.5ms/step | 20.9 samples/s
559
+ Validation at step 26000: Loss = 2.9375, Perplexity = 18.87
560
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-26000
561
+ Step 26100/44000 | Loss: 2.9103 | LR: 1.83e-04 | 1022.3ms/step | 19.6 samples/s
562
+ Step 26200/44000 | Loss: 2.9384 | LR: 1.81e-04 | 955.2ms/step | 20.9 samples/s
563
+ Validation at step 26250: Loss = 2.9358, Perplexity = 18.84
564
+ Step 26300/44000 | Loss: 2.9284 | LR: 1.80e-04 | 981.6ms/step | 20.4 samples/s
565
+ Step 26400/44000 | Loss: 2.9373 | LR: 1.78e-04 | 955.0ms/step | 20.9 samples/s
566
+ Step 26500/44000 | Loss: 2.9269 | LR: 1.76e-04 | 955.2ms/step | 20.9 samples/s
567
+ Validation at step 26500: Loss = 2.9344, Perplexity = 18.81
568
+ Step 26600/44000 | Loss: 2.9004 | LR: 1.74e-04 | 981.4ms/step | 20.4 samples/s
569
+ Step 26700/44000 | Loss: 2.9123 | LR: 1.73e-04 | 954.8ms/step | 20.9 samples/s
570
+ Validation at step 26750: Loss = 2.9325, Perplexity = 18.77
571
+ Step 26800/44000 | Loss: 2.9132 | LR: 1.71e-04 | 981.6ms/step | 20.4 samples/s
572
+ Step 26900/44000 | Loss: 2.9373 | LR: 1.69e-04 | 955.3ms/step | 20.9 samples/s
573
+ Step 27000/44000 | Loss: 2.9080 | LR: 1.68e-04 | 955.3ms/step | 20.9 samples/s
574
+ Validation at step 27000: Loss = 2.9313, Perplexity = 18.75
575
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-27000
576
+ Step 27100/44000 | Loss: 2.9245 | LR: 1.66e-04 | 1022.0ms/step | 19.6 samples/s
577
+ Step 27200/44000 | Loss: 2.9370 | LR: 1.64e-04 | 955.0ms/step | 20.9 samples/s
578
+ Validation at step 27250: Loss = 2.9306, Perplexity = 18.74
579
+ Step 27300/44000 | Loss: 2.9112 | LR: 1.62e-04 | 981.7ms/step | 20.4 samples/s
580
+ Step 27400/44000 | Loss: 2.9219 | LR: 1.61e-04 | 954.7ms/step | 20.9 samples/s
581
+ Step 27500/44000 | Loss: 2.9132 | LR: 1.59e-04 | 954.5ms/step | 21.0 samples/s
582
+ Validation at step 27500: Loss = 2.9285, Perplexity = 18.70
583
+ Step 27600/44000 | Loss: 2.9314 | LR: 1.57e-04 | 981.1ms/step | 20.4 samples/s
584
+ Step 27700/44000 | Loss: 2.9083 | LR: 1.56e-04 | 954.9ms/step | 20.9 samples/s
585
+ Validation at step 27750: Loss = 2.9272, Perplexity = 18.67
586
+ Step 27800/44000 | Loss: 2.9122 | LR: 1.54e-04 | 981.2ms/step | 20.4 samples/s
587
+ Step 27900/44000 | Loss: 2.9302 | LR: 1.52e-04 | 955.0ms/step | 20.9 samples/s
588
+ Step 28000/44000 | Loss: 2.9224 | LR: 1.51e-04 | 955.0ms/step | 20.9 samples/s
589
+ Validation at step 28000: Loss = 2.9258, Perplexity = 18.65
590
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-28000
591
+ Step 28100/44000 | Loss: 2.9228 | LR: 1.49e-04 | 1021.8ms/step | 19.6 samples/s
592
+ Step 28200/44000 | Loss: 2.9144 | LR: 1.47e-04 | 955.0ms/step | 20.9 samples/s
593
+ Validation at step 28250: Loss = 2.9248, Perplexity = 18.63
594
+ Step 28300/44000 | Loss: 2.9146 | LR: 1.46e-04 | 981.5ms/step | 20.4 samples/s
595
+ Step 28400/44000 | Loss: 2.9198 | LR: 1.44e-04 | 954.9ms/step | 20.9 samples/s
596
+ Step 28500/44000 | Loss: 2.9261 | LR: 1.42e-04 | 955.2ms/step | 20.9 samples/s
597
+ Validation at step 28500: Loss = 2.9233, Perplexity = 18.60
598
+ Step 28600/44000 | Loss: 2.9086 | LR: 1.41e-04 | 981.1ms/step | 20.4 samples/s
599
+ Step 28700/44000 | Loss: 2.9075 | LR: 1.39e-04 | 954.8ms/step | 20.9 samples/s
600
+ Validation at step 28750: Loss = 2.9224, Perplexity = 18.59
601
+ Step 28800/44000 | Loss: 2.8959 | LR: 1.38e-04 | 981.0ms/step | 20.4 samples/s
602
+ Step 28900/44000 | Loss: 2.9222 | LR: 1.36e-04 | 955.2ms/step | 20.9 samples/s
603
+ Step 29000/44000 | Loss: 2.9346 | LR: 1.34e-04 | 955.3ms/step | 20.9 samples/s
604
+ Validation at step 29000: Loss = 2.9212, Perplexity = 18.56
605
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-29000
606
+ Step 29100/44000 | Loss: 2.9077 | LR: 1.33e-04 | 1023.6ms/step | 19.5 samples/s
607
+ Step 29200/44000 | Loss: 2.9065 | LR: 1.31e-04 | 956.6ms/step | 20.9 samples/s
608
+ Validation at step 29250: Loss = 2.9204, Perplexity = 18.55
609
+ Step 29300/44000 | Loss: 2.9028 | LR: 1.29e-04 | 983.4ms/step | 20.3 samples/s
610
+ Step 29400/44000 | Loss: 2.9217 | LR: 1.28e-04 | 956.5ms/step | 20.9 samples/s
611
+ Step 29500/44000 | Loss: 2.9037 | LR: 1.26e-04 | 956.5ms/step | 20.9 samples/s
612
+ Validation at step 29500: Loss = 2.9196, Perplexity = 18.53
613
+ Step 29600/44000 | Loss: 2.9031 | LR: 1.25e-04 | 982.5ms/step | 20.4 samples/s
614
+ Step 29700/44000 | Loss: 2.8981 | LR: 1.23e-04 | 956.3ms/step | 20.9 samples/s
615
+ Validation at step 29750: Loss = 2.9186, Perplexity = 18.52
616
+ Step 29800/44000 | Loss: 2.9018 | LR: 1.22e-04 | 982.6ms/step | 20.4 samples/s
617
+ Step 29900/44000 | Loss: 2.9061 | LR: 1.20e-04 | 955.7ms/step | 20.9 samples/s
618
+ Step 30000/44000 | Loss: 2.9215 | LR: 1.19e-04 | 956.0ms/step | 20.9 samples/s
619
+ Validation at step 30000: Loss = 2.9177, Perplexity = 18.50
620
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-30000
621
+ Step 30100/44000 | Loss: 2.9074 | LR: 1.17e-04 | 1022.2ms/step | 19.6 samples/s
622
+ Step 30200/44000 | Loss: 2.9182 | LR: 1.15e-04 | 956.1ms/step | 20.9 samples/s
623
+ Validation at step 30250: Loss = 2.9170, Perplexity = 18.49
624
+ Step 30300/44000 | Loss: 2.8947 | LR: 1.14e-04 | 982.6ms/step | 20.4 samples/s
625
+ Step 30400/44000 | Loss: 2.8964 | LR: 1.12e-04 | 956.5ms/step | 20.9 samples/s
626
+ Step 30500/44000 | Loss: 2.8844 | LR: 1.11e-04 | 956.9ms/step | 20.9 samples/s
627
+ Validation at step 30500: Loss = 2.9160, Perplexity = 18.47
628
+ Step 30600/44000 | Loss: 2.9059 | LR: 1.09e-04 | 983.0ms/step | 20.3 samples/s
629
+ Step 30700/44000 | Loss: 2.8911 | LR: 1.08e-04 | 956.3ms/step | 20.9 samples/s
630
+ Validation at step 30750: Loss = 2.9155, Perplexity = 18.46
631
+ Step 30800/44000 | Loss: 2.9241 | LR: 1.06e-04 | 982.8ms/step | 20.4 samples/s
632
+ Step 30900/44000 | Loss: 2.9059 | LR: 1.05e-04 | 956.0ms/step | 20.9 samples/s
633
+ Step 31000/44000 | Loss: 2.8828 | LR: 1.03e-04 | 956.2ms/step | 20.9 samples/s
634
+ Validation at step 31000: Loss = 2.9146, Perplexity = 18.44
635
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-31000
636
+ Step 31100/44000 | Loss: 2.9211 | LR: 1.02e-04 | 1023.0ms/step | 19.5 samples/s
637
+ Step 31200/44000 | Loss: 2.9118 | LR: 1.00e-04 | 956.1ms/step | 20.9 samples/s
638
+ Validation at step 31250: Loss = 2.9138, Perplexity = 18.43
639
+ Step 31300/44000 | Loss: 2.9110 | LR: 9.90e-05 | 982.8ms/step | 20.3 samples/s
640
+ Step 31400/44000 | Loss: 2.9140 | LR: 9.76e-05 | 956.4ms/step | 20.9 samples/s
641
+ Step 31500/44000 | Loss: 2.9093 | LR: 9.62e-05 | 956.6ms/step | 20.9 samples/s
642
+ Validation at step 31500: Loss = 2.9130, Perplexity = 18.41
643
+ Step 31600/44000 | Loss: 2.9151 | LR: 9.47e-05 | 982.9ms/step | 20.3 samples/s
644
+ Step 31700/44000 | Loss: 2.9153 | LR: 9.33e-05 | 956.7ms/step | 20.9 samples/s
645
+ Validation at step 31750: Loss = 2.9126, Perplexity = 18.40
646
+ Step 31800/44000 | Loss: 2.9209 | LR: 9.19e-05 | 982.9ms/step | 20.3 samples/s
647
+ Step 31900/44000 | Loss: 2.9020 | LR: 9.05e-05 | 956.6ms/step | 20.9 samples/s
648
+ Step 32000/44000 | Loss: 2.9257 | LR: 8.91e-05 | 956.3ms/step | 20.9 samples/s
649
+ Validation at step 32000: Loss = 2.9122, Perplexity = 18.40
650
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-32000
651
+ Step 32100/44000 | Loss: 2.8984 | LR: 8.77e-05 | 1023.5ms/step | 19.5 samples/s
652
+ Step 32200/44000 | Loss: 2.9190 | LR: 8.63e-05 | 956.2ms/step | 20.9 samples/s
653
+ Validation at step 32250: Loss = 2.9119, Perplexity = 18.39
654
+ Step 32300/44000 | Loss: 2.8999 | LR: 8.50e-05 | 982.7ms/step | 20.4 samples/s
655
+ Step 32400/44000 | Loss: 2.8866 | LR: 8.36e-05 | 956.4ms/step | 20.9 samples/s
656
+ Step 32500/44000 | Loss: 2.9144 | LR: 8.23e-05 | 956.3ms/step | 20.9 samples/s
657
+ Validation at step 32500: Loss = 2.9113, Perplexity = 18.38
658
+ Step 32600/44000 | Loss: 2.9176 | LR: 8.09e-05 | 982.8ms/step | 20.3 samples/s
659
+ Step 32700/44000 | Loss: 2.8896 | LR: 7.96e-05 | 956.1ms/step | 20.9 samples/s
660
+ Validation at step 32750: Loss = 2.9108, Perplexity = 18.37
661
+ Step 32800/44000 | Loss: 2.9258 | LR: 7.83e-05 | 982.4ms/step | 20.4 samples/s
662
+ Step 32900/44000 | Loss: 2.9141 | LR: 7.70e-05 | 956.1ms/step | 20.9 samples/s
663
+ Step 33000/44000 | Loss: 2.9065 | LR: 7.56e-05 | 956.8ms/step | 20.9 samples/s
664
+ Validation at step 33000: Loss = 2.9105, Perplexity = 18.37
665
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-33000
666
+ Step 33100/44000 | Loss: 2.8869 | LR: 7.44e-05 | 1022.2ms/step | 19.6 samples/s
667
+ Step 33200/44000 | Loss: 2.9058 | LR: 7.31e-05 | 955.8ms/step | 20.9 samples/s
668
+ Validation at step 33250: Loss = 2.9102, Perplexity = 18.36
669
+ Step 33300/44000 | Loss: 2.8882 | LR: 7.18e-05 | 981.8ms/step | 20.4 samples/s
670
+ Step 33400/44000 | Loss: 2.8906 | LR: 7.05e-05 | 955.1ms/step | 20.9 samples/s
671
+ Step 33500/44000 | Loss: 2.9183 | LR: 6.93e-05 | 955.1ms/step | 20.9 samples/s
672
+ Validation at step 33500: Loss = 2.9097, Perplexity = 18.35
673
+ Step 33600/44000 | Loss: 2.9172 | LR: 6.80e-05 | 983.3ms/step | 20.3 samples/s
674
+ Step 33700/44000 | Loss: 2.9241 | LR: 6.68e-05 | 955.4ms/step | 20.9 samples/s
675
+ Validation at step 33750: Loss = 2.9091, Perplexity = 18.34
676
+ Step 33800/44000 | Loss: 2.8981 | LR: 6.55e-05 | 981.5ms/step | 20.4 samples/s
677
+ Step 33900/44000 | Loss: 2.9291 | LR: 6.43e-05 | 955.2ms/step | 20.9 samples/s
678
+ Step 34000/44000 | Loss: 2.9160 | LR: 6.31e-05 | 955.4ms/step | 20.9 samples/s
679
+ Validation at step 34000: Loss = 2.9090, Perplexity = 18.34
680
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-34000
681
+ Step 34100/44000 | Loss: 2.8999 | LR: 6.19e-05 | 1026.7ms/step | 19.5 samples/s
682
+ Step 34200/44000 | Loss: 2.8906 | LR: 6.07e-05 | 957.5ms/step | 20.9 samples/s
683
+ Validation at step 34250: Loss = 2.9087, Perplexity = 18.33
684
+ Step 34300/44000 | Loss: 2.9100 | LR: 5.95e-05 | 983.2ms/step | 20.3 samples/s
685
+ Step 34400/44000 | Loss: 2.9060 | LR: 5.84e-05 | 956.9ms/step | 20.9 samples/s
686
+ Step 34500/44000 | Loss: 2.9152 | LR: 5.72e-05 | 956.3ms/step | 20.9 samples/s
687
+ Validation at step 34500: Loss = 2.9085, Perplexity = 18.33
688
+ Step 34600/44000 | Loss: 2.8988 | LR: 5.60e-05 | 982.6ms/step | 20.4 samples/s
689
+ Step 34700/44000 | Loss: 2.9235 | LR: 5.49e-05 | 956.5ms/step | 20.9 samples/s
690
+ Validation at step 34750: Loss = 2.9082, Perplexity = 18.32
691
+ Step 34800/44000 | Loss: 2.8992 | LR: 5.38e-05 | 982.7ms/step | 20.4 samples/s
692
+ Step 34900/44000 | Loss: 2.9080 | LR: 5.27e-05 | 956.9ms/step | 20.9 samples/s
693
+ Step 35000/44000 | Loss: 2.9224 | LR: 5.15e-05 | 956.7ms/step | 20.9 samples/s
694
+ Validation at step 35000: Loss = 2.9080, Perplexity = 18.32
695
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-35000
696
+ Step 35100/44000 | Loss: 2.8947 | LR: 5.04e-05 | 1026.3ms/step | 19.5 samples/s
697
+ Step 35200/44000 | Loss: 2.8861 | LR: 4.94e-05 | 956.8ms/step | 20.9 samples/s
698
+ Validation at step 35250: Loss = 2.9078, Perplexity = 18.32
699
+ Step 35300/44000 | Loss: 2.9092 | LR: 4.83e-05 | 983.3ms/step | 20.3 samples/s
700
+ Step 35400/44000 | Loss: 2.8840 | LR: 4.72e-05 | 956.8ms/step | 20.9 samples/s
701
+ Step 35500/44000 | Loss: 2.9026 | LR: 4.62e-05 | 956.6ms/step | 20.9 samples/s
702
+ Validation at step 35500: Loss = 2.9076, Perplexity = 18.31
703
+ Step 35600/44000 | Loss: 2.8955 | LR: 4.51e-05 | 982.7ms/step | 20.4 samples/s
704
+ Step 35700/44000 | Loss: 2.9119 | LR: 4.41e-05 | 956.4ms/step | 20.9 samples/s
705
+ Validation at step 35750: Loss = 2.9072, Perplexity = 18.31
706
+ Step 35800/44000 | Loss: 2.9062 | LR: 4.31e-05 | 982.8ms/step | 20.3 samples/s
707
+ Step 35900/44000 | Loss: 2.9021 | LR: 4.20e-05 | 957.3ms/step | 20.9 samples/s
708
+ Step 36000/44000 | Loss: 2.8644 | LR: 4.10e-05 | 956.3ms/step | 20.9 samples/s
709
+ Validation at step 36000: Loss = 2.9072, Perplexity = 18.30
710
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-36000
711
+ Step 36100/44000 | Loss: 2.8916 | LR: 4.00e-05 | 1024.5ms/step | 19.5 samples/s
712
+ Step 36200/44000 | Loss: 2.8997 | LR: 3.91e-05 | 956.4ms/step | 20.9 samples/s
713
+ Validation at step 36250: Loss = 2.9070, Perplexity = 18.30
714
+ Step 36300/44000 | Loss: 2.9009 | LR: 3.81e-05 | 983.0ms/step | 20.3 samples/s
715
+ Step 36400/44000 | Loss: 2.8996 | LR: 3.71e-05 | 956.8ms/step | 20.9 samples/s
716
+ Step 36500/44000 | Loss: 2.8793 | LR: 3.62e-05 | 956.2ms/step | 20.9 samples/s
717
+ Validation at step 36500: Loss = 2.9068, Perplexity = 18.30
718
+ Step 36600/44000 | Loss: 2.9007 | LR: 3.53e-05 | 982.3ms/step | 20.4 samples/s
719
+ Step 36700/44000 | Loss: 2.8990 | LR: 3.43e-05 | 956.3ms/step | 20.9 samples/s
720
+ Validation at step 36750: Loss = 2.9068, Perplexity = 18.30
721
+ Step 36800/44000 | Loss: 2.8915 | LR: 3.34e-05 | 982.3ms/step | 20.4 samples/s
722
+ Step 36900/44000 | Loss: 2.8977 | LR: 3.25e-05 | 956.0ms/step | 20.9 samples/s
723
+ Step 37000/44000 | Loss: 2.9182 | LR: 3.16e-05 | 956.2ms/step | 20.9 samples/s
724
+ Validation at step 37000: Loss = 2.9067, Perplexity = 18.30
725
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-37000
726
+ Step 37100/44000 | Loss: 2.8979 | LR: 3.07e-05 | 1022.7ms/step | 19.6 samples/s
727
+ Step 37200/44000 | Loss: 2.9071 | LR: 2.99e-05 | 955.5ms/step | 20.9 samples/s
728
+ Validation at step 37250: Loss = 2.9066, Perplexity = 18.29
729
+ Step 37300/44000 | Loss: 2.9064 | LR: 2.90e-05 | 981.4ms/step | 20.4 samples/s
730
+ Step 37400/44000 | Loss: 2.8837 | LR: 2.82e-05 | 955.1ms/step | 20.9 samples/s
731
+ Step 37500/44000 | Loss: 2.9241 | LR: 2.74e-05 | 954.8ms/step | 20.9 samples/s
732
+ Validation at step 37500: Loss = 2.9064, Perplexity = 18.29
733
+ Step 37600/44000 | Loss: 2.8786 | LR: 2.65e-05 | 981.0ms/step | 20.4 samples/s
734
+ Step 37700/44000 | Loss: 2.9124 | LR: 2.57e-05 | 954.8ms/step | 20.9 samples/s
735
+ Validation at step 37750: Loss = 2.9065, Perplexity = 18.29
736
+ Step 37800/44000 | Loss: 2.8824 | LR: 2.49e-05 | 981.2ms/step | 20.4 samples/s
737
+ Step 37900/44000 | Loss: 2.9065 | LR: 2.41e-05 | 955.1ms/step | 20.9 samples/s
738
+ Step 38000/44000 | Loss: 2.9038 | LR: 2.34e-05 | 954.7ms/step | 20.9 samples/s
739
+ Validation at step 38000: Loss = 2.9064, Perplexity = 18.29
740
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-38000
741
+ Step 38100/44000 | Loss: 2.9123 | LR: 2.26e-05 | 1022.8ms/step | 19.6 samples/s
742
+ Step 38200/44000 | Loss: 2.8908 | LR: 2.19e-05 | 955.0ms/step | 20.9 samples/s
743
+ Validation at step 38250: Loss = 2.9062, Perplexity = 18.29
744
+ Step 38300/44000 | Loss: 2.8900 | LR: 2.11e-05 | 980.8ms/step | 20.4 samples/s
745
+ Step 38400/44000 | Loss: 2.9047 | LR: 2.04e-05 | 954.7ms/step | 20.9 samples/s
746
+ Step 38500/44000 | Loss: 2.9184 | LR: 1.97e-05 | 954.4ms/step | 21.0 samples/s
747
+ Validation at step 38500: Loss = 2.9062, Perplexity = 18.29
748
+ Step 38600/44000 | Loss: 2.9094 | LR: 1.90e-05 | 982.2ms/step | 20.4 samples/s
749
+ Step 38700/44000 | Loss: 2.9055 | LR: 1.83e-05 | 955.5ms/step | 20.9 samples/s
750
+ Validation at step 38750: Loss = 2.9063, Perplexity = 18.29
751
+ Step 38800/44000 | Loss: 2.8957 | LR: 1.76e-05 | 980.9ms/step | 20.4 samples/s
752
+ Step 38900/44000 | Loss: 2.8822 | LR: 1.70e-05 | 954.5ms/step | 21.0 samples/s
753
+ Step 39000/44000 | Loss: 2.8864 | LR: 1.63e-05 | 954.7ms/step | 20.9 samples/s
754
+ Validation at step 39000: Loss = 2.9062, Perplexity = 18.29
755
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-39000
756
+ Step 39100/44000 | Loss: 2.9083 | LR: 1.57e-05 | 1023.8ms/step | 19.5 samples/s
757
+ Step 39200/44000 | Loss: 2.9020 | LR: 1.50e-05 | 955.5ms/step | 20.9 samples/s
758
+ Validation at step 39250: Loss = 2.9062, Perplexity = 18.29
759
+ Step 39300/44000 | Loss: 2.8970 | LR: 1.44e-05 | 982.3ms/step | 20.4 samples/s
760
+ Step 39400/44000 | Loss: 2.9211 | LR: 1.38e-05 | 956.2ms/step | 20.9 samples/s
761
+ Step 39500/44000 | Loss: 2.8937 | LR: 1.32e-05 | 956.3ms/step | 20.9 samples/s
762
+ Validation at step 39500: Loss = 2.9061, Perplexity = 18.29
763
+ Step 39600/44000 | Loss: 2.8850 | LR: 1.27e-05 | 982.3ms/step | 20.4 samples/s
764
+ Step 39700/44000 | Loss: 2.9150 | LR: 1.21e-05 | 956.3ms/step | 20.9 samples/s
765
+ Validation at step 39750: Loss = 2.9061, Perplexity = 18.29
766
+ Step 39800/44000 | Loss: 2.8888 | LR: 1.15e-05 | 982.5ms/step | 20.4 samples/s
767
+ Step 39900/44000 | Loss: 2.9141 | LR: 1.10e-05 | 956.1ms/step | 20.9 samples/s
768
+ Step 40000/44000 | Loss: 2.9116 | LR: 1.05e-05 | 956.5ms/step | 20.9 samples/s
769
+ Validation at step 40000: Loss = 2.9061, Perplexity = 18.29
770
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-40000
771
+ Step 40100/44000 | Loss: 2.9035 | LR: 9.96e-06 | 1024.0ms/step | 19.5 samples/s
772
+ Step 40200/44000 | Loss: 2.9151 | LR: 9.46e-06 | 956.2ms/step | 20.9 samples/s
773
+ Validation at step 40250: Loss = 2.9061, Perplexity = 18.28
774
+ Step 40300/44000 | Loss: 2.9058 | LR: 8.97e-06 | 982.4ms/step | 20.4 samples/s
775
+ Step 40400/44000 | Loss: 2.8916 | LR: 8.50e-06 | 956.4ms/step | 20.9 samples/s
776
+ Step 40500/44000 | Loss: 2.8939 | LR: 8.04e-06 | 956.0ms/step | 20.9 samples/s
777
+ Validation at step 40500: Loss = 2.9060, Perplexity = 18.28
778
+ Step 40600/44000 | Loss: 2.9029 | LR: 7.59e-06 | 982.4ms/step | 20.4 samples/s
779
+ Step 40700/44000 | Loss: 2.8945 | LR: 7.15e-06 | 956.4ms/step | 20.9 samples/s
780
+ Validation at step 40750: Loss = 2.9060, Perplexity = 18.28
781
+ Step 40800/44000 | Loss: 2.8922 | LR: 6.72e-06 | 982.3ms/step | 20.4 samples/s
782
+ Step 40900/44000 | Loss: 2.8892 | LR: 6.31e-06 | 956.3ms/step | 20.9 samples/s
783
+ Step 41000/44000 | Loss: 2.8947 | LR: 5.91e-06 | 956.3ms/step | 20.9 samples/s
784
+ Validation at step 41000: Loss = 2.9060, Perplexity = 18.28
785
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-41000
786
+ Step 41100/44000 | Loss: 2.8857 | LR: 5.53e-06 | 1024.5ms/step | 19.5 samples/s
787
+ Step 41200/44000 | Loss: 2.9097 | LR: 5.15e-06 | 956.4ms/step | 20.9 samples/s
788
+ Validation at step 41250: Loss = 2.9060, Perplexity = 18.28
789
+ Step 41300/44000 | Loss: 2.8894 | LR: 4.79e-06 | 982.5ms/step | 20.4 samples/s
790
+ Step 41400/44000 | Loss: 2.8933 | LR: 4.45e-06 | 956.2ms/step | 20.9 samples/s
791
+ Step 41500/44000 | Loss: 2.9148 | LR: 4.11e-06 | 956.2ms/step | 20.9 samples/s
792
+ Validation at step 41500: Loss = 2.9060, Perplexity = 18.28
793
+ Step 41600/44000 | Loss: 2.9025 | LR: 3.79e-06 | 982.8ms/step | 20.3 samples/s
794
+ Step 41700/44000 | Loss: 2.9438 | LR: 3.48e-06 | 956.0ms/step | 20.9 samples/s
795
+ Validation at step 41750: Loss = 2.9060, Perplexity = 18.28
796
+ Step 41800/44000 | Loss: 2.9042 | LR: 3.19e-06 | 982.6ms/step | 20.4 samples/s
797
+ Step 41900/44000 | Loss: 2.9083 | LR: 2.90e-06 | 956.1ms/step | 20.9 samples/s
798
+ Step 42000/44000 | Loss: 2.9005 | LR: 2.63e-06 | 955.9ms/step | 20.9 samples/s
799
+ Validation at step 42000: Loss = 2.9060, Perplexity = 18.28
800
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-42000
801
+ Step 42100/44000 | Loss: 2.9003 | LR: 2.38e-06 | 1024.6ms/step | 19.5 samples/s
802
+ Step 42200/44000 | Loss: 2.8982 | LR: 2.13e-06 | 956.4ms/step | 20.9 samples/s
803
+ Validation at step 42250: Loss = 2.9060, Perplexity = 18.28
804
+ Step 42300/44000 | Loss: 2.8951 | LR: 1.90e-06 | 982.8ms/step | 20.3 samples/s
805
+ Step 42400/44000 | Loss: 2.9073 | LR: 1.69e-06 | 956.2ms/step | 20.9 samples/s
806
+ Step 42500/44000 | Loss: 2.9089 | LR: 1.48e-06 | 956.0ms/step | 20.9 samples/s
807
+ Validation at step 42500: Loss = 2.9060, Perplexity = 18.28
808
+ Step 42600/44000 | Loss: 2.9029 | LR: 1.29e-06 | 982.5ms/step | 20.4 samples/s
809
+ Step 42700/44000 | Loss: 2.8938 | LR: 1.11e-06 | 956.1ms/step | 20.9 samples/s
810
+ Validation at step 42750: Loss = 2.9060, Perplexity = 18.28
811
+ Step 42800/44000 | Loss: 2.8994 | LR: 9.49e-07 | 982.7ms/step | 20.4 samples/s
812
+ Step 42900/44000 | Loss: 2.8944 | LR: 7.98e-07 | 956.2ms/step | 20.9 samples/s
813
+ Step 43000/44000 | Loss: 2.9136 | LR: 6.59e-07 | 956.1ms/step | 20.9 samples/s
814
+ Validation at step 43000: Loss = 2.9060, Perplexity = 18.28
815
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-43000
816
+ Step 43100/44000 | Loss: 2.8979 | LR: 5.34e-07 | 1025.1ms/step | 19.5 samples/s
817
+ Step 43200/44000 | Loss: 2.8984 | LR: 4.22e-07 | 956.3ms/step | 20.9 samples/s
818
+ Validation at step 43250: Loss = 2.9060, Perplexity = 18.28
819
+ Step 43300/44000 | Loss: 2.9087 | LR: 3.23e-07 | 982.4ms/step | 20.4 samples/s
820
+ Step 43400/44000 | Loss: 2.8762 | LR: 2.37e-07 | 956.2ms/step | 20.9 samples/s
821
+ Step 43500/44000 | Loss: 2.9012 | LR: 1.65e-07 | 956.4ms/step | 20.9 samples/s
822
+ Validation at step 43500: Loss = 2.9060, Perplexity = 18.28
823
+ Step 43600/44000 | Loss: 2.8828 | LR: 1.06e-07 | 982.4ms/step | 20.4 samples/s
824
+ Step 43700/44000 | Loss: 2.8933 | LR: 5.94e-08 | 956.4ms/step | 20.9 samples/s
825
+ Validation at step 43750: Loss = 2.9060, Perplexity = 18.28
826
+ Step 43800/44000 | Loss: 2.8995 | LR: 2.64e-08 | 982.6ms/step | 20.4 samples/s
827
+ Step 43900/44000 | Loss: 2.9133 | LR: 6.60e-09 | 956.4ms/step | 20.9 samples/s
828
+ Step 44000/44000 | Loss: 2.8973 | LR: 0.00e+00 | 956.3ms/step | 20.9 samples/s
829
+ Validation at step 44000: Loss = 2.9060, Perplexity = 18.28
830
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-44000
831
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-44000
832
+ wandb:
833
+ wandb: Run history:
834
+ wandb: eval/dense_interval_active ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
835
+ wandb: eval/dense_interval_end ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
836
+ wandb: eval/dense_interval_start ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
837
+ wandb: eval/loss █▇▇▇▆▅▅▄▄▄▃▃▃▃▃▃▃▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁
838
+ wandb: eval/perplexity █▅▅▄▄▄▃▃▃▃▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
839
+ wandb: eval/uses_dense_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
840
+ wandb: eval/uses_sparse_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
841
+ wandb: speed/ms_per_step ▁▁▁▁▄▅▁▁█▁▁▁█▁▁▁▁█▁▁▁▁▄█▁▁█▁▁▁▁▁▁▁█▄▁▄▁▁
842
+ wandb: speed/samples_per_sec █▅█▅██▇█▁▇▅████▅▅███▅██▁▅██▁██████▅▅██▅█
843
+ wandb: speed/steps_per_sec ▅█▁█▅▅█▅▅█▅█▅████▅██▅▁████▅█████▅▅█▅████
844
+ wandb: +4 ...
845
+ wandb:
846
+ wandb: Run summary:
847
+ wandb: eval/dense_interval_active 0
848
+ wandb: eval/dense_interval_end -1
849
+ wandb: eval/dense_interval_start -1
850
+ wandb: eval/loss 2.90601
851
+ wandb: eval/perplexity 18.28364
852
+ wandb: eval/uses_dense_attention 0
853
+ wandb: eval/uses_sparse_attention 1
854
+ wandb: speed/ms_per_step 956.27475
855
+ wandb: speed/samples_per_sec 20.91449
856
+ wandb: speed/steps_per_sec 1.04572
857
+ wandb: +4 ...
858
+ wandb:
859
+ wandb: You can sync this run to the cloud by running:
860
+ wandb: wandb sync /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_164537-zgrsvkbi
861
+ wandb: Find logs at: ./wandb/offline-run-20260921_164537-zgrsvkbi/logs
862
+ Training complete!
epfl_final/logs/ALIBI_20260921/ddp5_a10040_s45_20260921_205236/orchestrator.log ADDED
@@ -0,0 +1 @@
 
 
1
+ bash: line 4: LOGDIR: unbound variable
epfl_final/logs/ALIBI_20260921/ddp5_a10040_s45_20260921_205236/seed45.log ADDED
@@ -0,0 +1,538 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0921 20:53:23.594000 83 site-packages/torch/distributed/run.py:851]
2
+ W0921 20:53:23.594000 83 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0921 20:53:23.594000 83 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0921 20:53:23.594000 83 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 8192,
15
+ "num_workers": 8,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": 44000,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 4,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 1000,
29
+ "eval_steps": 250,
30
+ "eval_batches": 50,
31
+ "logging_steps": 100,
32
+ "seed": 45,
33
+ "verbose": true,
34
+ "checkpoint_activations": false,
35
+ "resume_micro_step_override": 8000,
36
+ "strategy": "ddp",
37
+ "mixed_precision": "bf16",
38
+ "wandb_enabled": true,
39
+ "wandb_project": "stochastic_sparsity",
40
+ "wandb_name": "365m alibi 8k s45",
41
+ "wandb_tags": [
42
+ "qwen3",
43
+ "365m",
44
+ "8k",
45
+ "scaleladder",
46
+ "alibi",
47
+ "seed45"
48
+ ],
49
+ "hidden_size": 768,
50
+ "intermediate_size": 3072,
51
+ "num_attention_heads": 6,
52
+ "num_key_value_heads": 2,
53
+ "num_hidden_layers": 28,
54
+ "head_dim": null,
55
+ "attention_dropout": null,
56
+ "rope_train_position_scale_set": null,
57
+ "positional": "alibi",
58
+ "attention_type": "dense",
59
+ "sparse_block_size": 128,
60
+ "sparse_num_random_blocks": 31,
61
+ "sparse_mask_pool_size": 1,
62
+ "sparse_val_dense_compare": false,
63
+ "sparse_layer_indices": null,
64
+ "sparse_mask_cache_dir": null,
65
+ "sparse_mask_seed": 0,
66
+ "sparse_mixed_nrb_set": null,
67
+ "dense_mode": false,
68
+ "dense_step_intervals": null
69
+ }
70
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
71
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000
72
+ Checkpoint activations: FalseCheckpoint activations: False
73
+ Checkpoint activations: False
74
+ Checkpoint activations: False
75
+
76
+ Checkpoint activations: False
77
+
78
+
79
+ ================================================================================
80
+ MODEL ARCHITECTURE
81
+ ================================================================================
82
+ Model config:
83
+ vocab_size: 151936
84
+ hidden_size: 768
85
+ num_hidden_layers: 28
86
+ num_attention_heads: 6
87
+ num_key_value_heads: 2
88
+ head_dim: 128
89
+ intermediate_size: 3072
90
+ max_position_embeddings: 32768
91
+ rope_theta: 1000000
92
+ rope_train_position_scale_set: None
93
+ attention_type: dense
94
+
95
+ Parameter count:
96
+ Total parameters: 358,958,848
97
+ Trainable parameters: 358,958,848
98
+ Non-trainable parameters: 0
99
+ Model size (BF16): 0.72 GB
100
+
101
+ --------------------------------------------------------------------------------
102
+ LAYER-BY-LAYER SUMMARY
103
+ --------------------------------------------------------------------------------
104
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
105
+
106
+ SOLUTION: Use torch.compile(flex_attention)(...)
107
+
108
+ If you want to debug your score_mod/mask_mod, you can set:
109
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
110
+
111
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
112
+ _warn_once(
113
+ =================================================================================================================================================
114
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
115
+ =================================================================================================================================================
116
+ Qwen3ForCausalLM [1, 8192] -- -- True
117
+ ├─Qwen3Model: 1-1 -- [1, 8192, 768] -- True
118
+ │ └─Embedding: 2-1 [1, 8192] [1, 8192, 768] 116,686,848 True
119
+ │ └─ModuleList: 2-2 -- -- -- True
120
+ │ │ └─Qwen3DecoderLayer: 3-1 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-2 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-3 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-4 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-5 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-6 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-7 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-8 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-9 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-10 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-11 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-12 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-13 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-14 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-15 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-16 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-17 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-18 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-19 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-20 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
140
+ │ │ └─Qwen3DecoderLayer: 3-21 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
141
+ │ │ └─Qwen3DecoderLayer: 3-22 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
142
+ │ │ └─Qwen3DecoderLayer: 3-23 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
143
+ │ │ └─Qwen3DecoderLayer: 3-24 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
144
+ │ │ └─Qwen3DecoderLayer: 3-25 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
145
+ │ │ └─Qwen3DecoderLayer: 3-26 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
146
+ │ │ └─Qwen3DecoderLayer: 3-27 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
147
+ │ │ └─Qwen3DecoderLayer: 3-28 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
148
+ │ └─Qwen3RMSNorm: 2-3 [1, 8192, 768] [1, 8192, 768] 768 True
149
+ ├─Linear: 1-2 [1, 8192, 768] [1, 8192, 151936] 116,686,848 True
150
+ =================================================================================================================================================
151
+ Total params: 475,645,696
152
+ Trainable params: 475,645,696
153
+ Non-trainable params: 0
154
+ Total mult-adds (Units.MEGABYTES): 475.65
155
+ =================================================================================================================================================
156
+ Input size (MB): 0.07
157
+ Forward/backward pass size (MB): 15598.62
158
+ Params size (MB): 951.29
159
+ Estimated Total Size (MB): 16549.97
160
+ =================================================================================================================================================
161
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
162
+ ================================================================================
163
+
164
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
165
+ Using pre-tokenized dataset (no runtime tokenization)
166
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
167
+
168
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
169
+
170
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
171
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
172
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
173
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
174
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
175
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
176
+ Dataset split: 3027764 train, 159356 validation
177
+ Training examples (packed, train split): 3027764
178
+ Validation examples (packed, val split): 159356
179
+ Per-device batch size: 1
180
+ World size (GPUs): 5
181
+ Gradient accumulation steps: 4
182
+ Effective batch size (seqs/step): 20
183
+ Sequence length: 8192
184
+ Tokens per optimizer step: 163,840
185
+ Micro-batches per epoch (per rank): 605553
186
+ Optimizer steps per epoch: 151388
187
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
188
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000...
189
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
190
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
191
+ Overriding resume micro-step 20000 -> 8000 for DDP migration
192
+ Resuming training from step 2000
193
+ Resuming wandb run ghfbqjah
194
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id ghfbqjah.
195
+ wandb: Tracking run with wandb version 0.26.1
196
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
197
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_205453-ghfbqjah
198
+ Starting training...
199
+ Validation at step 2000: Loss = 3.5867, Perplexity = 36.11
200
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
201
+ Step 2100/44000 | Loss: 3.6125 | LR: 4.99e-04 | 1895.2ms/step | 10.6 samples/s
202
+ Step 2200/44000 | Loss: 3.6174 | LR: 4.99e-04 | 974.0ms/step | 20.5 samples/s
203
+ Validation at step 2250: Loss = 3.5340, Perplexity = 34.26
204
+ Step 2300/44000 | Loss: 3.5961 | LR: 4.98e-04 | 1003.3ms/step | 19.9 samples/s
205
+ Step 2400/44000 | Loss: 3.5680 | LR: 4.98e-04 | 977.8ms/step | 20.5 samples/s
206
+ Step 2500/44000 | Loss: 3.5607 | LR: 4.98e-04 | 978.0ms/step | 20.5 samples/s
207
+ Validation at step 2500: Loss = 3.4869, Perplexity = 32.68
208
+ Step 2600/44000 | Loss: 3.5426 | LR: 4.98e-04 | 1005.7ms/step | 19.9 samples/s
209
+ Step 2700/44000 | Loss: 3.5307 | LR: 4.97e-04 | 978.9ms/step | 20.4 samples/s
210
+ Validation at step 2750: Loss = 3.4438, Perplexity = 31.30
211
+ Step 2800/44000 | Loss: 3.5142 | LR: 4.97e-04 | 1006.4ms/step | 19.9 samples/s
212
+ Step 2900/44000 | Loss: 3.4805 | LR: 4.97e-04 | 980.1ms/step | 20.4 samples/s
213
+ Step 3000/44000 | Loss: 3.4992 | LR: 4.97e-04 | 980.0ms/step | 20.4 samples/s
214
+ Validation at step 3000: Loss = 3.4117, Perplexity = 30.32
215
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-3000
216
+ Step 3100/44000 | Loss: 3.4626 | LR: 4.96e-04 | 1046.6ms/step | 19.1 samples/s
217
+ Step 3200/44000 | Loss: 3.4497 | LR: 4.96e-04 | 977.8ms/step | 20.5 samples/s
218
+ Validation at step 3250: Loss = 3.3805, Perplexity = 29.38
219
+ Step 3300/44000 | Loss: 3.4570 | LR: 4.96e-04 | 1004.4ms/step | 19.9 samples/s
220
+ Step 3400/44000 | Loss: 3.4613 | LR: 4.95e-04 | 978.0ms/step | 20.4 samples/s
221
+ Step 3500/44000 | Loss: 3.4060 | LR: 4.95e-04 | 978.2ms/step | 20.4 samples/s
222
+ Validation at step 3500: Loss = 3.3584, Perplexity = 28.74
223
+ Step 3600/44000 | Loss: 3.4011 | LR: 4.95e-04 | 1005.0ms/step | 19.9 samples/s
224
+ Step 3700/44000 | Loss: 3.3820 | LR: 4.94e-04 | 978.0ms/step | 20.4 samples/s
225
+ Validation at step 3750: Loss = 3.3301, Perplexity = 27.94
226
+ Step 3800/44000 | Loss: 3.3811 | LR: 4.94e-04 | 1005.0ms/step | 19.9 samples/s
227
+ Step 3900/44000 | Loss: 3.3672 | LR: 4.93e-04 | 978.3ms/step | 20.4 samples/s
228
+ Step 4000/44000 | Loss: 3.3661 | LR: 4.93e-04 | 978.8ms/step | 20.4 samples/s
229
+ Validation at step 4000: Loss = 3.3109, Perplexity = 27.41
230
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-4000
231
+ Step 4100/44000 | Loss: 3.3793 | LR: 4.93e-04 | 1047.2ms/step | 19.1 samples/s
232
+ Step 4200/44000 | Loss: 3.3607 | LR: 4.92e-04 | 977.6ms/step | 20.5 samples/s
233
+ Validation at step 4250: Loss = 3.2955, Perplexity = 26.99
234
+ Step 4300/44000 | Loss: 3.3551 | LR: 4.92e-04 | 1004.7ms/step | 19.9 samples/s
235
+ Step 4400/44000 | Loss: 3.3476 | LR: 4.91e-04 | 978.4ms/step | 20.4 samples/s
236
+ Step 4500/44000 | Loss: 3.3333 | LR: 4.91e-04 | 978.4ms/step | 20.4 samples/s
237
+ Validation at step 4500: Loss = 3.2713, Perplexity = 26.34
238
+ Step 4600/44000 | Loss: 3.3427 | LR: 4.90e-04 | 1005.6ms/step | 19.9 samples/s
239
+ Step 4700/44000 | Loss: 3.3218 | LR: 4.90e-04 | 978.1ms/step | 20.4 samples/s
240
+ Validation at step 4750: Loss = 3.2576, Perplexity = 25.99
241
+ Step 4800/44000 | Loss: 3.3376 | LR: 4.89e-04 | 1004.7ms/step | 19.9 samples/s
242
+ Step 4900/44000 | Loss: 3.3232 | LR: 4.89e-04 | 978.0ms/step | 20.5 samples/s
243
+ Step 5000/44000 | Loss: 3.3035 | LR: 4.88e-04 | 978.0ms/step | 20.5 samples/s
244
+ Validation at step 5000: Loss = 3.2434, Perplexity = 25.62
245
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-5000
246
+ Step 5100/44000 | Loss: 3.2829 | LR: 4.88e-04 | 1046.4ms/step | 19.1 samples/s
247
+ Step 5200/44000 | Loss: 3.2933 | LR: 4.87e-04 | 977.8ms/step | 20.5 samples/s
248
+ Validation at step 5250: Loss = 3.2323, Perplexity = 25.34
249
+ Step 5300/44000 | Loss: 3.2979 | LR: 4.86e-04 | 1004.7ms/step | 19.9 samples/s
250
+ Step 5400/44000 | Loss: 3.2930 | LR: 4.86e-04 | 977.2ms/step | 20.5 samples/s
251
+ Step 5500/44000 | Loss: 3.2855 | LR: 4.85e-04 | 977.9ms/step | 20.5 samples/s
252
+ Validation at step 5500: Loss = 3.2179, Perplexity = 24.97
253
+ Step 5600/44000 | Loss: 3.2644 | LR: 4.85e-04 | 1004.2ms/step | 19.9 samples/s
254
+ Step 5700/44000 | Loss: 3.2746 | LR: 4.84e-04 | 977.7ms/step | 20.5 samples/s
255
+ Validation at step 5750: Loss = 3.2050, Perplexity = 24.66
256
+ Step 5800/44000 | Loss: 3.2552 | LR: 4.83e-04 | 1004.9ms/step | 19.9 samples/s
257
+ Step 5900/44000 | Loss: 3.2679 | LR: 4.83e-04 | 978.0ms/step | 20.4 samples/s
258
+ Step 6000/44000 | Loss: 3.2576 | LR: 4.82e-04 | 977.6ms/step | 20.5 samples/s
259
+ Validation at step 6000: Loss = 3.1939, Perplexity = 24.38
260
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-6000
261
+ Step 6100/44000 | Loss: 3.2653 | LR: 4.81e-04 | 1046.0ms/step | 19.1 samples/s
262
+ Step 6200/44000 | Loss: 3.2610 | LR: 4.81e-04 | 978.1ms/step | 20.4 samples/s
263
+ Validation at step 6250: Loss = 3.1841, Perplexity = 24.15
264
+ Step 6300/44000 | Loss: 3.2556 | LR: 4.80e-04 | 1004.7ms/step | 19.9 samples/s
265
+ Step 6400/44000 | Loss: 3.2483 | LR: 4.79e-04 | 977.8ms/step | 20.5 samples/s
266
+ Step 6500/44000 | Loss: 3.2267 | LR: 4.79e-04 | 978.0ms/step | 20.5 samples/s
267
+ Validation at step 6500: Loss = 3.1729, Perplexity = 23.88
268
+ Step 6600/44000 | Loss: 3.2366 | LR: 4.78e-04 | 1005.1ms/step | 19.9 samples/s
269
+ Step 6700/44000 | Loss: 3.2353 | LR: 4.77e-04 | 978.1ms/step | 20.4 samples/s
270
+ Validation at step 6750: Loss = 3.1666, Perplexity = 23.73
271
+ Step 6800/44000 | Loss: 3.2341 | LR: 4.76e-04 | 1005.0ms/step | 19.9 samples/s
272
+ Step 6900/44000 | Loss: 3.2123 | LR: 4.75e-04 | 977.9ms/step | 20.5 samples/s
273
+ Step 7000/44000 | Loss: 3.2029 | LR: 4.75e-04 | 977.8ms/step | 20.5 samples/s
274
+ Validation at step 7000: Loss = 3.1568, Perplexity = 23.50
275
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-7000
276
+ Step 7100/44000 | Loss: 3.2321 | LR: 4.74e-04 | 1045.8ms/step | 19.1 samples/s
277
+ Step 7200/44000 | Loss: 3.1889 | LR: 4.73e-04 | 978.3ms/step | 20.4 samples/s
278
+ Validation at step 7250: Loss = 3.1506, Perplexity = 23.35
279
+ Step 7300/44000 | Loss: 3.1949 | LR: 4.72e-04 | 1005.3ms/step | 19.9 samples/s
280
+ Step 7400/44000 | Loss: 3.1878 | LR: 4.71e-04 | 978.0ms/step | 20.4 samples/s
281
+ Step 7500/44000 | Loss: 3.2185 | LR: 4.71e-04 | 978.5ms/step | 20.4 samples/s
282
+ Validation at step 7500: Loss = 3.1435, Perplexity = 23.19
283
+ Step 7600/44000 | Loss: 3.2002 | LR: 4.70e-04 | 1005.7ms/step | 19.9 samples/s
284
+ Step 7700/44000 | Loss: 3.1809 | LR: 4.69e-04 | 978.7ms/step | 20.4 samples/s
285
+ Validation at step 7750: Loss = 3.1344, Perplexity = 22.98
286
+ Step 7800/44000 | Loss: 3.1655 | LR: 4.68e-04 | 1004.6ms/step | 19.9 samples/s
287
+ Step 7900/44000 | Loss: 3.1969 | LR: 4.67e-04 | 978.2ms/step | 20.4 samples/s
288
+ Step 8000/44000 | Loss: 3.1893 | LR: 4.66e-04 | 979.0ms/step | 20.4 samples/s
289
+ Validation at step 8000: Loss = 3.1270, Perplexity = 22.81
290
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-8000
291
+ Step 8100/44000 | Loss: 3.1800 | LR: 4.65e-04 | 1046.3ms/step | 19.1 samples/s
292
+ Step 8200/44000 | Loss: 3.2009 | LR: 4.64e-04 | 978.1ms/step | 20.4 samples/s
293
+ Validation at step 8250: Loss = 3.1196, Perplexity = 22.64
294
+ Step 8300/44000 | Loss: 3.1646 | LR: 4.63e-04 | 1005.0ms/step | 19.9 samples/s
295
+ Step 8400/44000 | Loss: 3.1846 | LR: 4.62e-04 | 978.5ms/step | 20.4 samples/s
296
+ Step 8500/44000 | Loss: 3.1805 | LR: 4.61e-04 | 978.4ms/step | 20.4 samples/s
297
+ Validation at step 8500: Loss = 3.1088, Perplexity = 22.39
298
+ Step 8600/44000 | Loss: 3.1711 | LR: 4.60e-04 | 1005.0ms/step | 19.9 samples/s
299
+ Step 8700/44000 | Loss: 3.1907 | LR: 4.59e-04 | 978.8ms/step | 20.4 samples/s
300
+ Validation at step 8750: Loss = 3.1007, Perplexity = 22.21
301
+ Step 8800/44000 | Loss: 3.1662 | LR: 4.58e-04 | 1004.9ms/step | 19.9 samples/s
302
+ Step 8900/44000 | Loss: 3.1539 | LR: 4.57e-04 | 978.0ms/step | 20.4 samples/s
303
+ Step 9000/44000 | Loss: 3.1663 | LR: 4.56e-04 | 978.0ms/step | 20.5 samples/s
304
+ Validation at step 9000: Loss = 3.0961, Perplexity = 22.11
305
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-9000
306
+ Step 9100/44000 | Loss: 3.1607 | LR: 4.55e-04 | 1046.5ms/step | 19.1 samples/s
307
+ Step 9200/44000 | Loss: 3.1460 | LR: 4.54e-04 | 978.1ms/step | 20.4 samples/s
308
+ Validation at step 9250: Loss = 3.0923, Perplexity = 22.03
309
+ Step 9300/44000 | Loss: 3.1473 | LR: 4.53e-04 | 1005.1ms/step | 19.9 samples/s
310
+ Step 9400/44000 | Loss: 3.1608 | LR: 4.52e-04 | 977.9ms/step | 20.5 samples/s
311
+ Step 9500/44000 | Loss: 3.1467 | LR: 4.51e-04 | 977.7ms/step | 20.5 samples/s
312
+ Validation at step 9500: Loss = 3.0849, Perplexity = 21.87
313
+ Step 9600/44000 | Loss: 3.1350 | LR: 4.50e-04 | 1005.1ms/step | 19.9 samples/s
314
+ Step 9700/44000 | Loss: 3.1496 | LR: 4.49e-04 | 977.8ms/step | 20.5 samples/s
315
+ Validation at step 9750: Loss = 3.0798, Perplexity = 21.75
316
+ Step 9800/44000 | Loss: 3.1330 | LR: 4.48e-04 | 1005.2ms/step | 19.9 samples/s
317
+ Step 9900/44000 | Loss: 3.1449 | LR: 4.47e-04 | 978.3ms/step | 20.4 samples/s
318
+ Step 10000/44000 | Loss: 3.1374 | LR: 4.46e-04 | 977.6ms/step | 20.5 samples/s
319
+ Validation at step 10000: Loss = 3.0760, Perplexity = 21.67
320
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-10000
321
+ Step 10100/44000 | Loss: 3.1558 | LR: 4.45e-04 | 1046.0ms/step | 19.1 samples/s
322
+ Step 10200/44000 | Loss: 3.1202 | LR: 4.43e-04 | 978.0ms/step | 20.5 samples/s
323
+ Validation at step 10250: Loss = 3.0696, Perplexity = 21.53
324
+ Step 10300/44000 | Loss: 3.1150 | LR: 4.42e-04 | 1005.0ms/step | 19.9 samples/s
325
+ Step 10400/44000 | Loss: 3.1385 | LR: 4.41e-04 | 978.2ms/step | 20.4 samples/s
326
+ Step 10500/44000 | Loss: 3.1108 | LR: 4.40e-04 | 978.1ms/step | 20.4 samples/s
327
+ Validation at step 10500: Loss = 3.0669, Perplexity = 21.47
328
+ Step 10600/44000 | Loss: 3.1104 | LR: 4.39e-04 | 1004.7ms/step | 19.9 samples/s
329
+ Step 10700/44000 | Loss: 3.1087 | LR: 4.37e-04 | 978.0ms/step | 20.4 samples/s
330
+ Validation at step 10750: Loss = 3.0610, Perplexity = 21.35
331
+ Step 10800/44000 | Loss: 3.1119 | LR: 4.36e-04 | 1005.3ms/step | 19.9 samples/s
332
+ Step 10900/44000 | Loss: 3.0995 | LR: 4.35e-04 | 977.6ms/step | 20.5 samples/s
333
+ Step 11000/44000 | Loss: 3.1133 | LR: 4.34e-04 | 978.4ms/step | 20.4 samples/s
334
+ Validation at step 11000: Loss = 3.0565, Perplexity = 21.25
335
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-11000
336
+ Step 11100/44000 | Loss: 3.0926 | LR: 4.33e-04 | 1046.8ms/step | 19.1 samples/s
337
+ Step 11200/44000 | Loss: 3.1084 | LR: 4.31e-04 | 978.2ms/step | 20.4 samples/s
338
+ Validation at step 11250: Loss = 3.0513, Perplexity = 21.14
339
+ Step 11300/44000 | Loss: 3.0956 | LR: 4.30e-04 | 1005.1ms/step | 19.9 samples/s
340
+ Step 11400/44000 | Loss: 3.1096 | LR: 4.29e-04 | 978.1ms/step | 20.4 samples/s
341
+ Step 11500/44000 | Loss: 3.0854 | LR: 4.28e-04 | 978.4ms/step | 20.4 samples/s
342
+ Validation at step 11500: Loss = 3.0469, Perplexity = 21.05
343
+ Step 11600/44000 | Loss: 3.1177 | LR: 4.26e-04 | 1005.3ms/step | 19.9 samples/s
344
+ Step 11700/44000 | Loss: 3.0957 | LR: 4.25e-04 | 978.4ms/step | 20.4 samples/s
345
+ Validation at step 11750: Loss = 3.0448, Perplexity = 21.01
346
+ Step 11800/44000 | Loss: 3.0877 | LR: 4.24e-04 | 1005.5ms/step | 19.9 samples/s
347
+ Step 11900/44000 | Loss: 3.1049 | LR: 4.22e-04 | 978.5ms/step | 20.4 samples/s
348
+ Step 12000/44000 | Loss: 3.0914 | LR: 4.21e-04 | 977.9ms/step | 20.5 samples/s
349
+ Validation at step 12000: Loss = 3.0388, Perplexity = 20.88
350
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-12000
351
+ Step 12100/44000 | Loss: 3.0825 | LR: 4.20e-04 | 1045.5ms/step | 19.1 samples/s
352
+ Step 12200/44000 | Loss: 3.0779 | LR: 4.18e-04 | 977.6ms/step | 20.5 samples/s
353
+ Validation at step 12250: Loss = 3.0338, Perplexity = 20.78
354
+ Step 12300/44000 | Loss: 3.1082 | LR: 4.17e-04 | 1004.6ms/step | 19.9 samples/s
355
+ Step 12400/44000 | Loss: 3.0830 | LR: 4.16e-04 | 977.9ms/step | 20.5 samples/s
356
+ Step 12500/44000 | Loss: 3.0684 | LR: 4.14e-04 | 978.0ms/step | 20.4 samples/s
357
+ Validation at step 12500: Loss = 3.0300, Perplexity = 20.70
358
+ Step 12600/44000 | Loss: 3.0815 | LR: 4.13e-04 | 1004.9ms/step | 19.9 samples/s
359
+ Step 12700/44000 | Loss: 3.0857 | LR: 4.12e-04 | 978.1ms/step | 20.4 samples/s
360
+ Validation at step 12750: Loss = 3.0270, Perplexity = 20.63
361
+ Step 12800/44000 | Loss: 3.0511 | LR: 4.10e-04 | 1005.4ms/step | 19.9 samples/s
362
+ Step 12900/44000 | Loss: 3.0802 | LR: 4.09e-04 | 977.9ms/step | 20.5 samples/s
363
+ Step 13000/44000 | Loss: 3.0830 | LR: 4.07e-04 | 977.9ms/step | 20.5 samples/s
364
+ Validation at step 13000: Loss = 3.0213, Perplexity = 20.52
365
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-13000
366
+ Step 13100/44000 | Loss: 3.0905 | LR: 4.06e-04 | 1045.1ms/step | 19.1 samples/s
367
+ Step 13200/44000 | Loss: 3.0736 | LR: 4.05e-04 | 977.3ms/step | 20.5 samples/s
368
+ Validation at step 13250: Loss = 3.0166, Perplexity = 20.42
369
+ Step 13300/44000 | Loss: 3.0687 | LR: 4.03e-04 | 1004.5ms/step | 19.9 samples/s
370
+ Step 13400/44000 | Loss: 3.0969 | LR: 4.02e-04 | 978.1ms/step | 20.4 samples/s
371
+ Step 13500/44000 | Loss: 3.0804 | LR: 4.00e-04 | 977.7ms/step | 20.5 samples/s
372
+ Validation at step 13500: Loss = 3.0146, Perplexity = 20.38
373
+ Step 13600/44000 | Loss: 3.0835 | LR: 3.99e-04 | 1004.8ms/step | 19.9 samples/s
374
+ Step 13700/44000 | Loss: 3.0728 | LR: 3.97e-04 | 977.6ms/step | 20.5 samples/s
375
+ Validation at step 13750: Loss = 3.0119, Perplexity = 20.33
376
+ Step 13800/44000 | Loss: 3.0642 | LR: 3.96e-04 | 1004.5ms/step | 19.9 samples/s
377
+ Step 13900/44000 | Loss: 3.0632 | LR: 3.94e-04 | 977.6ms/step | 20.5 samples/s
378
+ Step 14000/44000 | Loss: 3.0425 | LR: 3.93e-04 | 977.5ms/step | 20.5 samples/s
379
+ Validation at step 14000: Loss = 3.0054, Perplexity = 20.19
380
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-14000
381
+ Step 14100/44000 | Loss: 3.0634 | LR: 3.91e-04 | 1046.4ms/step | 19.1 samples/s
382
+ Step 14200/44000 | Loss: 3.0647 | LR: 3.90e-04 | 977.8ms/step | 20.5 samples/s
383
+ Validation at step 14250: Loss = 3.0035, Perplexity = 20.16
384
+ Step 14300/44000 | Loss: 3.0313 | LR: 3.88e-04 | 1004.7ms/step | 19.9 samples/s
385
+ Step 14400/44000 | Loss: 3.0521 | LR: 3.87e-04 | 977.5ms/step | 20.5 samples/s
386
+ Step 14500/44000 | Loss: 3.0604 | LR: 3.85e-04 | 977.8ms/step | 20.5 samples/s
387
+ Validation at step 14500: Loss = 2.9993, Perplexity = 20.07
388
+ Step 14600/44000 | Loss: 3.0691 | LR: 3.84e-04 | 1004.9ms/step | 19.9 samples/s
389
+ Step 14700/44000 | Loss: 3.0365 | LR: 3.82e-04 | 977.8ms/step | 20.5 samples/s
390
+ Validation at step 14750: Loss = 2.9954, Perplexity = 19.99
391
+ Step 14800/44000 | Loss: 3.0538 | LR: 3.81e-04 | 1004.9ms/step | 19.9 samples/s
392
+ Step 14900/44000 | Loss: 3.0338 | LR: 3.79e-04 | 978.4ms/step | 20.4 samples/s
393
+ Step 15000/44000 | Loss: 3.0549 | LR: 3.78e-04 | 978.0ms/step | 20.4 samples/s
394
+ Validation at step 15000: Loss = 2.9928, Perplexity = 19.94
395
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-15000
396
+ Step 15100/44000 | Loss: 3.0597 | LR: 3.76e-04 | 1046.6ms/step | 19.1 samples/s
397
+ Step 15200/44000 | Loss: 3.0455 | LR: 3.74e-04 | 978.0ms/step | 20.5 samples/s
398
+ Validation at step 15250: Loss = 2.9922, Perplexity = 19.93
399
+ Step 15300/44000 | Loss: 3.0368 | LR: 3.73e-04 | 1004.8ms/step | 19.9 samples/s
400
+ Step 15400/44000 | Loss: 3.0382 | LR: 3.71e-04 | 977.7ms/step | 20.5 samples/s
401
+ Step 15500/44000 | Loss: 3.0468 | LR: 3.70e-04 | 978.2ms/step | 20.4 samples/s
402
+ Validation at step 15500: Loss = 2.9885, Perplexity = 19.86
403
+ Step 15600/44000 | Loss: 3.0455 | LR: 3.68e-04 | 1005.4ms/step | 19.9 samples/s
404
+ Step 15700/44000 | Loss: 3.0284 | LR: 3.67e-04 | 977.7ms/step | 20.5 samples/s
405
+ Validation at step 15750: Loss = 2.9837, Perplexity = 19.76
406
+ Step 15800/44000 | Loss: 3.0415 | LR: 3.65e-04 | 1005.4ms/step | 19.9 samples/s
407
+ Step 15900/44000 | Loss: 3.0516 | LR: 3.63e-04 | 978.2ms/step | 20.4 samples/s
408
+ Step 16000/44000 | Loss: 3.0218 | LR: 3.62e-04 | 978.1ms/step | 20.4 samples/s
409
+ Validation at step 16000: Loss = 2.9808, Perplexity = 19.70
410
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-16000
411
+ Step 16100/44000 | Loss: 3.0460 | LR: 3.60e-04 | 1047.4ms/step | 19.1 samples/s
412
+ Step 16200/44000 | Loss: 3.0348 | LR: 3.58e-04 | 977.9ms/step | 20.5 samples/s
413
+ Validation at step 16250: Loss = 2.9793, Perplexity = 19.67
414
+ Step 16300/44000 | Loss: 3.0196 | LR: 3.57e-04 | 1005.4ms/step | 19.9 samples/s
415
+ Step 16400/44000 | Loss: 3.0133 | LR: 3.55e-04 | 978.7ms/step | 20.4 samples/s
416
+ Step 16500/44000 | Loss: 3.0230 | LR: 3.53e-04 | 978.6ms/step | 20.4 samples/s
417
+ Validation at step 16500: Loss = 2.9772, Perplexity = 19.63
418
+ Step 16600/44000 | Loss: 3.0100 | LR: 3.52e-04 | 1005.1ms/step | 19.9 samples/s
419
+ Step 16700/44000 | Loss: 3.0215 | LR: 3.50e-04 | 978.3ms/step | 20.4 samples/s
420
+ Validation at step 16750: Loss = 2.9745, Perplexity = 19.58
421
+ Step 16800/44000 | Loss: 3.0353 | LR: 3.48e-04 | 1006.0ms/step | 19.9 samples/s
422
+ Step 16900/44000 | Loss: 3.0345 | LR: 3.47e-04 | 978.6ms/step | 20.4 samples/s
423
+ Step 17000/44000 | Loss: 3.0248 | LR: 3.45e-04 | 978.3ms/step | 20.4 samples/s
424
+ Validation at step 17000: Loss = 2.9691, Perplexity = 19.47
425
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-17000
426
+ Step 17100/44000 | Loss: 3.0143 | LR: 3.43e-04 | 1046.3ms/step | 19.1 samples/s
427
+ Step 17200/44000 | Loss: 3.0194 | LR: 3.42e-04 | 978.1ms/step | 20.4 samples/s
428
+ Validation at step 17250: Loss = 2.9663, Perplexity = 19.42
429
+ Step 17300/44000 | Loss: 3.0247 | LR: 3.40e-04 | 1006.0ms/step | 19.9 samples/s
430
+ Step 17400/44000 | Loss: 2.9972 | LR: 3.38e-04 | 978.2ms/step | 20.4 samples/s
431
+ Step 17500/44000 | Loss: 3.0160 | LR: 3.37e-04 | 978.2ms/step | 20.4 samples/s
432
+ Validation at step 17500: Loss = 2.9639, Perplexity = 19.37
433
+ Step 17600/44000 | Loss: 3.0132 | LR: 3.35e-04 | 1005.7ms/step | 19.9 samples/s
434
+ Step 17700/44000 | Loss: 3.0188 | LR: 3.33e-04 | 978.6ms/step | 20.4 samples/s
435
+ Validation at step 17750: Loss = 2.9610, Perplexity = 19.32
436
+ Step 17800/44000 | Loss: 3.0168 | LR: 3.32e-04 | 1005.7ms/step | 19.9 samples/s
437
+ Step 17900/44000 | Loss: 3.0116 | LR: 3.30e-04 | 978.5ms/step | 20.4 samples/s
438
+ Step 18000/44000 | Loss: 3.0018 | LR: 3.28e-04 | 978.3ms/step | 20.4 samples/s
439
+ Validation at step 18000: Loss = 2.9586, Perplexity = 19.27
440
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-18000
441
+ Step 18100/44000 | Loss: 3.0174 | LR: 3.26e-04 | 1047.8ms/step | 19.1 samples/s
442
+ Step 18200/44000 | Loss: 3.0003 | LR: 3.25e-04 | 978.7ms/step | 20.4 samples/s
443
+ Validation at step 18250: Loss = 2.9538, Perplexity = 19.18
444
+ Step 18300/44000 | Loss: 3.0138 | LR: 3.23e-04 | 1005.2ms/step | 19.9 samples/s
445
+ Step 18400/44000 | Loss: 2.9986 | LR: 3.21e-04 | 978.1ms/step | 20.4 samples/s
446
+ Step 18500/44000 | Loss: 2.9832 | LR: 3.19e-04 | 978.4ms/step | 20.4 samples/s
447
+ Validation at step 18500: Loss = 2.9510, Perplexity = 19.13
448
+ Step 18600/44000 | Loss: 2.9914 | LR: 3.18e-04 | 1005.4ms/step | 19.9 samples/s
449
+ Step 18700/44000 | Loss: 3.0116 | LR: 3.16e-04 | 978.2ms/step | 20.4 samples/s
450
+ Validation at step 18750: Loss = 2.9497, Perplexity = 19.10
451
+ Step 18800/44000 | Loss: 3.0067 | LR: 3.14e-04 | 1005.4ms/step | 19.9 samples/s
452
+ Step 18900/44000 | Loss: 3.0077 | LR: 3.12e-04 | 978.2ms/step | 20.4 samples/s
453
+ Step 19000/44000 | Loss: 3.0010 | LR: 3.11e-04 | 977.8ms/step | 20.5 samples/s
454
+ Validation at step 19000: Loss = 2.9483, Perplexity = 19.07
455
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-19000
456
+ Step 19100/44000 | Loss: 2.9917 | LR: 3.09e-04 | 1047.3ms/step | 19.1 samples/s
457
+ Step 19200/44000 | Loss: 3.0100 | LR: 3.07e-04 | 977.8ms/step | 20.5 samples/s
458
+ Validation at step 19250: Loss = 2.9430, Perplexity = 18.97
459
+ Step 19300/44000 | Loss: 3.0036 | LR: 3.05e-04 | 1004.9ms/step | 19.9 samples/s
460
+ Step 19400/44000 | Loss: 2.9819 | LR: 3.04e-04 | 978.4ms/step | 20.4 samples/s
461
+ Step 19500/44000 | Loss: 2.9944 | LR: 3.02e-04 | 977.9ms/step | 20.5 samples/s
462
+ Validation at step 19500: Loss = 2.9409, Perplexity = 18.93
463
+ Step 19600/44000 | Loss: 3.0054 | LR: 3.00e-04 | 1004.9ms/step | 19.9 samples/s
464
+ Step 19700/44000 | Loss: 2.9904 | LR: 2.98e-04 | 977.8ms/step | 20.5 samples/s
465
+ Validation at step 19750: Loss = 2.9369, Perplexity = 18.86
466
+ Step 19800/44000 | Loss: 2.9894 | LR: 2.96e-04 | 1005.3ms/step | 19.9 samples/s
467
+ Step 19900/44000 | Loss: 2.9729 | LR: 2.95e-04 | 978.2ms/step | 20.4 samples/s
468
+ Step 20000/44000 | Loss: 2.9928 | LR: 2.93e-04 | 977.9ms/step | 20.5 samples/s
469
+ Validation at step 20000: Loss = 2.9338, Perplexity = 18.80
470
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-20000
471
+ Step 20100/44000 | Loss: 2.9929 | LR: 2.91e-04 | 1047.9ms/step | 19.1 samples/s
472
+ Step 20200/44000 | Loss: 2.9561 | LR: 2.89e-04 | 978.0ms/step | 20.4 samples/s
473
+ Validation at step 20250: Loss = 2.9314, Perplexity = 18.75
474
+ Step 20300/44000 | Loss: 2.9822 | LR: 2.88e-04 | 1005.0ms/step | 19.9 samples/s
475
+ Step 20400/44000 | Loss: 3.0020 | LR: 2.86e-04 | 978.0ms/step | 20.4 samples/s
476
+ Step 20500/44000 | Loss: 2.9735 | LR: 2.84e-04 | 978.6ms/step | 20.4 samples/s
477
+ Validation at step 20500: Loss = 2.9291, Perplexity = 18.71
478
+ Step 20600/44000 | Loss: 2.9568 | LR: 2.82e-04 | 1005.3ms/step | 19.9 samples/s
479
+ Step 20700/44000 | Loss: 2.9963 | LR: 2.80e-04 | 978.4ms/step | 20.4 samples/s
480
+ Validation at step 20750: Loss = 2.9255, Perplexity = 18.64
481
+ Step 20800/44000 | Loss: 2.9744 | LR: 2.79e-04 | 1005.2ms/step | 19.9 samples/s
482
+ Step 20900/44000 | Loss: 2.9749 | LR: 2.77e-04 | 977.9ms/step | 20.5 samples/s
483
+ Step 21000/44000 | Loss: 2.9638 | LR: 2.75e-04 | 978.6ms/step | 20.4 samples/s
484
+ Validation at step 21000: Loss = 2.9250, Perplexity = 18.63
485
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-21000
486
+ Step 21100/44000 | Loss: 2.9764 | LR: 2.73e-04 | 1047.8ms/step | 19.1 samples/s
487
+ Step 21200/44000 | Loss: 2.9672 | LR: 2.71e-04 | 978.5ms/step | 20.4 samples/s
488
+ Validation at step 21250: Loss = 2.9212, Perplexity = 18.56
489
+ Step 21300/44000 | Loss: 2.9832 | LR: 2.70e-04 | 1005.2ms/step | 19.9 samples/s
490
+ Step 21400/44000 | Loss: 2.9527 | LR: 2.68e-04 | 978.3ms/step | 20.4 samples/s
491
+ Step 21500/44000 | Loss: 2.9714 | LR: 2.66e-04 | 978.3ms/step | 20.4 samples/s
492
+ Validation at step 21500: Loss = 2.9195, Perplexity = 18.53
493
+ Step 21600/44000 | Loss: 2.9696 | LR: 2.64e-04 | 1005.5ms/step | 19.9 samples/s
494
+ Step 21700/44000 | Loss: 2.9749 | LR: 2.62e-04 | 977.8ms/step | 20.5 samples/s
495
+ Validation at step 21750: Loss = 2.9167, Perplexity = 18.48
496
+ Step 21800/44000 | Loss: 2.9751 | LR: 2.60e-04 | 1005.3ms/step | 19.9 samples/s
497
+ Step 21900/44000 | Loss: 2.9652 | LR: 2.59e-04 | 977.8ms/step | 20.5 samples/s
498
+ Step 22000/44000 | Loss: 2.9470 | LR: 2.57e-04 | 978.2ms/step | 20.4 samples/s
499
+ Validation at step 22000: Loss = 2.9160, Perplexity = 18.47
500
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-22000
501
+ W0922 02:28:53.845000 83 site-packages/torch/distributed/elastic/agent/server/api.py:739] Received 15 death signal, shutting down workers
502
+ W0922 02:28:53.847000 83 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 151 closing signal SIGTERM
503
+ W0922 02:28:53.849000 83 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 152 closing signal SIGTERM
504
+ W0922 02:28:53.850000 83 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 153 closing signal SIGTERM
505
+ W0922 02:28:53.851000 83 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 154 closing signal SIGTERM
506
+ W0922 02:28:53.855000 83 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 155 closing signal SIGTERM
507
+ Traceback (most recent call last):
508
+ File "/mloscratch/homes/navasard/conda/bin/torchrun", line 6, in <module>
509
+ sys.exit(main())
510
+ ~~~~^^
511
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 362, in wrapper
512
+ return f(*args, **kwargs)
513
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 990, in main
514
+ run(args)
515
+ ~~~^^^^^^
516
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 981, in run
517
+ elastic_launch(
518
+ ~~~~~~~~~~~~~~~
519
+ config=config,
520
+ ~~~~~~~~~~~~~~
521
+ entrypoint=cmd,
522
+ ~~~~~~~~~~~~~~~
523
+ )(*cmd_args)
524
+ ~^^^^^^^^^^^
525
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 170, in __call__
526
+ return launch_agent(self._config, self._entrypoint, list(args))
527
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 308, in launch_agent
528
+ result = agent.run()
529
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
530
+ result = f(*args, **kwargs)
531
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 731, in run
532
+ result = self._invoke_run(role)
533
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 908, in _invoke_run
534
+ time.sleep(monitor_interval)
535
+ ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
536
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
537
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
538
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 83 got signal: 15
epfl_final/logs/ALIBI_20260921/ddp5_a10080_s44_20260921_164403/orchestrator.log ADDED
File without changes
epfl_final/logs/ALIBI_20260921/ddp5_a10080_s44_20260921_164403/seed44.log ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0921 16:44:15.919000 143 site-packages/torch/distributed/run.py:851]
2
+ W0921 16:44:15.919000 143 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0921 16:44:15.919000 143 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0921 16:44:15.919000 143 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 8192,
15
+ "num_workers": 8,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": 44000,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 4,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 1000,
29
+ "eval_steps": 250,
30
+ "eval_batches": 50,
31
+ "logging_steps": 100,
32
+ "seed": 44,
33
+ "verbose": true,
34
+ "checkpoint_activations": false,
35
+ "resume_micro_step_override": 8000,
36
+ "strategy": "ddp",
37
+ "mixed_precision": "bf16",
38
+ "wandb_enabled": true,
39
+ "wandb_project": "stochastic_sparsity",
40
+ "wandb_name": "365m alibi 8k s44",
41
+ "wandb_tags": [
42
+ "qwen3",
43
+ "365m",
44
+ "8k",
45
+ "scaleladder",
46
+ "alibi",
47
+ "seed44"
48
+ ],
49
+ "hidden_size": 768,
50
+ "intermediate_size": 3072,
51
+ "num_attention_heads": 6,
52
+ "num_key_value_heads": 2,
53
+ "num_hidden_layers": 28,
54
+ "head_dim": null,
55
+ "attention_dropout": null,
56
+ "rope_train_position_scale_set": null,
57
+ "positional": "alibi",
58
+ "attention_type": "dense",
59
+ "sparse_block_size": 128,
60
+ "sparse_num_random_blocks": 31,
61
+ "sparse_mask_pool_size": 1,
62
+ "sparse_val_dense_compare": false,
63
+ "sparse_layer_indices": null,
64
+ "sparse_mask_cache_dir": null,
65
+ "sparse_mask_seed": 0,
66
+ "sparse_mixed_nrb_set": null,
67
+ "dense_mode": false,
68
+ "dense_step_intervals": null
69
+ }
70
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
71
+ Checkpoint activations: FalseCheckpoint activations: False
72
+ Checkpoint activations: False
73
+ Checkpoint activations: False
74
+
75
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000
76
+ Checkpoint activations: False
77
+
78
+
79
+ ================================================================================
80
+ MODEL ARCHITECTURE
81
+ ================================================================================
82
+ Model config:
83
+ vocab_size: 151936
84
+ hidden_size: 768
85
+ num_hidden_layers: 28
86
+ num_attention_heads: 6
87
+ num_key_value_heads: 2
88
+ head_dim: 128
89
+ intermediate_size: 3072
90
+ max_position_embeddings: 32768
91
+ rope_theta: 1000000
92
+ rope_train_position_scale_set: None
93
+ attention_type: dense
94
+
95
+ Parameter count:
96
+ Total parameters: 358,958,848
97
+ Trainable parameters: 358,958,848
98
+ Non-trainable parameters: 0
99
+ Model size (BF16): 0.72 GB
100
+
101
+ --------------------------------------------------------------------------------
102
+ LAYER-BY-LAYER SUMMARY
103
+ --------------------------------------------------------------------------------
104
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
105
+
106
+ SOLUTION: Use torch.compile(flex_attention)(...)
107
+
108
+ If you want to debug your score_mod/mask_mod, you can set:
109
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
110
+
111
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
112
+ _warn_once(
113
+ =================================================================================================================================================
114
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
115
+ =================================================================================================================================================
116
+ Qwen3ForCausalLM [1, 8192] -- -- True
117
+ ├─Qwen3Model: 1-1 -- [1, 8192, 768] -- True
118
+ │ └─Embedding: 2-1 [1, 8192] [1, 8192, 768] 116,686,848 True
119
+ │ └─ModuleList: 2-2 -- -- -- True
120
+ │ │ └─Qwen3DecoderLayer: 3-1 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-2 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-3 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-4 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-5 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-6 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-7 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-8 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-9 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-10 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-11 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-12 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-13 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-14 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-15 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-16 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-17 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-18 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-19 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-20 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
140
+ │ │ └─Qwen3DecoderLayer: 3-21 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
141
+ │ │ └─Qwen3DecoderLayer: 3-22 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
142
+ │ │ └─Qwen3DecoderLayer: 3-23 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
143
+ │ │ └─Qwen3DecoderLayer: 3-24 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
144
+ │ │ └─Qwen3DecoderLayer: 3-25 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
145
+ │ │ └─Qwen3DecoderLayer: 3-26 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
146
+ │ │ └─Qwen3DecoderLayer: 3-27 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
147
+ │ │ └─Qwen3DecoderLayer: 3-28 [1, 8192, 768] [1, 8192, 768] 8,652,544 True
148
+ │ └─Qwen3RMSNorm: 2-3 [1, 8192, 768] [1, 8192, 768] 768 True
149
+ ├─Linear: 1-2 [1, 8192, 768] [1, 8192, 151936] 116,686,848 True
150
+ =================================================================================================================================================
151
+ Total params: 475,645,696
152
+ Trainable params: 475,645,696
153
+ Non-trainable params: 0
154
+ Total mult-adds (Units.MEGABYTES): 475.65
155
+ =================================================================================================================================================
156
+ Input size (MB): 0.07
157
+ Forward/backward pass size (MB): 15598.62
158
+ Params size (MB): 951.29
159
+ Estimated Total Size (MB): 16549.97
160
+ =================================================================================================================================================
161
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
162
+ ================================================================================
163
+
164
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
165
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
166
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
167
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
168
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
169
+ Using pre-tokenized dataset (no runtime tokenization)
170
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
171
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
172
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
173
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
174
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
175
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
176
+ Dataset split: 3027764 train, 159356 validation
177
+ Training examples (packed, train split): 3027764
178
+ Validation examples (packed, val split): 159356
179
+ Per-device batch size: 1
180
+ World size (GPUs): 5
181
+ Gradient accumulation steps: 4
182
+ Effective batch size (seqs/step): 20
183
+ Sequence length: 8192
184
+ Tokens per optimizer step: 163,840
185
+ Micro-batches per epoch (per rank): 605553
186
+ Optimizer steps per epoch: 151388
187
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
188
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000...
189
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
190
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
191
+ Overriding resume micro-step 20000 -> 8000 for DDP migration
192
+ Resuming training from step 2000
193
+ Resuming wandb run kbn66izc
194
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id kbn66izc.
195
+ wandb: Tracking run with wandb version 0.26.1
196
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
197
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_164533-kbn66izc
198
+ Starting training...
199
+ Validation at step 2000: Loss = 3.6763, Perplexity = 39.50
200
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
201
+ Step 2100/44000 | Loss: 3.6261 | LR: 4.99e-04 | 2585.1ms/step | 7.7 samples/s
202
+ Step 2200/44000 | Loss: 3.6012 | LR: 4.99e-04 | 924.8ms/step | 21.6 samples/s
203
+ Validation at step 2250: Loss = 3.6187, Perplexity = 37.29
204
+ Step 2300/44000 | Loss: 3.5676 | LR: 4.98e-04 | 955.4ms/step | 20.9 samples/s
205
+ Step 2400/44000 | Loss: 3.5955 | LR: 4.98e-04 | 930.2ms/step | 21.5 samples/s
206
+ Step 2500/44000 | Loss: 3.5539 | LR: 4.98e-04 | 930.4ms/step | 21.5 samples/s
207
+ Validation at step 2500: Loss = 3.5731, Perplexity = 35.63
208
+ Step 2600/44000 | Loss: 3.5545 | LR: 4.98e-04 | 955.1ms/step | 20.9 samples/s
209
+ Step 2700/44000 | Loss: 3.5484 | LR: 4.97e-04 | 929.0ms/step | 21.5 samples/s
210
+ Validation at step 2750: Loss = 3.5317, Perplexity = 34.18
211
+ Step 2800/44000 | Loss: 3.4846 | LR: 4.97e-04 | 955.7ms/step | 20.9 samples/s
212
+ Step 2900/44000 | Loss: 3.4962 | LR: 4.97e-04 | 929.2ms/step | 21.5 samples/s
213
+ Step 3000/44000 | Loss: 3.4766 | LR: 4.97e-04 | 929.3ms/step | 21.5 samples/s
214
+ Validation at step 3000: Loss = 3.5015, Perplexity = 33.17
215
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-3000
216
+ Step 3100/44000 | Loss: 3.4811 | LR: 4.96e-04 | 988.3ms/step | 20.2 samples/s
217
+ Step 3200/44000 | Loss: 3.4465 | LR: 4.96e-04 | 929.3ms/step | 21.5 samples/s
218
+ Validation at step 3250: Loss = 3.4699, Perplexity = 32.13
219
+ Step 3300/44000 | Loss: 3.4349 | LR: 4.96e-04 | 954.6ms/step | 21.0 samples/s
220
+ Step 3400/44000 | Loss: 3.4055 | LR: 4.95e-04 | 929.1ms/step | 21.5 samples/s
221
+ Step 3500/44000 | Loss: 3.3978 | LR: 4.95e-04 | 929.6ms/step | 21.5 samples/s
222
+ Validation at step 3500: Loss = 3.4436, Perplexity = 31.30
223
+ Step 3600/44000 | Loss: 3.3898 | LR: 4.95e-04 | 955.0ms/step | 20.9 samples/s
224
+ Step 3700/44000 | Loss: 3.3967 | LR: 4.94e-04 | 929.5ms/step | 21.5 samples/s
225
+ Validation at step 3750: Loss = 3.4180, Perplexity = 30.51
226
+ Step 3800/44000 | Loss: 3.3840 | LR: 4.94e-04 | 955.3ms/step | 20.9 samples/s
227
+ Step 3900/44000 | Loss: 3.3804 | LR: 4.93e-04 | 929.1ms/step | 21.5 samples/s
228
+ Step 4000/44000 | Loss: 3.3901 | LR: 4.93e-04 | 929.4ms/step | 21.5 samples/s
229
+ Validation at step 4000: Loss = 3.4005, Perplexity = 29.98
230
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-4000
231
+ Step 4100/44000 | Loss: 3.3621 | LR: 4.93e-04 | 988.6ms/step | 20.2 samples/s
232
+ Step 4200/44000 | Loss: 3.3244 | LR: 4.92e-04 | 929.0ms/step | 21.5 samples/s
233
+ Validation at step 4250: Loss = 3.3775, Perplexity = 29.30
234
+ Step 4300/44000 | Loss: 3.3313 | LR: 4.92e-04 | 954.9ms/step | 20.9 samples/s
235
+ Step 4400/44000 | Loss: 3.3437 | LR: 4.91e-04 | 929.0ms/step | 21.5 samples/s
236
+ Step 4500/44000 | Loss: 3.3289 | LR: 4.91e-04 | 929.0ms/step | 21.5 samples/s
237
+ Validation at step 4500: Loss = 3.3598, Perplexity = 28.78
238
+ Step 4600/44000 | Loss: 3.3331 | LR: 4.90e-04 | 954.1ms/step | 21.0 samples/s
239
+ Step 4700/44000 | Loss: 3.3081 | LR: 4.90e-04 | 928.2ms/step | 21.5 samples/s
240
+ Validation at step 4750: Loss = 3.3423, Perplexity = 28.28
241
+ Step 4800/44000 | Loss: 3.3183 | LR: 4.89e-04 | 955.1ms/step | 20.9 samples/s
242
+ Step 4900/44000 | Loss: 3.3224 | LR: 4.89e-04 | 928.8ms/step | 21.5 samples/s
243
+ Step 5000/44000 | Loss: 3.3070 | LR: 4.88e-04 | 928.9ms/step | 21.5 samples/s
244
+ Validation at step 5000: Loss = 3.3296, Perplexity = 27.93
245
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-5000
246
+ Step 5100/44000 | Loss: 3.3020 | LR: 4.88e-04 | 988.9ms/step | 20.2 samples/s
247
+ Step 5200/44000 | Loss: 3.2865 | LR: 4.87e-04 | 929.7ms/step | 21.5 samples/s
248
+ Validation at step 5250: Loss = 3.3136, Perplexity = 27.49
249
+ Step 5300/44000 | Loss: 3.3092 | LR: 4.86e-04 | 954.8ms/step | 20.9 samples/s
250
+ Step 5400/44000 | Loss: 3.2564 | LR: 4.86e-04 | 928.8ms/step | 21.5 samples/s
251
+ Step 5500/44000 | Loss: 3.2838 | LR: 4.85e-04 | 929.2ms/step | 21.5 samples/s
252
+ Validation at step 5500: Loss = 3.3036, Perplexity = 27.21
253
+ Step 5600/44000 | Loss: 3.2705 | LR: 4.85e-04 | 955.4ms/step | 20.9 samples/s
254
+ Step 5700/44000 | Loss: 3.2746 | LR: 4.84e-04 | 929.2ms/step | 21.5 samples/s
255
+ Validation at step 5750: Loss = 3.2890, Perplexity = 26.82
256
+ Step 5800/44000 | Loss: 3.2493 | LR: 4.83e-04 | 955.1ms/step | 20.9 samples/s
257
+ Step 5900/44000 | Loss: 3.2661 | LR: 4.83e-04 | 929.1ms/step | 21.5 samples/s
258
+ Step 6000/44000 | Loss: 3.2505 | LR: 4.82e-04 | 929.4ms/step | 21.5 samples/s
259
+ Validation at step 6000: Loss = 3.2792, Perplexity = 26.55
260
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-6000
261
+ Step 6100/44000 | Loss: 3.2413 | LR: 4.81e-04 | 988.6ms/step | 20.2 samples/s
262
+ Step 6200/44000 | Loss: 3.2375 | LR: 4.81e-04 | 929.7ms/step | 21.5 samples/s
263
+ Validation at step 6250: Loss = 3.2671, Perplexity = 26.24
264
+ Step 6300/44000 | Loss: 3.2452 | LR: 4.80e-04 | 955.6ms/step | 20.9 samples/s
265
+ Step 6400/44000 | Loss: 3.2548 | LR: 4.79e-04 | 930.2ms/step | 21.5 samples/s
266
+ Step 6500/44000 | Loss: 3.2169 | LR: 4.79e-04 | 928.8ms/step | 21.5 samples/s
267
+ Validation at step 6500: Loss = 3.2605, Perplexity = 26.06
268
+ Step 6600/44000 | Loss: 3.2363 | LR: 4.78e-04 | 955.8ms/step | 20.9 samples/s
269
+ Step 6700/44000 | Loss: 3.2210 | LR: 4.77e-04 | 929.7ms/step | 21.5 samples/s
270
+ Validation at step 6750: Loss = 3.2483, Perplexity = 25.75
271
+ Step 6800/44000 | Loss: 3.2389 | LR: 4.76e-04 | 955.5ms/step | 20.9 samples/s
272
+ Step 6900/44000 | Loss: 3.1977 | LR: 4.75e-04 | 930.3ms/step | 21.5 samples/s
273
+ Step 7000/44000 | Loss: 3.1962 | LR: 4.75e-04 | 929.8ms/step | 21.5 samples/s
274
+ Validation at step 7000: Loss = 3.2388, Perplexity = 25.50
275
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-7000
276
+ Step 7100/44000 | Loss: 3.2247 | LR: 4.74e-04 | 996.3ms/step | 20.1 samples/s
277
+ Step 7200/44000 | Loss: 3.2017 | LR: 4.73e-04 | 929.2ms/step | 21.5 samples/s
278
+ Validation at step 7250: Loss = 3.2322, Perplexity = 25.33
279
+ Step 7300/44000 | Loss: 3.2054 | LR: 4.72e-04 | 954.7ms/step | 20.9 samples/s
280
+ Step 7400/44000 | Loss: 3.2063 | LR: 4.71e-04 | 929.3ms/step | 21.5 samples/s
281
+ Step 7500/44000 | Loss: 3.1921 | LR: 4.71e-04 | 929.1ms/step | 21.5 samples/s
282
+ Validation at step 7500: Loss = 3.2204, Perplexity = 25.04
283
+ Step 7600/44000 | Loss: 3.1927 | LR: 4.70e-04 | 955.2ms/step | 20.9 samples/s
284
+ Step 7700/44000 | Loss: 3.1717 | LR: 4.69e-04 | 928.9ms/step | 21.5 samples/s
285
+ Validation at step 7750: Loss = 3.2103, Perplexity = 24.79
286
+ Step 7800/44000 | Loss: 3.1971 | LR: 4.68e-04 | 955.1ms/step | 20.9 samples/s
287
+ Step 7900/44000 | Loss: 3.1891 | LR: 4.67e-04 | 928.8ms/step | 21.5 samples/s
288
+ Step 8000/44000 | Loss: 3.1780 | LR: 4.66e-04 | 928.4ms/step | 21.5 samples/s
289
+ Validation at step 8000: Loss = 3.2041, Perplexity = 24.63
290
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-8000
291
+ Step 8100/44000 | Loss: 3.1894 | LR: 4.65e-04 | 986.4ms/step | 20.3 samples/s
292
+ Step 8200/44000 | Loss: 3.1837 | LR: 4.64e-04 | 928.8ms/step | 21.5 samples/s
293
+ Validation at step 8250: Loss = 3.1988, Perplexity = 24.50
294
+ Step 8300/44000 | Loss: 3.1634 | LR: 4.63e-04 | 955.3ms/step | 20.9 samples/s
295
+ Step 8400/44000 | Loss: 3.1796 | LR: 4.62e-04 | 930.0ms/step | 21.5 samples/s
296
+ Step 8500/44000 | Loss: 3.1604 | LR: 4.61e-04 | 929.8ms/step | 21.5 samples/s
297
+ Validation at step 8500: Loss = 3.1897, Perplexity = 24.28
298
+ Step 8600/44000 | Loss: 3.1589 | LR: 4.60e-04 | 956.7ms/step | 20.9 samples/s
299
+ Step 8700/44000 | Loss: 3.1841 | LR: 4.59e-04 | 930.0ms/step | 21.5 samples/s
300
+ Validation at step 8750: Loss = 3.1844, Perplexity = 24.15
301
+ Step 8800/44000 | Loss: 3.1538 | LR: 4.58e-04 | 955.3ms/step | 20.9 samples/s
302
+ Step 8900/44000 | Loss: 3.1461 | LR: 4.57e-04 | 929.5ms/step | 21.5 samples/s
303
+ Step 9000/44000 | Loss: 3.1615 | LR: 4.56e-04 | 929.2ms/step | 21.5 samples/s
304
+ Validation at step 9000: Loss = 3.1799, Perplexity = 24.04
305
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-9000
306
+ Step 9100/44000 | Loss: 3.1606 | LR: 4.55e-04 | 987.5ms/step | 20.3 samples/s
307
+ Step 9200/44000 | Loss: 3.1368 | LR: 4.54e-04 | 929.5ms/step | 21.5 samples/s
308
+ Validation at step 9250: Loss = 3.1725, Perplexity = 23.87
309
+ Step 9300/44000 | Loss: 3.1662 | LR: 4.53e-04 | 957.2ms/step | 20.9 samples/s
310
+ Step 9400/44000 | Loss: 3.1393 | LR: 4.52e-04 | 930.0ms/step | 21.5 samples/s
311
+ Step 9500/44000 | Loss: 3.1583 | LR: 4.51e-04 | 930.2ms/step | 21.5 samples/s
312
+ Validation at step 9500: Loss = 3.1688, Perplexity = 23.78
313
+ Step 9600/44000 | Loss: 3.1543 | LR: 4.50e-04 | 954.7ms/step | 20.9 samples/s
314
+ Step 9700/44000 | Loss: 3.1133 | LR: 4.49e-04 | 930.0ms/step | 21.5 samples/s
315
+ Validation at step 9750: Loss = 3.1658, Perplexity = 23.71
316
+ Step 9800/44000 | Loss: 3.1222 | LR: 4.48e-04 | 955.1ms/step | 20.9 samples/s
317
+ Step 9900/44000 | Loss: 3.1334 | LR: 4.47e-04 | 928.9ms/step | 21.5 samples/s
318
+ Step 10000/44000 | Loss: 3.1055 | LR: 4.46e-04 | 928.8ms/step | 21.5 samples/s
319
+ Validation at step 10000: Loss = 3.1556, Perplexity = 23.47
320
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-10000
321
+ Step 10100/44000 | Loss: 3.1251 | LR: 4.45e-04 | 988.1ms/step | 20.2 samples/s
322
+ Step 10200/44000 | Loss: 3.1371 | LR: 4.43e-04 | 927.9ms/step | 21.6 samples/s
323
+ Validation at step 10250: Loss = 3.1507, Perplexity = 23.35
324
+ Step 10300/44000 | Loss: 3.1330 | LR: 4.42e-04 | 953.6ms/step | 21.0 samples/s
325
+ Step 10400/44000 | Loss: 3.1409 | LR: 4.41e-04 | 928.9ms/step | 21.5 samples/s
326
+ Step 10500/44000 | Loss: 3.1153 | LR: 4.40e-04 | 928.1ms/step | 21.5 samples/s
327
+ Validation at step 10500: Loss = 3.1458, Perplexity = 23.24
328
+ Step 10600/44000 | Loss: 3.1087 | LR: 4.39e-04 | 955.5ms/step | 20.9 samples/s
329
+ Step 10700/44000 | Loss: 3.1440 | LR: 4.37e-04 | 928.6ms/step | 21.5 samples/s
330
+ Validation at step 10750: Loss = 3.1422, Perplexity = 23.15
331
+ Step 10800/44000 | Loss: 3.1086 | LR: 4.36e-04 | 955.0ms/step | 20.9 samples/s
332
+ Step 10900/44000 | Loss: 3.1269 | LR: 4.35e-04 | 928.3ms/step | 21.5 samples/s
333
+ Step 11000/44000 | Loss: 3.1198 | LR: 4.34e-04 | 929.1ms/step | 21.5 samples/s
334
+ Validation at step 11000: Loss = 3.1373, Perplexity = 23.04
335
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-11000
336
+ Step 11100/44000 | Loss: 3.1058 | LR: 4.33e-04 | 987.5ms/step | 20.3 samples/s
337
+ Step 11200/44000 | Loss: 3.1282 | LR: 4.31e-04 | 928.2ms/step | 21.5 samples/s
338
+ Validation at step 11250: Loss = 3.1342, Perplexity = 22.97
339
+ Step 11300/44000 | Loss: 3.0840 | LR: 4.30e-04 | 954.4ms/step | 21.0 samples/s
340
+ Step 11400/44000 | Loss: 3.1136 | LR: 4.29e-04 | 927.0ms/step | 21.6 samples/s
341
+ Step 11500/44000 | Loss: 3.0744 | LR: 4.28e-04 | 928.5ms/step | 21.5 samples/s
342
+ Validation at step 11500: Loss = 3.1224, Perplexity = 22.70
343
+ Step 11600/44000 | Loss: 3.0897 | LR: 4.26e-04 | 955.2ms/step | 20.9 samples/s
344
+ Step 11700/44000 | Loss: 3.0877 | LR: 4.25e-04 | 930.0ms/step | 21.5 samples/s
345
+ Validation at step 11750: Loss = 3.1182, Perplexity = 22.61
346
+ Step 11800/44000 | Loss: 3.0945 | LR: 4.24e-04 | 955.2ms/step | 20.9 samples/s
347
+ Step 11900/44000 | Loss: 3.1167 | LR: 4.22e-04 | 929.4ms/step | 21.5 samples/s
348
+ Step 12000/44000 | Loss: 3.0895 | LR: 4.21e-04 | 930.4ms/step | 21.5 samples/s
349
+ Validation at step 12000: Loss = 3.1129, Perplexity = 22.49
350
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-12000
351
+ Step 12100/44000 | Loss: 3.1150 | LR: 4.20e-04 | 986.6ms/step | 20.3 samples/s
352
+ Step 12200/44000 | Loss: 3.0681 | LR: 4.18e-04 | 928.7ms/step | 21.5 samples/s
353
+ Validation at step 12250: Loss = 3.1068, Perplexity = 22.35
354
+ Step 12300/44000 | Loss: 3.0868 | LR: 4.17e-04 | 953.7ms/step | 21.0 samples/s
355
+ Step 12400/44000 | Loss: 3.0925 | LR: 4.16e-04 | 927.9ms/step | 21.6 samples/s
356
+ Step 12500/44000 | Loss: 3.0824 | LR: 4.14e-04 | 927.7ms/step | 21.6 samples/s
357
+ Validation at step 12500: Loss = 3.1035, Perplexity = 22.28
358
+ Step 12600/44000 | Loss: 3.0996 | LR: 4.13e-04 | 953.8ms/step | 21.0 samples/s
359
+ Step 12700/44000 | Loss: 3.0903 | LR: 4.12e-04 | 928.8ms/step | 21.5 samples/s
360
+ Validation at step 12750: Loss = 3.1025, Perplexity = 22.25
361
+ Step 12800/44000 | Loss: 3.0857 | LR: 4.10e-04 | 952.5ms/step | 21.0 samples/s
362
+ Step 12900/44000 | Loss: 3.0595 | LR: 4.09e-04 | 928.4ms/step | 21.5 samples/s
363
+ Step 13000/44000 | Loss: 3.0728 | LR: 4.07e-04 | 928.2ms/step | 21.5 samples/s
364
+ Validation at step 13000: Loss = 3.0982, Perplexity = 22.16
365
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-13000
366
+ Step 13100/44000 | Loss: 3.0736 | LR: 4.06e-04 | 986.3ms/step | 20.3 samples/s
367
+ Step 13200/44000 | Loss: 3.0718 | LR: 4.05e-04 | 928.6ms/step | 21.5 samples/s
368
+ Validation at step 13250: Loss = 3.0961, Perplexity = 22.11
369
+ Step 13300/44000 | Loss: 3.0789 | LR: 4.03e-04 | 953.9ms/step | 21.0 samples/s
370
+ Step 13400/44000 | Loss: 3.0683 | LR: 4.02e-04 | 928.0ms/step | 21.6 samples/s
371
+ Step 13500/44000 | Loss: 3.0720 | LR: 4.00e-04 | 928.7ms/step | 21.5 samples/s
372
+ Validation at step 13500: Loss = 3.0912, Perplexity = 22.00
373
+ Step 13600/44000 | Loss: 3.0731 | LR: 3.99e-04 | 953.5ms/step | 21.0 samples/s
374
+ Step 13700/44000 | Loss: 3.0673 | LR: 3.97e-04 | 928.5ms/step | 21.5 samples/s
375
+ Validation at step 13750: Loss = 3.0866, Perplexity = 21.90
376
+ Step 13800/44000 | Loss: 3.0587 | LR: 3.96e-04 | 954.5ms/step | 21.0 samples/s
377
+ Step 13900/44000 | Loss: 3.0682 | LR: 3.94e-04 | 929.5ms/step | 21.5 samples/s
378
+ Step 14000/44000 | Loss: 3.0527 | LR: 3.93e-04 | 929.9ms/step | 21.5 samples/s
379
+ Validation at step 14000: Loss = 3.0838, Perplexity = 21.84
380
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-14000
381
+ Step 14100/44000 | Loss: 3.0447 | LR: 3.91e-04 | 987.3ms/step | 20.3 samples/s
382
+ Step 14200/44000 | Loss: 3.0614 | LR: 3.90e-04 | 929.2ms/step | 21.5 samples/s
383
+ Validation at step 14250: Loss = 3.0797, Perplexity = 21.75
384
+ Step 14300/44000 | Loss: 3.0590 | LR: 3.88e-04 | 955.2ms/step | 20.9 samples/s
385
+ Step 14400/44000 | Loss: 3.0597 | LR: 3.87e-04 | 929.9ms/step | 21.5 samples/s
386
+ Step 14500/44000 | Loss: 3.0633 | LR: 3.85e-04 | 929.9ms/step | 21.5 samples/s
387
+ Validation at step 14500: Loss = 3.0770, Perplexity = 21.69
388
+ Step 14600/44000 | Loss: 3.0402 | LR: 3.84e-04 | 955.4ms/step | 20.9 samples/s
389
+ Step 14700/44000 | Loss: 3.0519 | LR: 3.82e-04 | 930.8ms/step | 21.5 samples/s
390
+ Validation at step 14750: Loss = 3.0739, Perplexity = 21.63
391
+ Step 14800/44000 | Loss: 3.0364 | LR: 3.81e-04 | 955.1ms/step | 20.9 samples/s
392
+ Step 14900/44000 | Loss: 3.0253 | LR: 3.79e-04 | 930.7ms/step | 21.5 samples/s
393
+ Step 15000/44000 | Loss: 3.0373 | LR: 3.78e-04 | 930.2ms/step | 21.5 samples/s
394
+ Validation at step 15000: Loss = 3.0708, Perplexity = 21.56
395
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-15000
396
+ Step 15100/44000 | Loss: 3.0284 | LR: 3.76e-04 | 988.7ms/step | 20.2 samples/s
397
+ Step 15200/44000 | Loss: 3.0392 | LR: 3.74e-04 | 931.7ms/step | 21.5 samples/s
398
+ Validation at step 15250: Loss = 3.0662, Perplexity = 21.46
399
+ Step 15300/44000 | Loss: 3.0568 | LR: 3.73e-04 | 956.7ms/step | 20.9 samples/s
400
+ Step 15400/44000 | Loss: 3.0652 | LR: 3.71e-04 | 931.3ms/step | 21.5 samples/s
401
+ Step 15500/44000 | Loss: 3.0406 | LR: 3.70e-04 | 930.8ms/step | 21.5 samples/s
402
+ Validation at step 15500: Loss = 3.0652, Perplexity = 21.44
403
+ Step 15600/44000 | Loss: 3.0318 | LR: 3.68e-04 | 956.8ms/step | 20.9 samples/s
404
+ Step 15700/44000 | Loss: 3.0414 | LR: 3.67e-04 | 930.8ms/step | 21.5 samples/s
405
+ Validation at step 15750: Loss = 3.0618, Perplexity = 21.36
406
+ Step 15800/44000 | Loss: 3.0540 | LR: 3.65e-04 | 955.8ms/step | 20.9 samples/s
407
+ Step 15900/44000 | Loss: 3.0344 | LR: 3.63e-04 | 930.1ms/step | 21.5 samples/s
408
+ Step 16000/44000 | Loss: 3.0256 | LR: 3.62e-04 | 930.1ms/step | 21.5 samples/s
409
+ Validation at step 16000: Loss = 3.0584, Perplexity = 21.29
410
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-16000
411
+ Step 16100/44000 | Loss: 3.0493 | LR: 3.60e-04 | 988.7ms/step | 20.2 samples/s
412
+ Step 16200/44000 | Loss: 3.0301 | LR: 3.58e-04 | 931.0ms/step | 21.5 samples/s
413
+ Validation at step 16250: Loss = 3.0543, Perplexity = 21.21
414
+ Step 16300/44000 | Loss: 3.0276 | LR: 3.57e-04 | 956.7ms/step | 20.9 samples/s
415
+ Step 16400/44000 | Loss: 3.0300 | LR: 3.55e-04 | 929.6ms/step | 21.5 samples/s
416
+ Step 16500/44000 | Loss: 3.0118 | LR: 3.53e-04 | 928.3ms/step | 21.5 samples/s
417
+ Validation at step 16500: Loss = 3.0510, Perplexity = 21.14
418
+ Step 16600/44000 | Loss: 3.0178 | LR: 3.52e-04 | 954.9ms/step | 20.9 samples/s
419
+ Step 16700/44000 | Loss: 3.0351 | LR: 3.50e-04 | 930.2ms/step | 21.5 samples/s
420
+ Validation at step 16750: Loss = 3.0492, Perplexity = 21.10
421
+ Step 16800/44000 | Loss: 3.0145 | LR: 3.48e-04 | 954.3ms/step | 21.0 samples/s
422
+ Step 16900/44000 | Loss: 3.0251 | LR: 3.47e-04 | 928.3ms/step | 21.5 samples/s
423
+ Step 17000/44000 | Loss: 3.0175 | LR: 3.45e-04 | 929.4ms/step | 21.5 samples/s
424
+ Validation at step 17000: Loss = 3.0459, Perplexity = 21.03
425
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-17000
426
+ Step 17100/44000 | Loss: 3.0277 | LR: 3.43e-04 | 988.1ms/step | 20.2 samples/s
427
+ Step 17200/44000 | Loss: 3.0112 | LR: 3.42e-04 | 929.6ms/step | 21.5 samples/s
428
+ Validation at step 17250: Loss = 3.0428, Perplexity = 20.96
429
+ Step 17300/44000 | Loss: 3.0242 | LR: 3.40e-04 | 954.9ms/step | 20.9 samples/s
430
+ Step 17400/44000 | Loss: 3.0276 | LR: 3.38e-04 | 929.5ms/step | 21.5 samples/s
431
+ Step 17500/44000 | Loss: 3.0284 | LR: 3.37e-04 | 929.6ms/step | 21.5 samples/s
432
+ Validation at step 17500: Loss = 3.0410, Perplexity = 20.93
433
+ Step 17600/44000 | Loss: 2.9899 | LR: 3.35e-04 | 956.1ms/step | 20.9 samples/s
434
+ Step 17700/44000 | Loss: 3.0100 | LR: 3.33e-04 | 928.4ms/step | 21.5 samples/s
435
+ Validation at step 17750: Loss = 3.0378, Perplexity = 20.86
436
+ Step 17800/44000 | Loss: 3.0106 | LR: 3.32e-04 | 955.3ms/step | 20.9 samples/s
437
+ Step 17900/44000 | Loss: 3.0014 | LR: 3.30e-04 | 931.8ms/step | 21.5 samples/s
438
+ Step 18000/44000 | Loss: 3.0050 | LR: 3.28e-04 | 931.2ms/step | 21.5 samples/s
439
+ Validation at step 18000: Loss = 3.0334, Perplexity = 20.77
440
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-18000
441
+ Step 18100/44000 | Loss: 2.9994 | LR: 3.26e-04 | 997.1ms/step | 20.1 samples/s
442
+ Step 18200/44000 | Loss: 3.0144 | LR: 3.25e-04 | 935.4ms/step | 21.4 samples/s
443
+ Validation at step 18250: Loss = 3.0288, Perplexity = 20.67
444
+ Step 18300/44000 | Loss: 3.0149 | LR: 3.23e-04 | 960.7ms/step | 20.8 samples/s
445
+ Step 18400/44000 | Loss: 3.0064 | LR: 3.21e-04 | 931.5ms/step | 21.5 samples/s
446
+ Step 18500/44000 | Loss: 2.9826 | LR: 3.19e-04 | 932.3ms/step | 21.5 samples/s
447
+ Validation at step 18500: Loss = 3.0257, Perplexity = 20.61
448
+ Step 18600/44000 | Loss: 3.0154 | LR: 3.18e-04 | 958.2ms/step | 20.9 samples/s
449
+ Step 18700/44000 | Loss: 2.9939 | LR: 3.16e-04 | 932.8ms/step | 21.4 samples/s
450
+ Validation at step 18750: Loss = 3.0231, Perplexity = 20.55
451
+ Step 18800/44000 | Loss: 2.9815 | LR: 3.14e-04 | 958.4ms/step | 20.9 samples/s
452
+ Step 18900/44000 | Loss: 2.9953 | LR: 3.12e-04 | 932.6ms/step | 21.4 samples/s
453
+ Step 19000/44000 | Loss: 2.9955 | LR: 3.11e-04 | 931.9ms/step | 21.5 samples/s
454
+ Validation at step 19000: Loss = 3.0204, Perplexity = 20.50
455
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-19000
456
+ Step 19100/44000 | Loss: 3.0043 | LR: 3.09e-04 | 992.1ms/step | 20.2 samples/s
457
+ Step 19200/44000 | Loss: 2.9754 | LR: 3.07e-04 | 930.8ms/step | 21.5 samples/s
458
+ Validation at step 19250: Loss = 3.0182, Perplexity = 20.45
459
+ Step 19300/44000 | Loss: 2.9713 | LR: 3.05e-04 | 956.2ms/step | 20.9 samples/s
460
+ Step 19400/44000 | Loss: 2.9868 | LR: 3.04e-04 | 930.1ms/step | 21.5 samples/s
461
+ Step 19500/44000 | Loss: 2.9612 | LR: 3.02e-04 | 930.0ms/step | 21.5 samples/s
462
+ Validation at step 19500: Loss = 3.0143, Perplexity = 20.38
463
+ Step 19600/44000 | Loss: 2.9974 | LR: 3.00e-04 | 957.0ms/step | 20.9 samples/s
464
+ Step 19700/44000 | Loss: 2.9885 | LR: 2.98e-04 | 929.9ms/step | 21.5 samples/s
465
+ Validation at step 19750: Loss = 3.0117, Perplexity = 20.32
466
+ Step 19800/44000 | Loss: 3.0057 | LR: 2.96e-04 | 955.9ms/step | 20.9 samples/s
467
+ Step 19900/44000 | Loss: 2.9779 | LR: 2.95e-04 | 929.6ms/step | 21.5 samples/s
468
+ Step 20000/44000 | Loss: 3.0108 | LR: 2.93e-04 | 929.1ms/step | 21.5 samples/s
469
+ Validation at step 20000: Loss = 3.0095, Perplexity = 20.28
470
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-20000
471
+ Step 20100/44000 | Loss: 2.9604 | LR: 2.91e-04 | 989.8ms/step | 20.2 samples/s
472
+ Step 20200/44000 | Loss: 2.9971 | LR: 2.89e-04 | 931.7ms/step | 21.5 samples/s
473
+ Validation at step 20250: Loss = 3.0080, Perplexity = 20.25
474
+ Step 20300/44000 | Loss: 2.9718 | LR: 2.88e-04 | 956.2ms/step | 20.9 samples/s
475
+ Step 20400/44000 | Loss: 2.9780 | LR: 2.86e-04 | 930.0ms/step | 21.5 samples/s
476
+ Step 20500/44000 | Loss: 2.9931 | LR: 2.84e-04 | 931.1ms/step | 21.5 samples/s
477
+ Validation at step 20500: Loss = 3.0059, Perplexity = 20.20
478
+ Step 20600/44000 | Loss: 3.0010 | LR: 2.82e-04 | 955.0ms/step | 20.9 samples/s
479
+ Step 20700/44000 | Loss: 2.9754 | LR: 2.80e-04 | 929.1ms/step | 21.5 samples/s
480
+ Validation at step 20750: Loss = 3.0035, Perplexity = 20.16
481
+ Step 20800/44000 | Loss: 2.9792 | LR: 2.79e-04 | 954.5ms/step | 21.0 samples/s
482
+ Step 20900/44000 | Loss: 2.9685 | LR: 2.77e-04 | 931.9ms/step | 21.5 samples/s
483
+ Step 21000/44000 | Loss: 2.9522 | LR: 2.75e-04 | 929.5ms/step | 21.5 samples/s
484
+ Validation at step 21000: Loss = 2.9995, Perplexity = 20.08
485
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-21000
486
+ Step 21100/44000 | Loss: 2.9713 | LR: 2.73e-04 | 990.5ms/step | 20.2 samples/s
487
+ Step 21200/44000 | Loss: 2.9918 | LR: 2.71e-04 | 930.9ms/step | 21.5 samples/s
488
+ Validation at step 21250: Loss = 2.9983, Perplexity = 20.05
489
+ Step 21300/44000 | Loss: 2.9915 | LR: 2.70e-04 | 955.9ms/step | 20.9 samples/s
490
+ Step 21400/44000 | Loss: 2.9717 | LR: 2.68e-04 | 929.6ms/step | 21.5 samples/s
491
+ Step 21500/44000 | Loss: 2.9679 | LR: 2.66e-04 | 930.5ms/step | 21.5 samples/s
492
+ Validation at step 21500: Loss = 2.9954, Perplexity = 19.99
493
+ Step 21600/44000 | Loss: 2.9760 | LR: 2.64e-04 | 955.6ms/step | 20.9 samples/s
494
+ Step 21700/44000 | Loss: 2.9762 | LR: 2.62e-04 | 929.7ms/step | 21.5 samples/s
495
+ Validation at step 21750: Loss = 2.9928, Perplexity = 19.94
496
+ Step 21800/44000 | Loss: 2.9475 | LR: 2.60e-04 | 956.0ms/step | 20.9 samples/s
497
+ Step 21900/44000 | Loss: 2.9720 | LR: 2.59e-04 | 929.9ms/step | 21.5 samples/s
498
+ Step 22000/44000 | Loss: 2.9645 | LR: 2.57e-04 | 930.4ms/step | 21.5 samples/s
499
+ Validation at step 22000: Loss = 2.9912, Perplexity = 19.91
500
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-22000
501
+ Step 22100/44000 | Loss: 2.9659 | LR: 2.55e-04 | 990.3ms/step | 20.2 samples/s
502
+ Step 22200/44000 | Loss: 2.9616 | LR: 2.53e-04 | 930.8ms/step | 21.5 samples/s
503
+ Validation at step 22250: Loss = 2.9890, Perplexity = 19.86
504
+ Step 22300/44000 | Loss: 2.9549 | LR: 2.51e-04 | 956.1ms/step | 20.9 samples/s
505
+ Step 22400/44000 | Loss: 2.9759 | LR: 2.50e-04 | 930.8ms/step | 21.5 samples/s
506
+ Step 22500/44000 | Loss: 2.9560 | LR: 2.48e-04 | 930.7ms/step | 21.5 samples/s
507
+ Validation at step 22500: Loss = 2.9854, Perplexity = 19.79
508
+ Step 22600/44000 | Loss: 2.9483 | LR: 2.46e-04 | 958.5ms/step | 20.9 samples/s
509
+ Step 22700/44000 | Loss: 2.9690 | LR: 2.44e-04 | 934.6ms/step | 21.4 samples/s
510
+ Validation at step 22750: Loss = 2.9836, Perplexity = 19.76
511
+ Step 22800/44000 | Loss: 2.9792 | LR: 2.42e-04 | 962.5ms/step | 20.8 samples/s
512
+ Step 22900/44000 | Loss: 2.9624 | LR: 2.40e-04 | 937.6ms/step | 21.3 samples/s
513
+ Step 23000/44000 | Loss: 2.9584 | LR: 2.39e-04 | 938.8ms/step | 21.3 samples/s
514
+ Validation at step 23000: Loss = 2.9814, Perplexity = 19.71
515
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-23000
516
+ Step 23100/44000 | Loss: 2.9736 | LR: 2.37e-04 | 1007.3ms/step | 19.9 samples/s
517
+ Step 23200/44000 | Loss: 2.9554 | LR: 2.35e-04 | 939.0ms/step | 21.3 samples/s
518
+ Validation at step 23250: Loss = 2.9790, Perplexity = 19.67
519
+ Step 23300/44000 | Loss: 2.9626 | LR: 2.33e-04 | 965.3ms/step | 20.7 samples/s
520
+ Step 23400/44000 | Loss: 2.9702 | LR: 2.31e-04 | 938.7ms/step | 21.3 samples/s
521
+ Step 23500/44000 | Loss: 2.9323 | LR: 2.30e-04 | 939.3ms/step | 21.3 samples/s
522
+ Validation at step 23500: Loss = 2.9769, Perplexity = 19.63
523
+ Step 23600/44000 | Loss: 2.9337 | LR: 2.28e-04 | 965.1ms/step | 20.7 samples/s
524
+ Step 23700/44000 | Loss: 2.9606 | LR: 2.26e-04 | 938.9ms/step | 21.3 samples/s
525
+ Validation at step 23750: Loss = 2.9745, Perplexity = 19.58
526
+ Step 23800/44000 | Loss: 2.9647 | LR: 2.24e-04 | 966.8ms/step | 20.7 samples/s
527
+ Step 23900/44000 | Loss: 2.9400 | LR: 2.22e-04 | 939.3ms/step | 21.3 samples/s
528
+ Step 24000/44000 | Loss: 2.9229 | LR: 2.21e-04 | 939.3ms/step | 21.3 samples/s
529
+ Validation at step 24000: Loss = 2.9721, Perplexity = 19.53
530
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-24000
531
+ Step 24100/44000 | Loss: 2.9388 | LR: 2.19e-04 | 1005.6ms/step | 19.9 samples/s
532
+ Step 24200/44000 | Loss: 2.9428 | LR: 2.17e-04 | 938.8ms/step | 21.3 samples/s
533
+ Validation at step 24250: Loss = 2.9706, Perplexity = 19.50
534
+ Step 24300/44000 | Loss: 2.9537 | LR: 2.15e-04 | 965.4ms/step | 20.7 samples/s
535
+ Step 24400/44000 | Loss: 2.9368 | LR: 2.13e-04 | 938.6ms/step | 21.3 samples/s
536
+ Step 24500/44000 | Loss: 2.9330 | LR: 2.12e-04 | 938.8ms/step | 21.3 samples/s
537
+ Validation at step 24500: Loss = 2.9684, Perplexity = 19.46
538
+ Step 24600/44000 | Loss: 2.9344 | LR: 2.10e-04 | 964.5ms/step | 20.7 samples/s
539
+ Step 24700/44000 | Loss: 2.9430 | LR: 2.08e-04 | 940.1ms/step | 21.3 samples/s
540
+ Validation at step 24750: Loss = 2.9657, Perplexity = 19.41
541
+ Step 24800/44000 | Loss: 2.9493 | LR: 2.06e-04 | 966.1ms/step | 20.7 samples/s
542
+ Step 24900/44000 | Loss: 2.9297 | LR: 2.04e-04 | 939.6ms/step | 21.3 samples/s
543
+ Step 25000/44000 | Loss: 2.9206 | LR: 2.03e-04 | 939.3ms/step | 21.3 samples/s
544
+ Validation at step 25000: Loss = 2.9654, Perplexity = 19.40
545
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-25000
546
+ Step 25100/44000 | Loss: 2.9420 | LR: 2.01e-04 | 998.9ms/step | 20.0 samples/s
547
+ Step 25200/44000 | Loss: 2.9245 | LR: 1.99e-04 | 929.0ms/step | 21.5 samples/s
548
+ Validation at step 25250: Loss = 2.9637, Perplexity = 19.37
549
+ Step 25300/44000 | Loss: 2.9358 | LR: 1.97e-04 | 953.6ms/step | 21.0 samples/s
550
+ Step 25400/44000 | Loss: 2.9126 | LR: 1.96e-04 | 928.2ms/step | 21.5 samples/s
551
+ Step 25500/44000 | Loss: 2.9145 | LR: 1.94e-04 | 927.5ms/step | 21.6 samples/s
552
+ Validation at step 25500: Loss = 2.9619, Perplexity = 19.34
553
+ Step 25600/44000 | Loss: 2.9301 | LR: 1.92e-04 | 953.8ms/step | 21.0 samples/s
554
+ Step 25700/44000 | Loss: 2.9056 | LR: 1.90e-04 | 928.0ms/step | 21.6 samples/s
555
+ Validation at step 25750: Loss = 2.9600, Perplexity = 19.30
556
+ Step 25800/44000 | Loss: 2.9339 | LR: 1.88e-04 | 954.6ms/step | 21.0 samples/s
557
+ Step 25900/44000 | Loss: 2.9463 | LR: 1.87e-04 | 928.5ms/step | 21.5 samples/s
558
+ Step 26000/44000 | Loss: 2.9133 | LR: 1.85e-04 | 928.0ms/step | 21.6 samples/s
559
+ Validation at step 26000: Loss = 2.9588, Perplexity = 19.27
560
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-26000
561
+ Step 26100/44000 | Loss: 2.9317 | LR: 1.83e-04 | 987.0ms/step | 20.3 samples/s
562
+ Step 26200/44000 | Loss: 2.9323 | LR: 1.81e-04 | 928.3ms/step | 21.5 samples/s
563
+ Validation at step 26250: Loss = 2.9554, Perplexity = 19.21
564
+ Step 26300/44000 | Loss: 2.9441 | LR: 1.80e-04 | 953.3ms/step | 21.0 samples/s
565
+ Step 26400/44000 | Loss: 2.9238 | LR: 1.78e-04 | 928.0ms/step | 21.6 samples/s
566
+ Step 26500/44000 | Loss: 2.9263 | LR: 1.76e-04 | 928.2ms/step | 21.5 samples/s
567
+ Validation at step 26500: Loss = 2.9548, Perplexity = 19.20
568
+ Step 26600/44000 | Loss: 2.9408 | LR: 1.74e-04 | 954.0ms/step | 21.0 samples/s
569
+ Step 26700/44000 | Loss: 2.9442 | LR: 1.73e-04 | 928.0ms/step | 21.6 samples/s
570
+ Validation at step 26750: Loss = 2.9534, Perplexity = 19.17
571
+ Step 26800/44000 | Loss: 2.9483 | LR: 1.71e-04 | 953.4ms/step | 21.0 samples/s
572
+ Step 26900/44000 | Loss: 2.9202 | LR: 1.69e-04 | 927.4ms/step | 21.6 samples/s
573
+ Step 27000/44000 | Loss: 2.9278 | LR: 1.68e-04 | 927.9ms/step | 21.6 samples/s
574
+ Validation at step 27000: Loss = 2.9519, Perplexity = 19.14
575
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-27000
576
+ Step 27100/44000 | Loss: 2.9221 | LR: 1.66e-04 | 986.0ms/step | 20.3 samples/s
577
+ Step 27200/44000 | Loss: 2.9470 | LR: 1.64e-04 | 927.9ms/step | 21.6 samples/s
578
+ Validation at step 27250: Loss = 2.9502, Perplexity = 19.11
579
+ Step 27300/44000 | Loss: 2.9277 | LR: 1.62e-04 | 953.5ms/step | 21.0 samples/s
580
+ Step 27400/44000 | Loss: 2.9054 | LR: 1.61e-04 | 927.4ms/step | 21.6 samples/s
581
+ Step 27500/44000 | Loss: 2.9130 | LR: 1.59e-04 | 926.9ms/step | 21.6 samples/s
582
+ Validation at step 27500: Loss = 2.9495, Perplexity = 19.10
583
+ Step 27600/44000 | Loss: 2.9025 | LR: 1.57e-04 | 953.6ms/step | 21.0 samples/s
584
+ Step 27700/44000 | Loss: 2.9110 | LR: 1.56e-04 | 927.6ms/step | 21.6 samples/s
585
+ Validation at step 27750: Loss = 2.9485, Perplexity = 19.08
586
+ Step 27800/44000 | Loss: 2.9248 | LR: 1.54e-04 | 953.3ms/step | 21.0 samples/s
587
+ Step 27900/44000 | Loss: 2.9369 | LR: 1.52e-04 | 927.3ms/step | 21.6 samples/s
588
+ Step 28000/44000 | Loss: 2.9339 | LR: 1.51e-04 | 927.0ms/step | 21.6 samples/s
589
+ Validation at step 28000: Loss = 2.9465, Perplexity = 19.04
590
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-28000
591
+ Step 28100/44000 | Loss: 2.9117 | LR: 1.49e-04 | 984.7ms/step | 20.3 samples/s
592
+ Step 28200/44000 | Loss: 2.9146 | LR: 1.47e-04 | 926.7ms/step | 21.6 samples/s
593
+ Validation at step 28250: Loss = 2.9461, Perplexity = 19.03
594
+ Step 28300/44000 | Loss: 2.9231 | LR: 1.46e-04 | 953.3ms/step | 21.0 samples/s
595
+ Step 28400/44000 | Loss: 2.9446 | LR: 1.44e-04 | 926.9ms/step | 21.6 samples/s
596
+ Step 28500/44000 | Loss: 2.9260 | LR: 1.42e-04 | 927.0ms/step | 21.6 samples/s
597
+ Validation at step 28500: Loss = 2.9451, Perplexity = 19.01
598
+ Step 28600/44000 | Loss: 2.8893 | LR: 1.41e-04 | 953.3ms/step | 21.0 samples/s
599
+ Step 28700/44000 | Loss: 2.9010 | LR: 1.39e-04 | 927.3ms/step | 21.6 samples/s
600
+ Validation at step 28750: Loss = 2.9437, Perplexity = 18.99
601
+ Step 28800/44000 | Loss: 2.9225 | LR: 1.38e-04 | 952.8ms/step | 21.0 samples/s
602
+ Step 28900/44000 | Loss: 2.9357 | LR: 1.36e-04 | 926.6ms/step | 21.6 samples/s
603
+ Step 29000/44000 | Loss: 2.9387 | LR: 1.34e-04 | 926.9ms/step | 21.6 samples/s
604
+ Validation at step 29000: Loss = 2.9428, Perplexity = 18.97
605
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-29000
606
+ Step 29100/44000 | Loss: 2.9221 | LR: 1.33e-04 | 986.6ms/step | 20.3 samples/s
607
+ Step 29200/44000 | Loss: 2.9033 | LR: 1.31e-04 | 927.4ms/step | 21.6 samples/s
608
+ Validation at step 29250: Loss = 2.9419, Perplexity = 18.95
609
+ Step 29300/44000 | Loss: 2.9168 | LR: 1.29e-04 | 953.1ms/step | 21.0 samples/s
610
+ Step 29400/44000 | Loss: 2.9084 | LR: 1.28e-04 | 927.2ms/step | 21.6 samples/s
611
+ Step 29500/44000 | Loss: 2.8965 | LR: 1.26e-04 | 927.7ms/step | 21.6 samples/s
612
+ Validation at step 29500: Loss = 2.9404, Perplexity = 18.92
613
+ Step 29600/44000 | Loss: 2.9560 | LR: 1.25e-04 | 952.6ms/step | 21.0 samples/s
614
+ Step 29700/44000 | Loss: 2.9283 | LR: 1.23e-04 | 927.3ms/step | 21.6 samples/s
615
+ Validation at step 29750: Loss = 2.9399, Perplexity = 18.91
616
+ Step 29800/44000 | Loss: 2.9303 | LR: 1.22e-04 | 952.7ms/step | 21.0 samples/s
617
+ Step 29900/44000 | Loss: 2.8983 | LR: 1.20e-04 | 927.4ms/step | 21.6 samples/s
618
+ Step 30000/44000 | Loss: 2.9248 | LR: 1.19e-04 | 927.4ms/step | 21.6 samples/s
619
+ Validation at step 30000: Loss = 2.9388, Perplexity = 18.89
620
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-30000
621
+ Step 30100/44000 | Loss: 2.9132 | LR: 1.17e-04 | 985.6ms/step | 20.3 samples/s
622
+ Step 30200/44000 | Loss: 2.9095 | LR: 1.15e-04 | 928.1ms/step | 21.5 samples/s
623
+ Validation at step 30250: Loss = 2.9379, Perplexity = 18.88
624
+ Step 30300/44000 | Loss: 2.9104 | LR: 1.14e-04 | 953.1ms/step | 21.0 samples/s
625
+ Step 30400/44000 | Loss: 2.9166 | LR: 1.12e-04 | 927.7ms/step | 21.6 samples/s
626
+ Step 30500/44000 | Loss: 2.9077 | LR: 1.11e-04 | 928.1ms/step | 21.5 samples/s
627
+ Validation at step 30500: Loss = 2.9369, Perplexity = 18.86
628
+ Step 30600/44000 | Loss: 2.9338 | LR: 1.09e-04 | 953.8ms/step | 21.0 samples/s
629
+ Step 30700/44000 | Loss: 2.9095 | LR: 1.08e-04 | 927.7ms/step | 21.6 samples/s
630
+ Validation at step 30750: Loss = 2.9366, Perplexity = 18.85
631
+ Step 30800/44000 | Loss: 2.9205 | LR: 1.06e-04 | 953.1ms/step | 21.0 samples/s
632
+ Step 30900/44000 | Loss: 2.9083 | LR: 1.05e-04 | 928.2ms/step | 21.5 samples/s
633
+ Step 31000/44000 | Loss: 2.9010 | LR: 1.03e-04 | 927.9ms/step | 21.6 samples/s
634
+ Validation at step 31000: Loss = 2.9357, Perplexity = 18.83
635
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-31000
636
+ Step 31100/44000 | Loss: 2.9103 | LR: 1.02e-04 | 986.4ms/step | 20.3 samples/s
637
+ Step 31200/44000 | Loss: 2.9131 | LR: 1.00e-04 | 927.9ms/step | 21.6 samples/s
638
+ Validation at step 31250: Loss = 2.9348, Perplexity = 18.82
639
+ Step 31300/44000 | Loss: 2.8852 | LR: 9.90e-05 | 953.4ms/step | 21.0 samples/s
640
+ Step 31400/44000 | Loss: 2.9149 | LR: 9.76e-05 | 929.4ms/step | 21.5 samples/s
641
+ Step 31500/44000 | Loss: 2.9110 | LR: 9.62e-05 | 933.5ms/step | 21.4 samples/s
642
+ Validation at step 31500: Loss = 2.9344, Perplexity = 18.81
643
+ Step 31600/44000 | Loss: 2.8978 | LR: 9.47e-05 | 961.3ms/step | 20.8 samples/s
644
+ Step 31700/44000 | Loss: 2.9056 | LR: 9.33e-05 | 934.6ms/step | 21.4 samples/s
645
+ Validation at step 31750: Loss = 2.9343, Perplexity = 18.81
646
+ Step 31800/44000 | Loss: 2.8787 | LR: 9.19e-05 | 960.1ms/step | 20.8 samples/s
647
+ Step 31900/44000 | Loss: 2.9150 | LR: 9.05e-05 | 934.7ms/step | 21.4 samples/s
648
+ Step 32000/44000 | Loss: 2.9110 | LR: 8.91e-05 | 934.4ms/step | 21.4 samples/s
649
+ Validation at step 32000: Loss = 2.9333, Perplexity = 18.79
650
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-32000
651
+ Step 32100/44000 | Loss: 2.8934 | LR: 8.77e-05 | 993.7ms/step | 20.1 samples/s
652
+ Step 32200/44000 | Loss: 2.9078 | LR: 8.63e-05 | 933.4ms/step | 21.4 samples/s
653
+ Validation at step 32250: Loss = 2.9329, Perplexity = 18.78
654
+ Step 32300/44000 | Loss: 2.9061 | LR: 8.50e-05 | 959.4ms/step | 20.8 samples/s
655
+ Step 32400/44000 | Loss: 2.9198 | LR: 8.36e-05 | 932.7ms/step | 21.4 samples/s
656
+ Step 32500/44000 | Loss: 2.8909 | LR: 8.23e-05 | 935.5ms/step | 21.4 samples/s
657
+ Validation at step 32500: Loss = 2.9326, Perplexity = 18.78
658
+ Step 32600/44000 | Loss: 2.8991 | LR: 8.09e-05 | 962.6ms/step | 20.8 samples/s
659
+ Step 32700/44000 | Loss: 2.9095 | LR: 7.96e-05 | 935.1ms/step | 21.4 samples/s
660
+ Validation at step 32750: Loss = 2.9319, Perplexity = 18.76
661
+ Step 32800/44000 | Loss: 2.8881 | LR: 7.83e-05 | 962.2ms/step | 20.8 samples/s
662
+ Step 32900/44000 | Loss: 2.9073 | LR: 7.70e-05 | 935.4ms/step | 21.4 samples/s
663
+ Step 33000/44000 | Loss: 2.9061 | LR: 7.56e-05 | 934.8ms/step | 21.4 samples/s
664
+ Validation at step 33000: Loss = 2.9312, Perplexity = 18.75
665
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-33000
666
+ Step 33100/44000 | Loss: 2.9077 | LR: 7.44e-05 | 996.0ms/step | 20.1 samples/s
667
+ Step 33200/44000 | Loss: 2.9283 | LR: 7.31e-05 | 935.2ms/step | 21.4 samples/s
668
+ Validation at step 33250: Loss = 2.9312, Perplexity = 18.75
669
+ Step 33300/44000 | Loss: 2.9126 | LR: 7.18e-05 | 961.8ms/step | 20.8 samples/s
670
+ Step 33400/44000 | Loss: 2.9152 | LR: 7.05e-05 | 934.7ms/step | 21.4 samples/s
671
+ Step 33500/44000 | Loss: 2.9007 | LR: 6.93e-05 | 934.0ms/step | 21.4 samples/s
672
+ Validation at step 33500: Loss = 2.9311, Perplexity = 18.75
673
+ Step 33600/44000 | Loss: 2.8966 | LR: 6.80e-05 | 960.1ms/step | 20.8 samples/s
674
+ Step 33700/44000 | Loss: 2.9045 | LR: 6.68e-05 | 934.2ms/step | 21.4 samples/s
675
+ Validation at step 33750: Loss = 2.9306, Perplexity = 18.74
676
+ Step 33800/44000 | Loss: 2.8911 | LR: 6.55e-05 | 960.3ms/step | 20.8 samples/s
677
+ Step 33900/44000 | Loss: 2.8846 | LR: 6.43e-05 | 934.7ms/step | 21.4 samples/s
678
+ Step 34000/44000 | Loss: 2.9252 | LR: 6.31e-05 | 934.4ms/step | 21.4 samples/s
679
+ Validation at step 34000: Loss = 2.9301, Perplexity = 18.73
680
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-34000
681
+ Step 34100/44000 | Loss: 2.9045 | LR: 6.19e-05 | 996.9ms/step | 20.1 samples/s
682
+ Step 34200/44000 | Loss: 2.9095 | LR: 6.07e-05 | 935.1ms/step | 21.4 samples/s
683
+ Validation at step 34250: Loss = 2.9299, Perplexity = 18.73
684
+ Step 34300/44000 | Loss: 2.9153 | LR: 5.95e-05 | 961.3ms/step | 20.8 samples/s
685
+ Step 34400/44000 | Loss: 2.8917 | LR: 5.84e-05 | 935.2ms/step | 21.4 samples/s
686
+ Step 34500/44000 | Loss: 2.9055 | LR: 5.72e-05 | 933.5ms/step | 21.4 samples/s
687
+ Validation at step 34500: Loss = 2.9296, Perplexity = 18.72
688
+ Step 34600/44000 | Loss: 2.9269 | LR: 5.60e-05 | 959.8ms/step | 20.8 samples/s
689
+ Step 34700/44000 | Loss: 2.8946 | LR: 5.49e-05 | 934.3ms/step | 21.4 samples/s
690
+ Validation at step 34750: Loss = 2.9293, Perplexity = 18.71
691
+ Step 34800/44000 | Loss: 2.9152 | LR: 5.38e-05 | 961.0ms/step | 20.8 samples/s
692
+ Step 34900/44000 | Loss: 2.9092 | LR: 5.27e-05 | 934.0ms/step | 21.4 samples/s
693
+ Step 35000/44000 | Loss: 2.8999 | LR: 5.15e-05 | 934.4ms/step | 21.4 samples/s
694
+ Validation at step 35000: Loss = 2.9289, Perplexity = 18.71
695
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-35000
696
+ Step 35100/44000 | Loss: 2.9048 | LR: 5.04e-05 | 995.0ms/step | 20.1 samples/s
697
+ Step 35200/44000 | Loss: 2.9160 | LR: 4.94e-05 | 934.1ms/step | 21.4 samples/s
698
+ Validation at step 35250: Loss = 2.9287, Perplexity = 18.70
699
+ Step 35300/44000 | Loss: 2.9055 | LR: 4.83e-05 | 961.2ms/step | 20.8 samples/s
700
+ Step 35400/44000 | Loss: 2.8832 | LR: 4.72e-05 | 934.0ms/step | 21.4 samples/s
701
+ Step 35500/44000 | Loss: 2.9128 | LR: 4.62e-05 | 934.6ms/step | 21.4 samples/s
702
+ Validation at step 35500: Loss = 2.9284, Perplexity = 18.70
703
+ Step 35600/44000 | Loss: 2.9118 | LR: 4.51e-05 | 961.4ms/step | 20.8 samples/s
704
+ Step 35700/44000 | Loss: 2.8983 | LR: 4.41e-05 | 934.8ms/step | 21.4 samples/s
705
+ Validation at step 35750: Loss = 2.9283, Perplexity = 18.70
706
+ Step 35800/44000 | Loss: 2.8964 | LR: 4.31e-05 | 960.3ms/step | 20.8 samples/s
707
+ Step 35900/44000 | Loss: 2.9130 | LR: 4.20e-05 | 934.2ms/step | 21.4 samples/s
708
+ Step 36000/44000 | Loss: 2.8960 | LR: 4.10e-05 | 933.4ms/step | 21.4 samples/s
709
+ Validation at step 36000: Loss = 2.9282, Perplexity = 18.69
710
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-36000
711
+ Step 36100/44000 | Loss: 2.8903 | LR: 4.00e-05 | 997.2ms/step | 20.1 samples/s
712
+ Step 36200/44000 | Loss: 2.9142 | LR: 3.91e-05 | 934.8ms/step | 21.4 samples/s
713
+ Validation at step 36250: Loss = 2.9281, Perplexity = 18.69
714
+ Step 36300/44000 | Loss: 2.8819 | LR: 3.81e-05 | 960.3ms/step | 20.8 samples/s
715
+ Step 36400/44000 | Loss: 2.8859 | LR: 3.71e-05 | 934.2ms/step | 21.4 samples/s
716
+ Step 36500/44000 | Loss: 2.9107 | LR: 3.62e-05 | 934.0ms/step | 21.4 samples/s
717
+ Validation at step 36500: Loss = 2.9278, Perplexity = 18.69
718
+ Step 36600/44000 | Loss: 2.9050 | LR: 3.53e-05 | 960.0ms/step | 20.8 samples/s
719
+ Step 36700/44000 | Loss: 2.8765 | LR: 3.43e-05 | 934.7ms/step | 21.4 samples/s
720
+ Validation at step 36750: Loss = 2.9277, Perplexity = 18.68
721
+ Step 36800/44000 | Loss: 2.8936 | LR: 3.34e-05 | 960.7ms/step | 20.8 samples/s
722
+ Step 36900/44000 | Loss: 2.9041 | LR: 3.25e-05 | 934.3ms/step | 21.4 samples/s
723
+ Step 37000/44000 | Loss: 2.8850 | LR: 3.16e-05 | 935.0ms/step | 21.4 samples/s
724
+ Validation at step 37000: Loss = 2.9276, Perplexity = 18.68
725
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-37000
726
+ Step 37100/44000 | Loss: 2.9044 | LR: 3.07e-05 | 996.0ms/step | 20.1 samples/s
727
+ Step 37200/44000 | Loss: 2.9091 | LR: 2.99e-05 | 934.9ms/step | 21.4 samples/s
728
+ Validation at step 37250: Loss = 2.9275, Perplexity = 18.68
729
+ Step 37300/44000 | Loss: 2.9077 | LR: 2.90e-05 | 961.3ms/step | 20.8 samples/s
730
+ Step 37400/44000 | Loss: 2.9120 | LR: 2.82e-05 | 935.0ms/step | 21.4 samples/s
731
+ Step 37500/44000 | Loss: 2.8890 | LR: 2.74e-05 | 935.7ms/step | 21.4 samples/s
732
+ Validation at step 37500: Loss = 2.9275, Perplexity = 18.68
733
+ Step 37600/44000 | Loss: 2.8934 | LR: 2.65e-05 | 962.4ms/step | 20.8 samples/s
734
+ Step 37700/44000 | Loss: 2.9062 | LR: 2.57e-05 | 935.1ms/step | 21.4 samples/s
735
+ Validation at step 37750: Loss = 2.9274, Perplexity = 18.68
736
+ Step 37800/44000 | Loss: 2.8865 | LR: 2.49e-05 | 962.6ms/step | 20.8 samples/s
737
+ Step 37900/44000 | Loss: 2.8871 | LR: 2.41e-05 | 937.1ms/step | 21.3 samples/s
738
+ Step 38000/44000 | Loss: 2.8747 | LR: 2.34e-05 | 936.5ms/step | 21.4 samples/s
739
+ Validation at step 38000: Loss = 2.9274, Perplexity = 18.68
740
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-38000
741
+ Step 38100/44000 | Loss: 2.8928 | LR: 2.26e-05 | 997.2ms/step | 20.1 samples/s
742
+ Step 38200/44000 | Loss: 2.8930 | LR: 2.19e-05 | 936.4ms/step | 21.4 samples/s
743
+ Validation at step 38250: Loss = 2.9274, Perplexity = 18.68
744
+ Step 38300/44000 | Loss: 2.9097 | LR: 2.11e-05 | 964.0ms/step | 20.7 samples/s
745
+ Step 38400/44000 | Loss: 2.9045 | LR: 2.04e-05 | 937.2ms/step | 21.3 samples/s
746
+ Step 38500/44000 | Loss: 2.9008 | LR: 1.97e-05 | 937.1ms/step | 21.3 samples/s
747
+ Validation at step 38500: Loss = 2.9273, Perplexity = 18.68
748
+ Step 38600/44000 | Loss: 2.8909 | LR: 1.90e-05 | 962.9ms/step | 20.8 samples/s
749
+ Step 38700/44000 | Loss: 2.8889 | LR: 1.83e-05 | 936.6ms/step | 21.4 samples/s
750
+ Validation at step 38750: Loss = 2.9272, Perplexity = 18.68
751
+ Step 38800/44000 | Loss: 2.9015 | LR: 1.76e-05 | 962.5ms/step | 20.8 samples/s
752
+ Step 38900/44000 | Loss: 2.8924 | LR: 1.70e-05 | 934.3ms/step | 21.4 samples/s
753
+ Step 39000/44000 | Loss: 2.9024 | LR: 1.63e-05 | 934.4ms/step | 21.4 samples/s
754
+ Validation at step 39000: Loss = 2.9272, Perplexity = 18.67
755
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-39000
756
+ Step 39100/44000 | Loss: 2.9018 | LR: 1.57e-05 | 995.5ms/step | 20.1 samples/s
757
+ Step 39200/44000 | Loss: 2.8936 | LR: 1.50e-05 | 935.1ms/step | 21.4 samples/s
758
+ Validation at step 39250: Loss = 2.9271, Perplexity = 18.67
759
+ Step 39300/44000 | Loss: 2.8826 | LR: 1.44e-05 | 961.5ms/step | 20.8 samples/s
760
+ Step 39400/44000 | Loss: 2.9100 | LR: 1.38e-05 | 934.6ms/step | 21.4 samples/s
761
+ Step 39500/44000 | Loss: 2.8862 | LR: 1.32e-05 | 935.4ms/step | 21.4 samples/s
762
+ Validation at step 39500: Loss = 2.9271, Perplexity = 18.67
763
+ Step 39600/44000 | Loss: 2.9115 | LR: 1.27e-05 | 963.8ms/step | 20.8 samples/s
764
+ Step 39700/44000 | Loss: 2.9172 | LR: 1.21e-05 | 937.7ms/step | 21.3 samples/s
765
+ Validation at step 39750: Loss = 2.9271, Perplexity = 18.67
766
+ Step 39800/44000 | Loss: 2.8882 | LR: 1.15e-05 | 963.2ms/step | 20.8 samples/s
767
+ Step 39900/44000 | Loss: 2.9041 | LR: 1.10e-05 | 936.6ms/step | 21.4 samples/s
768
+ Step 40000/44000 | Loss: 2.8748 | LR: 1.05e-05 | 936.6ms/step | 21.4 samples/s
769
+ Validation at step 40000: Loss = 2.9271, Perplexity = 18.67
770
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-40000
771
+ Step 40100/44000 | Loss: 2.8959 | LR: 9.96e-06 | 994.6ms/step | 20.1 samples/s
772
+ Step 40200/44000 | Loss: 2.9089 | LR: 9.46e-06 | 935.4ms/step | 21.4 samples/s
773
+ Validation at step 40250: Loss = 2.9271, Perplexity = 18.67
774
+ Step 40300/44000 | Loss: 2.9043 | LR: 8.97e-06 | 960.9ms/step | 20.8 samples/s
775
+ Step 40400/44000 | Loss: 2.9075 | LR: 8.50e-06 | 934.0ms/step | 21.4 samples/s
776
+ Step 40500/44000 | Loss: 2.8956 | LR: 8.04e-06 | 933.8ms/step | 21.4 samples/s
777
+ Validation at step 40500: Loss = 2.9270, Perplexity = 18.67
778
+ Step 40600/44000 | Loss: 2.8959 | LR: 7.59e-06 | 959.7ms/step | 20.8 samples/s
779
+ Step 40700/44000 | Loss: 2.9027 | LR: 7.15e-06 | 934.0ms/step | 21.4 samples/s
780
+ Validation at step 40750: Loss = 2.9270, Perplexity = 18.67
781
+ Step 40800/44000 | Loss: 2.9031 | LR: 6.72e-06 | 960.4ms/step | 20.8 samples/s
782
+ Step 40900/44000 | Loss: 2.8824 | LR: 6.31e-06 | 935.1ms/step | 21.4 samples/s
783
+ Step 41000/44000 | Loss: 2.8955 | LR: 5.91e-06 | 934.6ms/step | 21.4 samples/s
784
+ Validation at step 41000: Loss = 2.9270, Perplexity = 18.67
785
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-41000
786
+ Step 41100/44000 | Loss: 2.9007 | LR: 5.53e-06 | 994.3ms/step | 20.1 samples/s
787
+ Step 41200/44000 | Loss: 2.9193 | LR: 5.15e-06 | 934.5ms/step | 21.4 samples/s
788
+ Validation at step 41250: Loss = 2.9270, Perplexity = 18.67
789
+ Step 41300/44000 | Loss: 2.8862 | LR: 4.79e-06 | 962.8ms/step | 20.8 samples/s
790
+ Step 41400/44000 | Loss: 2.9035 | LR: 4.45e-06 | 934.8ms/step | 21.4 samples/s
791
+ Step 41500/44000 | Loss: 2.8926 | LR: 4.11e-06 | 934.1ms/step | 21.4 samples/s
792
+ Validation at step 41500: Loss = 2.9270, Perplexity = 18.67
793
+ Step 41600/44000 | Loss: 2.8982 | LR: 3.79e-06 | 960.0ms/step | 20.8 samples/s
794
+ Step 41700/44000 | Loss: 2.9078 | LR: 3.48e-06 | 934.3ms/step | 21.4 samples/s
795
+ Validation at step 41750: Loss = 2.9270, Perplexity = 18.67
796
+ Step 41800/44000 | Loss: 2.8827 | LR: 3.19e-06 | 960.5ms/step | 20.8 samples/s
797
+ Step 41900/44000 | Loss: 2.8953 | LR: 2.90e-06 | 934.0ms/step | 21.4 samples/s
798
+ Step 42000/44000 | Loss: 2.8826 | LR: 2.63e-06 | 934.8ms/step | 21.4 samples/s
799
+ Validation at step 42000: Loss = 2.9270, Perplexity = 18.67
800
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-42000
801
+ Step 42100/44000 | Loss: 2.8993 | LR: 2.38e-06 | 995.5ms/step | 20.1 samples/s
802
+ Step 42200/44000 | Loss: 2.9043 | LR: 2.13e-06 | 934.6ms/step | 21.4 samples/s
803
+ Validation at step 42250: Loss = 2.9270, Perplexity = 18.67
804
+ Step 42300/44000 | Loss: 2.8867 | LR: 1.90e-06 | 962.0ms/step | 20.8 samples/s
805
+ Step 42400/44000 | Loss: 2.8991 | LR: 1.69e-06 | 935.4ms/step | 21.4 samples/s
806
+ Step 42500/44000 | Loss: 2.8846 | LR: 1.48e-06 | 935.9ms/step | 21.4 samples/s
807
+ Validation at step 42500: Loss = 2.9270, Perplexity = 18.67
808
+ Step 42600/44000 | Loss: 2.8859 | LR: 1.29e-06 | 962.0ms/step | 20.8 samples/s
809
+ Step 42700/44000 | Loss: 2.9037 | LR: 1.11e-06 | 936.5ms/step | 21.4 samples/s
810
+ Validation at step 42750: Loss = 2.9270, Perplexity = 18.67
811
+ Step 42800/44000 | Loss: 2.9030 | LR: 9.49e-07 | 962.6ms/step | 20.8 samples/s
812
+ Step 42900/44000 | Loss: 2.9108 | LR: 7.98e-07 | 936.8ms/step | 21.3 samples/s
813
+ Step 43000/44000 | Loss: 2.8970 | LR: 6.59e-07 | 936.7ms/step | 21.4 samples/s
814
+ Validation at step 43000: Loss = 2.9270, Perplexity = 18.67
815
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-43000
816
+ Step 43100/44000 | Loss: 2.9240 | LR: 5.34e-07 | 996.8ms/step | 20.1 samples/s
817
+ Step 43200/44000 | Loss: 2.9003 | LR: 4.22e-07 | 936.8ms/step | 21.4 samples/s
818
+ Validation at step 43250: Loss = 2.9270, Perplexity = 18.67
819
+ Step 43300/44000 | Loss: 2.9115 | LR: 3.23e-07 | 962.3ms/step | 20.8 samples/s
820
+ Step 43400/44000 | Loss: 2.8716 | LR: 2.37e-07 | 935.6ms/step | 21.4 samples/s
821
+ Step 43500/44000 | Loss: 2.9060 | LR: 1.65e-07 | 936.7ms/step | 21.4 samples/s
822
+ Validation at step 43500: Loss = 2.9270, Perplexity = 18.67
823
+ Step 43600/44000 | Loss: 2.9181 | LR: 1.06e-07 | 961.9ms/step | 20.8 samples/s
824
+ Step 43700/44000 | Loss: 2.9149 | LR: 5.94e-08 | 935.6ms/step | 21.4 samples/s
825
+ Validation at step 43750: Loss = 2.9270, Perplexity = 18.67
826
+ Step 43800/44000 | Loss: 2.9105 | LR: 2.64e-08 | 961.9ms/step | 20.8 samples/s
827
+ Step 43900/44000 | Loss: 2.8927 | LR: 6.60e-09 | 936.3ms/step | 21.4 samples/s
828
+ Step 44000/44000 | Loss: 2.9010 | LR: 0.00e+00 | 936.5ms/step | 21.4 samples/s
829
+ Validation at step 44000: Loss = 2.9270, Perplexity = 18.67
830
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-44000
831
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-44000
832
+ wandb:
833
+ wandb: Run history:
834
+ wandb: eval/dense_interval_active ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
835
+ wandb: eval/dense_interval_end ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
836
+ wandb: eval/dense_interval_start ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
837
+ wandb: eval/loss █▆▅▄▄▃▃▃▃▃▃▃▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
838
+ wandb: eval/perplexity █▆▆▄▄▃▃▃▃▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
839
+ wandb: eval/uses_dense_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
840
+ wandb: eval/uses_sparse_attention ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
841
+ wandb: speed/ms_per_step ▁▄▁▄▁▁▁▁▄▁▄▁▄▅▂▆▂▄▁▄▄▁▁▄█▂▂▂▂▂▅▂▅▂▅▅▂▅▂▂
842
+ wandb: speed/samples_per_sec ██▂▂██▃▃█▆▆▃▅█▂▅█▂▅████▇▁▆█▆█▆▂▅▇▇▅▅▇▇▂▇
843
+ wandb: speed/steps_per_sec ██▅█████████▇▁▇▂▆████████▆▆▇▅▅▇▇▇▇▇▂▇▇▇▇
844
+ wandb: +4 ...
845
+ wandb:
846
+ wandb: Run summary:
847
+ wandb: eval/dense_interval_active 0
848
+ wandb: eval/dense_interval_end -1
849
+ wandb: eval/dense_interval_start -1
850
+ wandb: eval/loss 2.927
851
+ wandb: eval/perplexity 18.67158
852
+ wandb: eval/uses_dense_attention 0
853
+ wandb: eval/uses_sparse_attention 1
854
+ wandb: speed/ms_per_step 936.49953
855
+ wandb: speed/samples_per_sec 21.35612
856
+ wandb: speed/steps_per_sec 1.06781
857
+ wandb: +4 ...
858
+ wandb:
859
+ wandb: You can sync this run to the cloud by running:
860
+ wandb: wandb sync /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_164533-kbn66izc
861
+ wandb: Find logs at: ./wandb/offline-run-20260921_164533-kbn66izc/logs
862
+ Training complete!
epfl_final/logs/ALIBI_20260921/restart_20260921_131155/seed47.log ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_131213
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_131213",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": true,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 47,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s47",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed47"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_131249-xc6c08ps
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6289 | LR: 6.67e-05 | 1615.0ms/step | 12.4 samples/s
177
+ Step 200/44000 | Loss: 7.3292 | LR: 1.33e-04 | 1475.3ms/step | 13.6 samples/s
178
+ Validation at step 250: Loss = 6.3164, Perplexity = 553.56
179
+ Step 300/44000 | Loss: 6.3471 | LR: 2.00e-04 | 1767.5ms/step | 11.3 samples/s
180
+ Step 400/44000 | Loss: 5.8670 | LR: 2.67e-04 | 1484.2ms/step | 13.5 samples/s
181
+ Step 500/44000 | Loss: 5.4703 | LR: 3.33e-04 | 1484.6ms/step | 13.5 samples/s
182
+ Validation at step 500: Loss = 5.2970, Perplexity = 199.74
183
+ Step 600/44000 | Loss: 5.1419 | LR: 4.00e-04 | 1722.4ms/step | 11.6 samples/s
184
+ Step 700/44000 | Loss: 4.8627 | LR: 4.67e-04 | 1484.0ms/step | 13.5 samples/s
185
+ Validation at step 750: Loss = 4.6010, Perplexity = 99.58
186
+ Step 800/44000 | Loss: 4.5920 | LR: 5.00e-04 | 1722.0ms/step | 11.6 samples/s
187
+ Step 900/44000 | Loss: 4.3801 | LR: 5.00e-04 | 1484.8ms/step | 13.5 samples/s
epfl_final/logs/ALIBI_20260921/restart_20260921_131155/seed47.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 358
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed42.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 8192,
11
+ "num_workers": 8,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": 44000,
17
+ "per_device_batch_size": 2,
18
+ "gradient_accumulation_steps": 10,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 1000,
25
+ "eval_steps": 250,
26
+ "eval_batches": 50,
27
+ "logging_steps": 100,
28
+ "seed": 42,
29
+ "verbose": true,
30
+ "checkpoint_activations": false,
31
+ "resume_micro_step_override": null,
32
+ "strategy": "ddp",
33
+ "mixed_precision": "bf16",
34
+ "wandb_enabled": true,
35
+ "wandb_project": "stochastic_sparsity",
36
+ "wandb_name": "365m alibi 8k s42",
37
+ "wandb_tags": [
38
+ "qwen3",
39
+ "365m",
40
+ "8k",
41
+ "scaleladder",
42
+ "alibi",
43
+ "seed42"
44
+ ],
45
+ "hidden_size": 768,
46
+ "intermediate_size": 3072,
47
+ "num_attention_heads": 6,
48
+ "num_key_value_heads": 2,
49
+ "num_hidden_layers": 28,
50
+ "head_dim": null,
51
+ "attention_dropout": null,
52
+ "rope_train_position_scale_set": null,
53
+ "positional": "alibi",
54
+ "attention_type": "dense",
55
+ "sparse_block_size": 128,
56
+ "sparse_num_random_blocks": 31,
57
+ "sparse_mask_pool_size": 1,
58
+ "sparse_val_dense_compare": false,
59
+ "sparse_layer_indices": null,
60
+ "sparse_mask_cache_dir": null,
61
+ "sparse_mask_seed": 0,
62
+ "sparse_mixed_nrb_set": null,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000
68
+ Checkpoint activations: False
69
+
70
+
71
+ ================================================================================
72
+ MODEL ARCHITECTURE
73
+ ================================================================================
74
+ Model config:
75
+ vocab_size: 151936
76
+ hidden_size: 768
77
+ num_hidden_layers: 28
78
+ num_attention_heads: 6
79
+ num_key_value_heads: 2
80
+ head_dim: 128
81
+ intermediate_size: 3072
82
+ max_position_embeddings: 32768
83
+ rope_theta: 1000000
84
+ rope_train_position_scale_set: None
85
+ attention_type: dense
86
+
87
+ Parameter count:
88
+ Total parameters: 358,958,848
89
+ Trainable parameters: 358,958,848
90
+ Non-trainable parameters: 0
91
+ Model size (BF16): 0.72 GB
92
+
93
+ --------------------------------------------------------------------------------
94
+ LAYER-BY-LAYER SUMMARY
95
+ --------------------------------------------------------------------------------
96
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
97
+
98
+ SOLUTION: Use torch.compile(flex_attention)(...)
99
+
100
+ If you want to debug your score_mod/mask_mod, you can set:
101
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
102
+
103
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
104
+ _warn_once(
105
+ =================================================================================================================================================
106
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
107
+ =================================================================================================================================================
108
+ Qwen3ForCausalLM [2, 8192] -- -- True
109
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
110
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
111
+ │ └─ModuleList: 2-2 -- -- -- True
112
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
140
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
141
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
142
+ =================================================================================================================================================
143
+ Total params: 475,645,696
144
+ Trainable params: 475,645,696
145
+ Non-trainable params: 0
146
+ Total mult-adds (Units.MEGABYTES): 951.29
147
+ =================================================================================================================================================
148
+ Input size (MB): 0.13
149
+ Forward/backward pass size (MB): 31197.23
150
+ Params size (MB): 951.29
151
+ Estimated Total Size (MB): 32148.66
152
+ =================================================================================================================================================
153
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
154
+ ================================================================================
155
+
156
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Using pre-tokenized dataset (no runtime tokenization)
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Dataset split: 3027764 train, 159356 validation
161
+ Training examples (packed, train split): 3027764
162
+ Validation examples (packed, val split): 159356
163
+ Per-device batch size: 2
164
+ World size (GPUs): 1
165
+ Gradient accumulation steps: 10
166
+ Effective batch size (seqs/step): 20
167
+ Sequence length: 8192
168
+ Tokens per optimizer step: 163,840
169
+ Micro-batches per epoch (per rank): 1513882
170
+ Optimizer steps per epoch: 151388
171
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
172
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000...
173
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
174
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
175
+ Resuming training from step 2000
176
+ Resuming wandb run nihe6o4e
177
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id nihe6o4e.
178
+ wandb: Tracking run with wandb version 0.26.1
179
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
180
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_154845-nihe6o4e
181
+ Starting training...
182
+ Validation at step 2000: Loss = 3.6610, Perplexity = 38.90
183
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
184
+ Step 2100/44000 | Loss: 3.6362 | LR: 4.99e-04 | 2815.9ms/step | 7.1 samples/s
185
+ Step 2200/44000 | Loss: 3.6120 | LR: 4.99e-04 | 1469.7ms/step | 13.6 samples/s
186
+ Validation at step 2250: Loss = 3.6071, Perplexity = 36.86
187
+ Step 2300/44000 | Loss: 3.5862 | LR: 4.98e-04 | 1706.8ms/step | 11.7 samples/s
188
+ Step 2400/44000 | Loss: 3.5683 | LR: 4.98e-04 | 1469.8ms/step | 13.6 samples/s
189
+ Step 2500/44000 | Loss: 3.5451 | LR: 4.98e-04 | 1470.3ms/step | 13.6 samples/s
190
+ Validation at step 2500: Loss = 3.5592, Perplexity = 35.14
191
+ Step 2600/44000 | Loss: 3.5446 | LR: 4.98e-04 | 1707.9ms/step | 11.7 samples/s
192
+ Step 2700/44000 | Loss: 3.5179 | LR: 4.97e-04 | 1470.1ms/step | 13.6 samples/s
193
+ Validation at step 2750: Loss = 3.5190, Perplexity = 33.75
194
+ Step 2800/44000 | Loss: 3.5063 | LR: 4.97e-04 | 1710.3ms/step | 11.7 samples/s
195
+ Step 2900/44000 | Loss: 3.5002 | LR: 4.97e-04 | 1474.0ms/step | 13.6 samples/s
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed42.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 174
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed43.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 8192,
11
+ "num_workers": 8,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": 44000,
17
+ "per_device_batch_size": 2,
18
+ "gradient_accumulation_steps": 10,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 1000,
25
+ "eval_steps": 250,
26
+ "eval_batches": 50,
27
+ "logging_steps": 100,
28
+ "seed": 43,
29
+ "verbose": true,
30
+ "checkpoint_activations": false,
31
+ "resume_micro_step_override": null,
32
+ "strategy": "ddp",
33
+ "mixed_precision": "bf16",
34
+ "wandb_enabled": true,
35
+ "wandb_project": "stochastic_sparsity",
36
+ "wandb_name": "365m alibi 8k s43",
37
+ "wandb_tags": [
38
+ "qwen3",
39
+ "365m",
40
+ "8k",
41
+ "scaleladder",
42
+ "alibi",
43
+ "seed43"
44
+ ],
45
+ "hidden_size": 768,
46
+ "intermediate_size": 3072,
47
+ "num_attention_heads": 6,
48
+ "num_key_value_heads": 2,
49
+ "num_hidden_layers": 28,
50
+ "head_dim": null,
51
+ "attention_dropout": null,
52
+ "rope_train_position_scale_set": null,
53
+ "positional": "alibi",
54
+ "attention_type": "dense",
55
+ "sparse_block_size": 128,
56
+ "sparse_num_random_blocks": 31,
57
+ "sparse_mask_pool_size": 1,
58
+ "sparse_val_dense_compare": false,
59
+ "sparse_layer_indices": null,
60
+ "sparse_mask_cache_dir": null,
61
+ "sparse_mask_seed": 0,
62
+ "sparse_mixed_nrb_set": null,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000
68
+ Checkpoint activations: False
69
+
70
+
71
+ ================================================================================
72
+ MODEL ARCHITECTURE
73
+ ================================================================================
74
+ Model config:
75
+ vocab_size: 151936
76
+ hidden_size: 768
77
+ num_hidden_layers: 28
78
+ num_attention_heads: 6
79
+ num_key_value_heads: 2
80
+ head_dim: 128
81
+ intermediate_size: 3072
82
+ max_position_embeddings: 32768
83
+ rope_theta: 1000000
84
+ rope_train_position_scale_set: None
85
+ attention_type: dense
86
+
87
+ Parameter count:
88
+ Total parameters: 358,958,848
89
+ Trainable parameters: 358,958,848
90
+ Non-trainable parameters: 0
91
+ Model size (BF16): 0.72 GB
92
+
93
+ --------------------------------------------------------------------------------
94
+ LAYER-BY-LAYER SUMMARY
95
+ --------------------------------------------------------------------------------
96
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
97
+
98
+ SOLUTION: Use torch.compile(flex_attention)(...)
99
+
100
+ If you want to debug your score_mod/mask_mod, you can set:
101
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
102
+
103
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
104
+ _warn_once(
105
+ =================================================================================================================================================
106
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
107
+ =================================================================================================================================================
108
+ Qwen3ForCausalLM [2, 8192] -- -- True
109
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
110
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
111
+ │ └─ModuleList: 2-2 -- -- -- True
112
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
140
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
141
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
142
+ =================================================================================================================================================
143
+ Total params: 475,645,696
144
+ Trainable params: 475,645,696
145
+ Non-trainable params: 0
146
+ Total mult-adds (Units.MEGABYTES): 951.29
147
+ =================================================================================================================================================
148
+ Input size (MB): 0.13
149
+ Forward/backward pass size (MB): 31197.23
150
+ Params size (MB): 951.29
151
+ Estimated Total Size (MB): 32148.66
152
+ =================================================================================================================================================
153
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
154
+ ================================================================================
155
+
156
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Using pre-tokenized dataset (no runtime tokenization)
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Dataset split: 3027764 train, 159356 validation
161
+ Training examples (packed, train split): 3027764
162
+ Validation examples (packed, val split): 159356
163
+ Per-device batch size: 2
164
+ World size (GPUs): 1
165
+ Gradient accumulation steps: 10
166
+ Effective batch size (seqs/step): 20
167
+ Sequence length: 8192
168
+ Tokens per optimizer step: 163,840
169
+ Micro-batches per epoch (per rank): 1513882
170
+ Optimizer steps per epoch: 151388
171
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
172
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000...
173
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
174
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
175
+ Resuming training from step 2000
176
+ Resuming wandb run zgrsvkbi
177
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id zgrsvkbi.
178
+ wandb: Tracking run with wandb version 0.26.1
179
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
180
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_154845-zgrsvkbi
181
+ Starting training...
182
+ Validation at step 2000: Loss = 3.6382, Perplexity = 38.02
183
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
184
+ Step 2100/44000 | Loss: 3.6414 | LR: 4.99e-04 | 2865.2ms/step | 7.0 samples/s
185
+ Step 2200/44000 | Loss: 3.6026 | LR: 4.99e-04 | 1519.4ms/step | 13.2 samples/s
186
+ Validation at step 2250: Loss = 3.5841, Perplexity = 36.02
187
+ Step 2300/44000 | Loss: 3.5932 | LR: 4.98e-04 | 1765.3ms/step | 11.3 samples/s
188
+ Step 2400/44000 | Loss: 3.5771 | LR: 4.98e-04 | 1522.5ms/step | 13.1 samples/s
189
+ Step 2500/44000 | Loss: 3.5544 | LR: 4.98e-04 | 1522.9ms/step | 13.1 samples/s
190
+ Validation at step 2500: Loss = 3.5366, Perplexity = 34.35
191
+ Step 2600/44000 | Loss: 3.5414 | LR: 4.98e-04 | 1766.7ms/step | 11.3 samples/s
192
+ Step 2700/44000 | Loss: 3.5250 | LR: 4.97e-04 | 1520.7ms/step | 13.2 samples/s
193
+ Validation at step 2750: Loss = 3.4984, Perplexity = 33.06
194
+ Step 2800/44000 | Loss: 3.5066 | LR: 4.97e-04 | 1765.7ms/step | 11.3 samples/s
195
+ Step 2900/44000 | Loss: 3.4950 | LR: 4.97e-04 | 1523.7ms/step | 13.1 samples/s
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed43.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 179
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed44.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 8192,
11
+ "num_workers": 8,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": 44000,
17
+ "per_device_batch_size": 2,
18
+ "gradient_accumulation_steps": 10,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 1000,
25
+ "eval_steps": 250,
26
+ "eval_batches": 50,
27
+ "logging_steps": 100,
28
+ "seed": 44,
29
+ "verbose": true,
30
+ "checkpoint_activations": false,
31
+ "resume_micro_step_override": null,
32
+ "strategy": "ddp",
33
+ "mixed_precision": "bf16",
34
+ "wandb_enabled": true,
35
+ "wandb_project": "stochastic_sparsity",
36
+ "wandb_name": "365m alibi 8k s44",
37
+ "wandb_tags": [
38
+ "qwen3",
39
+ "365m",
40
+ "8k",
41
+ "scaleladder",
42
+ "alibi",
43
+ "seed44"
44
+ ],
45
+ "hidden_size": 768,
46
+ "intermediate_size": 3072,
47
+ "num_attention_heads": 6,
48
+ "num_key_value_heads": 2,
49
+ "num_hidden_layers": 28,
50
+ "head_dim": null,
51
+ "attention_dropout": null,
52
+ "rope_train_position_scale_set": null,
53
+ "positional": "alibi",
54
+ "attention_type": "dense",
55
+ "sparse_block_size": 128,
56
+ "sparse_num_random_blocks": 31,
57
+ "sparse_mask_pool_size": 1,
58
+ "sparse_val_dense_compare": false,
59
+ "sparse_layer_indices": null,
60
+ "sparse_mask_cache_dir": null,
61
+ "sparse_mask_seed": 0,
62
+ "sparse_mixed_nrb_set": null,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000
68
+ Checkpoint activations: False
69
+
70
+
71
+ ================================================================================
72
+ MODEL ARCHITECTURE
73
+ ================================================================================
74
+ Model config:
75
+ vocab_size: 151936
76
+ hidden_size: 768
77
+ num_hidden_layers: 28
78
+ num_attention_heads: 6
79
+ num_key_value_heads: 2
80
+ head_dim: 128
81
+ intermediate_size: 3072
82
+ max_position_embeddings: 32768
83
+ rope_theta: 1000000
84
+ rope_train_position_scale_set: None
85
+ attention_type: dense
86
+
87
+ Parameter count:
88
+ Total parameters: 358,958,848
89
+ Trainable parameters: 358,958,848
90
+ Non-trainable parameters: 0
91
+ Model size (BF16): 0.72 GB
92
+
93
+ --------------------------------------------------------------------------------
94
+ LAYER-BY-LAYER SUMMARY
95
+ --------------------------------------------------------------------------------
96
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
97
+
98
+ SOLUTION: Use torch.compile(flex_attention)(...)
99
+
100
+ If you want to debug your score_mod/mask_mod, you can set:
101
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
102
+
103
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
104
+ _warn_once(
105
+ =================================================================================================================================================
106
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
107
+ =================================================================================================================================================
108
+ Qwen3ForCausalLM [2, 8192] -- -- True
109
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
110
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
111
+ │ └─ModuleList: 2-2 -- -- -- True
112
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
140
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
141
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
142
+ =================================================================================================================================================
143
+ Total params: 475,645,696
144
+ Trainable params: 475,645,696
145
+ Non-trainable params: 0
146
+ Total mult-adds (Units.MEGABYTES): 951.29
147
+ =================================================================================================================================================
148
+ Input size (MB): 0.13
149
+ Forward/backward pass size (MB): 31197.23
150
+ Params size (MB): 951.29
151
+ Estimated Total Size (MB): 32148.66
152
+ =================================================================================================================================================
153
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
154
+ ================================================================================
155
+
156
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Using pre-tokenized dataset (no runtime tokenization)
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Dataset split: 3027764 train, 159356 validation
161
+ Training examples (packed, train split): 3027764
162
+ Validation examples (packed, val split): 159356
163
+ Per-device batch size: 2
164
+ World size (GPUs): 1
165
+ Gradient accumulation steps: 10
166
+ Effective batch size (seqs/step): 20
167
+ Sequence length: 8192
168
+ Tokens per optimizer step: 163,840
169
+ Micro-batches per epoch (per rank): 1513882
170
+ Optimizer steps per epoch: 151388
171
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
172
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000...
173
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
174
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
175
+ Resuming training from step 2000
176
+ Resuming wandb run kbn66izc
177
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id kbn66izc.
178
+ wandb: Tracking run with wandb version 0.26.1
179
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
180
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_154846-kbn66izc
181
+ Starting training...
182
+ Validation at step 2000: Loss = 3.6519, Perplexity = 38.55
183
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
184
+ Step 2100/44000 | Loss: 3.6295 | LR: 4.99e-04 | 2841.6ms/step | 7.0 samples/s
185
+ Step 2200/44000 | Loss: 3.6040 | LR: 4.99e-04 | 1498.5ms/step | 13.3 samples/s
186
+ Validation at step 2250: Loss = 3.5921, Perplexity = 36.31
187
+ Step 2300/44000 | Loss: 3.5890 | LR: 4.98e-04 | 1740.5ms/step | 11.5 samples/s
188
+ Step 2400/44000 | Loss: 3.5556 | LR: 4.98e-04 | 1500.3ms/step | 13.3 samples/s
189
+ Step 2500/44000 | Loss: 3.5480 | LR: 4.98e-04 | 1500.4ms/step | 13.3 samples/s
190
+ Validation at step 2500: Loss = 3.5482, Perplexity = 34.75
191
+ Step 2600/44000 | Loss: 3.5346 | LR: 4.98e-04 | 1741.0ms/step | 11.5 samples/s
192
+ Step 2700/44000 | Loss: 3.5145 | LR: 4.97e-04 | 1500.0ms/step | 13.3 samples/s
193
+ Validation at step 2750: Loss = 3.5061, Perplexity = 33.32
194
+ Step 2800/44000 | Loss: 3.5066 | LR: 4.97e-04 | 1741.3ms/step | 11.5 samples/s
195
+ Step 2900/44000 | Loss: 3.4976 | LR: 4.97e-04 | 1500.2ms/step | 13.3 samples/s
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed44.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 184
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed45.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 8192,
11
+ "num_workers": 8,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": 44000,
17
+ "per_device_batch_size": 2,
18
+ "gradient_accumulation_steps": 10,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 1000,
25
+ "eval_steps": 250,
26
+ "eval_batches": 50,
27
+ "logging_steps": 100,
28
+ "seed": 45,
29
+ "verbose": true,
30
+ "checkpoint_activations": false,
31
+ "resume_micro_step_override": null,
32
+ "strategy": "ddp",
33
+ "mixed_precision": "bf16",
34
+ "wandb_enabled": true,
35
+ "wandb_project": "stochastic_sparsity",
36
+ "wandb_name": "365m alibi 8k s45",
37
+ "wandb_tags": [
38
+ "qwen3",
39
+ "365m",
40
+ "8k",
41
+ "scaleladder",
42
+ "alibi",
43
+ "seed45"
44
+ ],
45
+ "hidden_size": 768,
46
+ "intermediate_size": 3072,
47
+ "num_attention_heads": 6,
48
+ "num_key_value_heads": 2,
49
+ "num_hidden_layers": 28,
50
+ "head_dim": null,
51
+ "attention_dropout": null,
52
+ "rope_train_position_scale_set": null,
53
+ "positional": "alibi",
54
+ "attention_type": "dense",
55
+ "sparse_block_size": 128,
56
+ "sparse_num_random_blocks": 31,
57
+ "sparse_mask_pool_size": 1,
58
+ "sparse_val_dense_compare": false,
59
+ "sparse_layer_indices": null,
60
+ "sparse_mask_cache_dir": null,
61
+ "sparse_mask_seed": 0,
62
+ "sparse_mixed_nrb_set": null,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000
68
+ Checkpoint activations: False
69
+
70
+
71
+ ================================================================================
72
+ MODEL ARCHITECTURE
73
+ ================================================================================
74
+ Model config:
75
+ vocab_size: 151936
76
+ hidden_size: 768
77
+ num_hidden_layers: 28
78
+ num_attention_heads: 6
79
+ num_key_value_heads: 2
80
+ head_dim: 128
81
+ intermediate_size: 3072
82
+ max_position_embeddings: 32768
83
+ rope_theta: 1000000
84
+ rope_train_position_scale_set: None
85
+ attention_type: dense
86
+
87
+ Parameter count:
88
+ Total parameters: 358,958,848
89
+ Trainable parameters: 358,958,848
90
+ Non-trainable parameters: 0
91
+ Model size (BF16): 0.72 GB
92
+
93
+ --------------------------------------------------------------------------------
94
+ LAYER-BY-LAYER SUMMARY
95
+ --------------------------------------------------------------------------------
96
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
97
+
98
+ SOLUTION: Use torch.compile(flex_attention)(...)
99
+
100
+ If you want to debug your score_mod/mask_mod, you can set:
101
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
102
+
103
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
104
+ _warn_once(
105
+ =================================================================================================================================================
106
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
107
+ =================================================================================================================================================
108
+ Qwen3ForCausalLM [2, 8192] -- -- True
109
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
110
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
111
+ │ └─ModuleList: 2-2 -- -- -- True
112
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
140
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
141
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
142
+ =================================================================================================================================================
143
+ Total params: 475,645,696
144
+ Trainable params: 475,645,696
145
+ Non-trainable params: 0
146
+ Total mult-adds (Units.MEGABYTES): 951.29
147
+ =================================================================================================================================================
148
+ Input size (MB): 0.13
149
+ Forward/backward pass size (MB): 31197.23
150
+ Params size (MB): 951.29
151
+ Estimated Total Size (MB): 32148.66
152
+ =================================================================================================================================================
153
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
154
+ ================================================================================
155
+
156
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Using pre-tokenized dataset (no runtime tokenization)
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Dataset split: 3027764 train, 159356 validation
161
+ Training examples (packed, train split): 3027764
162
+ Validation examples (packed, val split): 159356
163
+ Per-device batch size: 2
164
+ World size (GPUs): 1
165
+ Gradient accumulation steps: 10
166
+ Effective batch size (seqs/step): 20
167
+ Sequence length: 8192
168
+ Tokens per optimizer step: 163,840
169
+ Micro-batches per epoch (per rank): 1513882
170
+ Optimizer steps per epoch: 151388
171
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
172
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000...
173
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
174
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
175
+ Resuming training from step 2000
176
+ Resuming wandb run ghfbqjah
177
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id ghfbqjah.
178
+ wandb: Tracking run with wandb version 0.26.1
179
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
180
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_154845-ghfbqjah
181
+ Starting training...
182
+ Validation at step 2000: Loss = 3.6535, Perplexity = 38.61
183
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
184
+ Step 2100/44000 | Loss: 3.6382 | LR: 4.99e-04 | 2813.4ms/step | 7.1 samples/s
185
+ Step 2200/44000 | Loss: 3.6122 | LR: 4.99e-04 | 1477.4ms/step | 13.5 samples/s
186
+ Validation at step 2250: Loss = 3.5960, Perplexity = 36.45
187
+ Step 2300/44000 | Loss: 3.5911 | LR: 4.98e-04 | 1715.2ms/step | 11.7 samples/s
188
+ Step 2400/44000 | Loss: 3.5725 | LR: 4.98e-04 | 1475.7ms/step | 13.6 samples/s
189
+ Step 2500/44000 | Loss: 3.5568 | LR: 4.98e-04 | 1476.1ms/step | 13.5 samples/s
190
+ Validation at step 2500: Loss = 3.5512, Perplexity = 34.86
191
+ Step 2600/44000 | Loss: 3.5353 | LR: 4.98e-04 | 1712.4ms/step | 11.7 samples/s
192
+ Step 2700/44000 | Loss: 3.5181 | LR: 4.97e-04 | 1475.0ms/step | 13.6 samples/s
193
+ Validation at step 2750: Loss = 3.5136, Perplexity = 33.57
194
+ Step 2800/44000 | Loss: 3.5075 | LR: 4.97e-04 | 1714.3ms/step | 11.7 samples/s
195
+ Step 2900/44000 | Loss: 3.4935 | LR: 4.97e-04 | 1476.0ms/step | 13.6 samples/s
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed45.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 189
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed46.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-2000
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 8192,
11
+ "num_workers": 8,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-2000",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": 44000,
17
+ "per_device_batch_size": 2,
18
+ "gradient_accumulation_steps": 10,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 1000,
25
+ "eval_steps": 250,
26
+ "eval_batches": 50,
27
+ "logging_steps": 100,
28
+ "seed": 46,
29
+ "verbose": true,
30
+ "checkpoint_activations": false,
31
+ "resume_micro_step_override": null,
32
+ "strategy": "ddp",
33
+ "mixed_precision": "bf16",
34
+ "wandb_enabled": true,
35
+ "wandb_project": "stochastic_sparsity",
36
+ "wandb_name": "365m alibi 8k s46",
37
+ "wandb_tags": [
38
+ "qwen3",
39
+ "365m",
40
+ "8k",
41
+ "scaleladder",
42
+ "alibi",
43
+ "seed46"
44
+ ],
45
+ "hidden_size": 768,
46
+ "intermediate_size": 3072,
47
+ "num_attention_heads": 6,
48
+ "num_key_value_heads": 2,
49
+ "num_hidden_layers": 28,
50
+ "head_dim": null,
51
+ "attention_dropout": null,
52
+ "rope_train_position_scale_set": null,
53
+ "positional": "alibi",
54
+ "attention_type": "dense",
55
+ "sparse_block_size": 128,
56
+ "sparse_num_random_blocks": 31,
57
+ "sparse_mask_pool_size": 1,
58
+ "sparse_val_dense_compare": false,
59
+ "sparse_layer_indices": null,
60
+ "sparse_mask_cache_dir": null,
61
+ "sparse_mask_seed": 0,
62
+ "sparse_mixed_nrb_set": null,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-2000
68
+ Checkpoint activations: False
69
+
70
+
71
+ ================================================================================
72
+ MODEL ARCHITECTURE
73
+ ================================================================================
74
+ Model config:
75
+ vocab_size: 151936
76
+ hidden_size: 768
77
+ num_hidden_layers: 28
78
+ num_attention_heads: 6
79
+ num_key_value_heads: 2
80
+ head_dim: 128
81
+ intermediate_size: 3072
82
+ max_position_embeddings: 32768
83
+ rope_theta: 1000000
84
+ rope_train_position_scale_set: None
85
+ attention_type: dense
86
+
87
+ Parameter count:
88
+ Total parameters: 358,958,848
89
+ Trainable parameters: 358,958,848
90
+ Non-trainable parameters: 0
91
+ Model size (BF16): 0.72 GB
92
+
93
+ --------------------------------------------------------------------------------
94
+ LAYER-BY-LAYER SUMMARY
95
+ --------------------------------------------------------------------------------
96
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
97
+
98
+ SOLUTION: Use torch.compile(flex_attention)(...)
99
+
100
+ If you want to debug your score_mod/mask_mod, you can set:
101
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
102
+
103
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
104
+ _warn_once(
105
+ =================================================================================================================================================
106
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
107
+ =================================================================================================================================================
108
+ Qwen3ForCausalLM [2, 8192] -- -- True
109
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
110
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
111
+ │ └─ModuleList: 2-2 -- -- -- True
112
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
140
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
141
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
142
+ =================================================================================================================================================
143
+ Total params: 475,645,696
144
+ Trainable params: 475,645,696
145
+ Non-trainable params: 0
146
+ Total mult-adds (Units.MEGABYTES): 951.29
147
+ =================================================================================================================================================
148
+ Input size (MB): 0.13
149
+ Forward/backward pass size (MB): 31197.23
150
+ Params size (MB): 951.29
151
+ Estimated Total Size (MB): 32148.66
152
+ =================================================================================================================================================
153
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
154
+ ================================================================================
155
+
156
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Using pre-tokenized dataset (no runtime tokenization)
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Dataset split: 3027764 train, 159356 validation
161
+ Training examples (packed, train split): 3027764
162
+ Validation examples (packed, val split): 159356
163
+ Per-device batch size: 2
164
+ World size (GPUs): 1
165
+ Gradient accumulation steps: 10
166
+ Effective batch size (seqs/step): 20
167
+ Sequence length: 8192
168
+ Tokens per optimizer step: 163,840
169
+ Micro-batches per epoch (per rank): 1513882
170
+ Optimizer steps per epoch: 151388
171
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
172
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-2000...
173
+ Preserving checkpoint LR state for exact resume: current=[0.0004989701850946613], schedule_base=[0.0005]
174
+ Resumed from checkpoint at step 2000 (epoch 0, micro_step 20000)
175
+ Resuming training from step 2000
176
+ Resuming wandb run wk3rt7ae
177
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id wk3rt7ae.
178
+ wandb: Tracking run with wandb version 0.26.1
179
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
180
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_154845-wk3rt7ae
181
+ Starting training...
182
+ Validation at step 2000: Loss = 3.6463, Perplexity = 38.33
183
+ Switching attention mode for step 2001: sparse_stochastic (configured sparse attention)
184
+ Step 2100/44000 | Loss: 3.6305 | LR: 4.99e-04 | 2833.0ms/step | 7.1 samples/s
185
+ Step 2200/44000 | Loss: 3.6098 | LR: 4.99e-04 | 1495.0ms/step | 13.4 samples/s
186
+ Validation at step 2250: Loss = 3.5927, Perplexity = 36.33
187
+ Step 2300/44000 | Loss: 3.5900 | LR: 4.98e-04 | 1735.9ms/step | 11.5 samples/s
188
+ Step 2400/44000 | Loss: 3.5647 | LR: 4.98e-04 | 1497.0ms/step | 13.4 samples/s
189
+ Step 2500/44000 | Loss: 3.5608 | LR: 4.98e-04 | 1497.7ms/step | 13.4 samples/s
190
+ Validation at step 2500: Loss = 3.5437, Perplexity = 34.59
191
+ Step 2600/44000 | Loss: 3.5374 | LR: 4.98e-04 | 1736.7ms/step | 11.5 samples/s
192
+ Step 2700/44000 | Loss: 3.5225 | LR: 4.97e-04 | 1497.3ms/step | 13.4 samples/s
193
+ Validation at step 2750: Loss = 3.5048, Perplexity = 33.28
194
+ Step 2800/44000 | Loss: 3.4900 | LR: 4.97e-04 | 1738.6ms/step | 11.5 samples/s
195
+ Step 2900/44000 | Loss: 3.4879 | LR: 4.97e-04 | 1497.5ms/step | 13.4 samples/s
epfl_final/logs/ALIBI_20260921/resume5_20260921_154738/seed46.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 194
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed42.log ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 42,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s42",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed42"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-nihe6o4e
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.5675 | LR: 6.67e-05 | 1612.8ms/step | 12.4 samples/s
177
+ Step 200/44000 | Loss: 7.3112 | LR: 1.33e-04 | 1503.3ms/step | 13.3 samples/s
178
+ Validation at step 250: Loss = 6.3046, Perplexity = 547.07
179
+ Step 300/44000 | Loss: 6.3235 | LR: 2.00e-04 | 1796.9ms/step | 11.1 samples/s
180
+ Step 400/44000 | Loss: 5.8468 | LR: 2.67e-04 | 1511.2ms/step | 13.2 samples/s
181
+ Step 500/44000 | Loss: 5.4582 | LR: 3.33e-04 | 1509.9ms/step | 13.2 samples/s
182
+ Validation at step 500: Loss = 5.2754, Perplexity = 195.47
183
+ Step 600/44000 | Loss: 5.1382 | LR: 4.00e-04 | 1754.4ms/step | 11.4 samples/s
184
+ Step 700/44000 | Loss: 4.8505 | LR: 4.67e-04 | 1510.9ms/step | 13.2 samples/s
185
+ Validation at step 750: Loss = 4.5974, Perplexity = 99.23
186
+ Step 800/44000 | Loss: 4.5809 | LR: 5.00e-04 | 1754.1ms/step | 11.4 samples/s
187
+ Step 900/44000 | Loss: 4.3776 | LR: 5.00e-04 | 1511.2ms/step | 13.2 samples/s
188
+ Step 1000/44000 | Loss: 4.2240 | LR: 5.00e-04 | 1509.3ms/step | 13.3 samples/s
189
+ Validation at step 1000: Loss = 4.1754, Perplexity = 65.07
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.1065 | LR: 5.00e-04 | 1781.2ms/step | 11.2 samples/s
192
+ Step 1200/44000 | Loss: 4.0142 | LR: 5.00e-04 | 1506.7ms/step | 13.3 samples/s
193
+ Validation at step 1250: Loss = 3.9616, Perplexity = 52.54
194
+ Step 1300/44000 | Loss: 3.9476 | LR: 5.00e-04 | 1749.0ms/step | 11.4 samples/s
195
+ Step 1400/44000 | Loss: 3.8829 | LR: 5.00e-04 | 1507.4ms/step | 13.3 samples/s
196
+ Step 1500/44000 | Loss: 3.8558 | LR: 5.00e-04 | 1507.2ms/step | 13.3 samples/s
197
+ Validation at step 1500: Loss = 3.8283, Perplexity = 45.99
198
+ Step 1600/44000 | Loss: 3.7996 | LR: 5.00e-04 | 1748.3ms/step | 11.4 samples/s
199
+ Step 1700/44000 | Loss: 3.7480 | LR: 4.99e-04 | 1507.4ms/step | 13.3 samples/s
200
+ Validation at step 1750: Loss = 3.7342, Perplexity = 41.85
201
+ Step 1800/44000 | Loss: 3.7112 | LR: 4.99e-04 | 1748.0ms/step | 11.4 samples/s
202
+ Step 1900/44000 | Loss: 3.6984 | LR: 4.99e-04 | 1507.5ms/step | 13.3 samples/s
203
+ Step 2000/44000 | Loss: 3.6660 | LR: 4.99e-04 | 1506.5ms/step | 13.3 samples/s
204
+ Validation at step 2000: Loss = 3.6610, Perplexity = 38.90
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s42/run_20260921_142951/checkpoint-2000
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed42.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 67
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed43.log ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 43,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s43",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed43"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-zgrsvkbi
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6180 | LR: 6.67e-05 | 1577.9ms/step | 12.7 samples/s
177
+ Step 200/44000 | Loss: 7.3271 | LR: 1.33e-04 | 1469.2ms/step | 13.6 samples/s
178
+ Validation at step 250: Loss = 6.2973, Perplexity = 543.10
179
+ Step 300/44000 | Loss: 6.3191 | LR: 2.00e-04 | 1765.4ms/step | 11.3 samples/s
180
+ Step 400/44000 | Loss: 5.8579 | LR: 2.67e-04 | 1466.3ms/step | 13.6 samples/s
181
+ Step 500/44000 | Loss: 5.4560 | LR: 3.33e-04 | 1465.8ms/step | 13.6 samples/s
182
+ Validation at step 500: Loss = 5.2849, Perplexity = 197.34
183
+ Step 600/44000 | Loss: 5.1461 | LR: 4.00e-04 | 1705.8ms/step | 11.7 samples/s
184
+ Step 700/44000 | Loss: 4.8569 | LR: 4.67e-04 | 1467.3ms/step | 13.6 samples/s
185
+ Validation at step 750: Loss = 4.5889, Perplexity = 98.38
186
+ Step 800/44000 | Loss: 4.6015 | LR: 5.00e-04 | 1705.1ms/step | 11.7 samples/s
187
+ Step 900/44000 | Loss: 4.3807 | LR: 5.00e-04 | 1467.1ms/step | 13.6 samples/s
188
+ Step 1000/44000 | Loss: 4.2271 | LR: 5.00e-04 | 1465.7ms/step | 13.6 samples/s
189
+ Validation at step 1000: Loss = 4.1545, Perplexity = 63.72
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.1170 | LR: 5.00e-04 | 1738.2ms/step | 11.5 samples/s
192
+ Step 1200/44000 | Loss: 4.0256 | LR: 5.00e-04 | 1471.8ms/step | 13.6 samples/s
193
+ Validation at step 1250: Loss = 3.9459, Perplexity = 51.72
194
+ Step 1300/44000 | Loss: 3.9546 | LR: 5.00e-04 | 1708.8ms/step | 11.7 samples/s
195
+ Step 1400/44000 | Loss: 3.8984 | LR: 5.00e-04 | 1471.8ms/step | 13.6 samples/s
196
+ Step 1500/44000 | Loss: 3.8381 | LR: 5.00e-04 | 1471.2ms/step | 13.6 samples/s
197
+ Validation at step 1500: Loss = 3.8081, Perplexity = 45.07
198
+ Step 1600/44000 | Loss: 3.8055 | LR: 5.00e-04 | 1708.2ms/step | 11.7 samples/s
199
+ Step 1700/44000 | Loss: 3.7553 | LR: 4.99e-04 | 1470.8ms/step | 13.6 samples/s
200
+ Validation at step 1750: Loss = 3.7134, Perplexity = 40.99
201
+ Step 1800/44000 | Loss: 3.7206 | LR: 4.99e-04 | 1709.1ms/step | 11.7 samples/s
202
+ Step 1900/44000 | Loss: 3.6958 | LR: 4.99e-04 | 1471.3ms/step | 13.6 samples/s
203
+ Step 2000/44000 | Loss: 3.6689 | LR: 4.99e-04 | 1471.9ms/step | 13.6 samples/s
204
+ Validation at step 2000: Loss = 3.6382, Perplexity = 38.02
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s43/run_20260921_142951/checkpoint-2000
206
+ Step 2100/44000 | Loss: 3.6335 | LR: 4.99e-04 | 1738.8ms/step | 11.5 samples/s
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed43.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 68
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed44.log ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 44,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s44",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed44"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-kbn66izc
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6003 | LR: 6.67e-05 | 1621.2ms/step | 12.3 samples/s
177
+ Step 200/44000 | Loss: 7.3145 | LR: 1.33e-04 | 1513.5ms/step | 13.2 samples/s
178
+ Validation at step 250: Loss = 6.3145, Perplexity = 552.50
179
+ Step 300/44000 | Loss: 6.3199 | LR: 2.00e-04 | 1808.6ms/step | 11.1 samples/s
180
+ Step 400/44000 | Loss: 5.8467 | LR: 2.67e-04 | 1522.0ms/step | 13.1 samples/s
181
+ Step 500/44000 | Loss: 5.4660 | LR: 3.33e-04 | 1521.0ms/step | 13.1 samples/s
182
+ Validation at step 500: Loss = 5.3073, Perplexity = 201.80
183
+ Step 600/44000 | Loss: 5.1441 | LR: 4.00e-04 | 1769.2ms/step | 11.3 samples/s
184
+ Step 700/44000 | Loss: 4.8768 | LR: 4.67e-04 | 1525.7ms/step | 13.1 samples/s
185
+ Validation at step 750: Loss = 4.6389, Perplexity = 103.43
186
+ Step 800/44000 | Loss: 4.6295 | LR: 5.00e-04 | 1771.4ms/step | 11.3 samples/s
187
+ Step 900/44000 | Loss: 4.3996 | LR: 5.00e-04 | 1525.8ms/step | 13.1 samples/s
188
+ Step 1000/44000 | Loss: 4.2347 | LR: 5.00e-04 | 1518.8ms/step | 13.2 samples/s
189
+ Validation at step 1000: Loss = 4.1789, Perplexity = 65.29
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.1037 | LR: 5.00e-04 | 1792.7ms/step | 11.2 samples/s
192
+ Step 1200/44000 | Loss: 4.0177 | LR: 5.00e-04 | 1519.6ms/step | 13.2 samples/s
193
+ Validation at step 1250: Loss = 3.9505, Perplexity = 51.96
194
+ Step 1300/44000 | Loss: 3.9444 | LR: 5.00e-04 | 1767.2ms/step | 11.3 samples/s
195
+ Step 1400/44000 | Loss: 3.8773 | LR: 5.00e-04 | 1521.1ms/step | 13.1 samples/s
196
+ Step 1500/44000 | Loss: 3.8416 | LR: 5.00e-04 | 1521.4ms/step | 13.1 samples/s
197
+ Validation at step 1500: Loss = 3.8165, Perplexity = 45.45
198
+ Step 1600/44000 | Loss: 3.7900 | LR: 5.00e-04 | 1763.9ms/step | 11.3 samples/s
199
+ Step 1700/44000 | Loss: 3.7546 | LR: 4.99e-04 | 1519.8ms/step | 13.2 samples/s
200
+ Validation at step 1750: Loss = 3.7226, Perplexity = 41.37
201
+ Step 1800/44000 | Loss: 3.7246 | LR: 4.99e-04 | 1764.4ms/step | 11.3 samples/s
202
+ Step 1900/44000 | Loss: 3.6833 | LR: 4.99e-04 | 1521.2ms/step | 13.1 samples/s
203
+ Step 2000/44000 | Loss: 3.6624 | LR: 4.99e-04 | 1518.4ms/step | 13.2 samples/s
204
+ Validation at step 2000: Loss = 3.6519, Perplexity = 38.55
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s44/run_20260921_142951/checkpoint-2000
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed44.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 69
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed45.log ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 45,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s45",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed45"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-ghfbqjah
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6683 | LR: 6.67e-05 | 1599.8ms/step | 12.5 samples/s
177
+ Step 200/44000 | Loss: 7.3481 | LR: 1.33e-04 | 1488.9ms/step | 13.4 samples/s
178
+ Validation at step 250: Loss = 6.3176, Perplexity = 554.21
179
+ Step 300/44000 | Loss: 6.3392 | LR: 2.00e-04 | 1784.0ms/step | 11.2 samples/s
180
+ Step 400/44000 | Loss: 5.8523 | LR: 2.67e-04 | 1499.4ms/step | 13.3 samples/s
181
+ Step 500/44000 | Loss: 5.4673 | LR: 3.33e-04 | 1499.0ms/step | 13.3 samples/s
182
+ Validation at step 500: Loss = 5.2963, Perplexity = 199.59
183
+ Step 600/44000 | Loss: 5.1331 | LR: 4.00e-04 | 1739.7ms/step | 11.5 samples/s
184
+ Step 700/44000 | Loss: 4.8681 | LR: 4.67e-04 | 1499.0ms/step | 13.3 samples/s
185
+ Validation at step 750: Loss = 4.6091, Perplexity = 100.40
186
+ Step 800/44000 | Loss: 4.6111 | LR: 5.00e-04 | 1739.8ms/step | 11.5 samples/s
187
+ Step 900/44000 | Loss: 4.3903 | LR: 5.00e-04 | 1499.7ms/step | 13.3 samples/s
188
+ Step 1000/44000 | Loss: 4.2294 | LR: 5.00e-04 | 1497.9ms/step | 13.4 samples/s
189
+ Validation at step 1000: Loss = 4.1733, Perplexity = 64.93
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.1142 | LR: 5.00e-04 | 1767.5ms/step | 11.3 samples/s
192
+ Step 1200/44000 | Loss: 4.0208 | LR: 5.00e-04 | 1497.8ms/step | 13.4 samples/s
193
+ Validation at step 1250: Loss = 3.9543, Perplexity = 52.16
194
+ Step 1300/44000 | Loss: 3.9399 | LR: 5.00e-04 | 1738.3ms/step | 11.5 samples/s
195
+ Step 1400/44000 | Loss: 3.8898 | LR: 5.00e-04 | 1497.9ms/step | 13.4 samples/s
196
+ Step 1500/44000 | Loss: 3.8383 | LR: 5.00e-04 | 1499.1ms/step | 13.3 samples/s
197
+ Validation at step 1500: Loss = 3.8165, Perplexity = 45.45
198
+ Step 1600/44000 | Loss: 3.8006 | LR: 5.00e-04 | 1736.8ms/step | 11.5 samples/s
199
+ Step 1700/44000 | Loss: 3.7584 | LR: 4.99e-04 | 1498.6ms/step | 13.3 samples/s
200
+ Validation at step 1750: Loss = 3.7225, Perplexity = 41.37
201
+ Step 1800/44000 | Loss: 3.7134 | LR: 4.99e-04 | 1737.2ms/step | 11.5 samples/s
202
+ Step 1900/44000 | Loss: 3.6849 | LR: 4.99e-04 | 1497.1ms/step | 13.4 samples/s
203
+ Step 2000/44000 | Loss: 3.6698 | LR: 4.99e-04 | 1497.2ms/step | 13.4 samples/s
204
+ Validation at step 2000: Loss = 3.6535, Perplexity = 38.61
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s45/run_20260921_142951/checkpoint-2000
206
+ Step 2100/44000 | Loss: 3.6373 | LR: 4.99e-04 | 1766.5ms/step | 11.3 samples/s
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed45.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 70
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed46.log ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 46,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s46",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed46"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-wk3rt7ae
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6054 | LR: 6.67e-05 | 1588.1ms/step | 12.6 samples/s
177
+ Step 200/44000 | Loss: 7.3367 | LR: 1.33e-04 | 1467.4ms/step | 13.6 samples/s
178
+ Validation at step 250: Loss = 6.3121, Perplexity = 551.21
179
+ Step 300/44000 | Loss: 6.3284 | LR: 2.00e-04 | 1768.3ms/step | 11.3 samples/s
180
+ Step 400/44000 | Loss: 5.8568 | LR: 2.67e-04 | 1474.3ms/step | 13.6 samples/s
181
+ Step 500/44000 | Loss: 5.4691 | LR: 3.33e-04 | 1475.3ms/step | 13.6 samples/s
182
+ Validation at step 500: Loss = 5.2977, Perplexity = 199.88
183
+ Step 600/44000 | Loss: 5.1317 | LR: 4.00e-04 | 1722.6ms/step | 11.6 samples/s
184
+ Step 700/44000 | Loss: 4.8783 | LR: 4.67e-04 | 1483.7ms/step | 13.5 samples/s
185
+ Validation at step 750: Loss = 4.6162, Perplexity = 101.11
186
+ Step 800/44000 | Loss: 4.6176 | LR: 5.00e-04 | 1721.4ms/step | 11.6 samples/s
187
+ Step 900/44000 | Loss: 4.3929 | LR: 5.00e-04 | 1483.0ms/step | 13.5 samples/s
188
+ Step 1000/44000 | Loss: 4.2150 | LR: 5.00e-04 | 1482.0ms/step | 13.5 samples/s
189
+ Validation at step 1000: Loss = 4.1633, Perplexity = 64.29
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.1118 | LR: 5.00e-04 | 1750.2ms/step | 11.4 samples/s
192
+ Step 1200/44000 | Loss: 4.0237 | LR: 5.00e-04 | 1479.6ms/step | 13.5 samples/s
193
+ Validation at step 1250: Loss = 3.9478, Perplexity = 51.82
194
+ Step 1300/44000 | Loss: 3.9589 | LR: 5.00e-04 | 1720.4ms/step | 11.6 samples/s
195
+ Step 1400/44000 | Loss: 3.8765 | LR: 5.00e-04 | 1479.5ms/step | 13.5 samples/s
196
+ Step 1500/44000 | Loss: 3.8295 | LR: 5.00e-04 | 1476.5ms/step | 13.5 samples/s
197
+ Validation at step 1500: Loss = 3.8106, Perplexity = 45.18
198
+ Step 1600/44000 | Loss: 3.7865 | LR: 5.00e-04 | 1715.6ms/step | 11.7 samples/s
199
+ Step 1700/44000 | Loss: 3.7385 | LR: 4.99e-04 | 1474.9ms/step | 13.6 samples/s
200
+ Validation at step 1750: Loss = 3.7148, Perplexity = 41.05
201
+ Step 1800/44000 | Loss: 3.7060 | LR: 4.99e-04 | 1711.8ms/step | 11.7 samples/s
202
+ Step 1900/44000 | Loss: 3.6922 | LR: 4.99e-04 | 1473.2ms/step | 13.6 samples/s
203
+ Step 2000/44000 | Loss: 3.6616 | LR: 4.99e-04 | 1473.2ms/step | 13.6 samples/s
204
+ Validation at step 2000: Loss = 3.6463, Perplexity = 38.33
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s46/run_20260921_142951/checkpoint-2000
206
+ Step 2100/44000 | Loss: 3.6354 | LR: 4.99e-04 | 1748.4ms/step | 11.4 samples/s
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed46.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 71
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed47.log ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_142951
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_142951",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": false,
14
+ "num_epochs": 1,
15
+ "max_steps": 44000,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 100,
27
+ "seed": 47,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "resume_micro_step_override": null,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "365m alibi 8k s47",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "365m",
39
+ "8k",
40
+ "scaleladder",
41
+ "alibi",
42
+ "seed47"
43
+ ],
44
+ "hidden_size": 768,
45
+ "intermediate_size": 3072,
46
+ "num_attention_heads": 6,
47
+ "num_key_value_heads": 2,
48
+ "num_hidden_layers": 28,
49
+ "head_dim": null,
50
+ "attention_dropout": null,
51
+ "rope_train_position_scale_set": null,
52
+ "positional": "alibi",
53
+ "attention_type": "dense",
54
+ "sparse_block_size": 128,
55
+ "sparse_num_random_blocks": 31,
56
+ "sparse_mask_pool_size": 1,
57
+ "sparse_val_dense_compare": false,
58
+ "sparse_layer_indices": null,
59
+ "sparse_mask_cache_dir": null,
60
+ "sparse_mask_seed": 0,
61
+ "sparse_mixed_nrb_set": null,
62
+ "dense_mode": false,
63
+ "dense_step_intervals": null
64
+ }
65
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
66
+ Initializing model from scratch (random weights)...
67
+ Checkpoint activations: False
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 768
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 6
78
+ num_key_value_heads: 2
79
+ head_dim: 128
80
+ intermediate_size: 3072
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ rope_train_position_scale_set: None
84
+ attention_type: dense
85
+
86
+ Parameter count:
87
+ Total parameters: 358,958,848
88
+ Trainable parameters: 358,958,848
89
+ Non-trainable parameters: 0
90
+ Model size (BF16): 0.72 GB
91
+
92
+ --------------------------------------------------------------------------------
93
+ LAYER-BY-LAYER SUMMARY
94
+ --------------------------------------------------------------------------------
95
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
96
+
97
+ SOLUTION: Use torch.compile(flex_attention)(...)
98
+
99
+ If you want to debug your score_mod/mask_mod, you can set:
100
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
101
+
102
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
103
+ _warn_once(
104
+ =================================================================================================================================================
105
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
106
+ =================================================================================================================================================
107
+ Qwen3ForCausalLM [2, 8192] -- -- True
108
+ ├─Qwen3Model: 1-1 -- [2, 8192, 768] -- True
109
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 768] 116,686,848 True
110
+ │ └─ModuleList: 2-2 -- -- -- True
111
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
112
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
113
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
114
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
115
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
116
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
117
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
118
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
119
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
120
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
121
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
122
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
123
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
124
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
125
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
126
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
127
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
128
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
129
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
130
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
131
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
132
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
133
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
134
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
135
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
136
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
137
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
138
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 768] [2, 8192, 768] 8,652,544 True
139
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 768] [2, 8192, 768] 768 True
140
+ ├─Linear: 1-2 [2, 8192, 768] [2, 8192, 151936] 116,686,848 True
141
+ =================================================================================================================================================
142
+ Total params: 475,645,696
143
+ Trainable params: 475,645,696
144
+ Non-trainable params: 0
145
+ Total mult-adds (Units.MEGABYTES): 951.29
146
+ =================================================================================================================================================
147
+ Input size (MB): 0.13
148
+ Forward/backward pass size (MB): 31197.23
149
+ Params size (MB): 951.29
150
+ Estimated Total Size (MB): 32148.66
151
+ =================================================================================================================================================
152
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (116,686,848 params). True unique parameter count: 358,958,848 (359.0M)
153
+ ================================================================================
154
+
155
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
159
+ Dataset split: 3027764 train, 159356 validation
160
+ Training examples (packed, train split): 3027764
161
+ Validation examples (packed, val split): 159356
162
+ Per-device batch size: 2
163
+ World size (GPUs): 1
164
+ Gradient accumulation steps: 10
165
+ Effective batch size (seqs/step): 20
166
+ Sequence length: 8192
167
+ Tokens per optimizer step: 163,840
168
+ Micro-batches per epoch (per rank): 1513882
169
+ Optimizer steps per epoch: 151388
170
+ Total optimizer steps: 44000 (capped by max_steps; 0.29 epochs)
171
+ wandb: Tracking run with wandb version 0.26.1
172
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
173
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/offline-run-20260921_143024-6ijtsdl5
174
+ Starting training...
175
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
176
+ Step 100/44000 | Loss: 10.6289 | LR: 6.67e-05 | 1602.5ms/step | 12.5 samples/s
177
+ Step 200/44000 | Loss: 7.3278 | LR: 1.33e-04 | 1485.1ms/step | 13.5 samples/s
178
+ Validation at step 250: Loss = 6.3147, Perplexity = 552.63
179
+ Step 300/44000 | Loss: 6.3426 | LR: 2.00e-04 | 1779.5ms/step | 11.2 samples/s
180
+ Step 400/44000 | Loss: 5.8651 | LR: 2.67e-04 | 1491.6ms/step | 13.4 samples/s
181
+ Step 500/44000 | Loss: 5.4717 | LR: 3.33e-04 | 1491.3ms/step | 13.4 samples/s
182
+ Validation at step 500: Loss = 5.2942, Perplexity = 199.17
183
+ Step 600/44000 | Loss: 5.1439 | LR: 4.00e-04 | 1731.1ms/step | 11.6 samples/s
184
+ Step 700/44000 | Loss: 4.8670 | LR: 4.67e-04 | 1495.1ms/step | 13.4 samples/s
185
+ Validation at step 750: Loss = 4.6078, Perplexity = 100.26
186
+ Step 800/44000 | Loss: 4.5991 | LR: 5.00e-04 | 1737.2ms/step | 11.5 samples/s
187
+ Step 900/44000 | Loss: 4.3847 | LR: 5.00e-04 | 1498.2ms/step | 13.3 samples/s
188
+ Step 1000/44000 | Loss: 4.2247 | LR: 5.00e-04 | 1496.7ms/step | 13.4 samples/s
189
+ Validation at step 1000: Loss = 4.1555, Perplexity = 63.78
190
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_142951/checkpoint-1000
191
+ Step 1100/44000 | Loss: 4.0996 | LR: 5.00e-04 | 1769.0ms/step | 11.3 samples/s
192
+ Step 1200/44000 | Loss: 4.0259 | LR: 5.00e-04 | 1498.1ms/step | 13.4 samples/s
193
+ Validation at step 1250: Loss = 3.9434, Perplexity = 51.59
194
+ Step 1300/44000 | Loss: 3.9467 | LR: 5.00e-04 | 1738.5ms/step | 11.5 samples/s
195
+ Step 1400/44000 | Loss: 3.8872 | LR: 5.00e-04 | 1498.3ms/step | 13.3 samples/s
196
+ Step 1500/44000 | Loss: 3.8288 | LR: 5.00e-04 | 1496.2ms/step | 13.4 samples/s
197
+ Validation at step 1500: Loss = 3.8142, Perplexity = 45.34
198
+ Step 1600/44000 | Loss: 3.8018 | LR: 5.00e-04 | 1734.8ms/step | 11.5 samples/s
199
+ Step 1700/44000 | Loss: 3.7499 | LR: 4.99e-04 | 1492.7ms/step | 13.4 samples/s
200
+ Validation at step 1750: Loss = 3.7169, Perplexity = 41.14
201
+ Step 1800/44000 | Loss: 3.7212 | LR: 4.99e-04 | 1732.5ms/step | 11.5 samples/s
202
+ Step 1900/44000 | Loss: 3.6873 | LR: 4.99e-04 | 1493.1ms/step | 13.4 samples/s
203
+ Step 2000/44000 | Loss: 3.6613 | LR: 4.99e-04 | 1493.2ms/step | 13.4 samples/s
204
+ Validation at step 2000: Loss = 3.6485, Perplexity = 38.42
205
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/models/ALIBI_20260921/365m_alibi_s47/run_20260921_142951/checkpoint-2000
206
+ Step 2100/44000 | Loss: 3.6308 | LR: 4.99e-04 | 1763.2ms/step | 11.3 samples/s
epfl_final/logs/ALIBI_20260921/resume_20260921_142934/seed47.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 72
epfl_final/train_logs/eval30k_resamp.log ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ windows gutenberg (16, 30720)
2
+ windows arxiv (16, 30720)
3
+ windows pubmed (16, 30720)
4
+ Checkpoint activations: False
5
+ built topk=240 attn=moba layer0.top_k=240 (compiling flex...)
6
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/_inductor/compile_fx.py:322: UserWarning: TensorFloat32 tensor cores for float32 matrix multiplication available but not enabled. Consider setting `torch.set_float32_matmul_precision('high')` for better performance.
7
+ warnings.warn(
8
+ topk 240 gutenberg L30720 ppl 48.114 nll 3.8736 win 16 59s
9
+ topk 240 arxiv L30720 ppl 162.161 nll 5.0886 win 16 10s
10
+ topk 240 pubmed L30720 ppl 42.233 nll 3.7432 win 16 10s
11
+ Checkpoint activations: False
12
+ built topk=120 attn=moba layer0.top_k=120 (compiling flex...)
13
+ topk 120 gutenberg L30720 ppl 45.042 nll 3.8076 win 16 60s
14
+ topk 120 arxiv L30720 ppl 143.233 nll 4.9645 win 16 9s
15
+ topk 120 pubmed L30720 ppl 37.151 nll 3.6150 win 16 9s
16
+ Checkpoint activations: False
17
+ built topk=60 attn=moba layer0.top_k=60 (compiling flex...)
18
+ topk 60 gutenberg L30720 ppl 34.144 nll 3.5306 win 16 25s
19
+ topk 60 arxiv L30720 ppl 100.379 nll 4.6090 win 16 7s
20
+ topk 60 pubmed L30720 ppl 24.305 nll 3.1907 win 16 7s
21
+ Checkpoint activations: False
22
+ built topk=30 attn=moba layer0.top_k=30 (compiling flex...)
23
+ topk 30 gutenberg L30720 ppl 26.310 nll 3.2700 win 16 53s
24
+ topk 30 arxiv L30720 ppl 73.115 nll 4.2920 win 16 7s
25
+ topk 30 pubmed L30720 ppl 16.861 nll 2.8250 win 16 7s
26
+ Checkpoint activations: False
27
+ built topk=15 attn=moba layer0.top_k=15 (compiling flex...)
28
+ topk 15 gutenberg L30720 ppl 24.712 nll 3.2073 win 16 54s
29
+ topk 15 arxiv L30720 ppl 67.401 nll 4.2107 win 16 6s
30
+ topk 15 pubmed L30720 ppl 16.393 nll 2.7968 win 16 6s
31
+ Checkpoint activations: False
32
+ built topk=8 attn=moba layer0.top_k=8 (compiling flex...)
33
+ topk 8 gutenberg L30720 ppl 25.779 nll 3.2496 win 16 54s
34
+ topk 8 arxiv L30720 ppl 73.672 nll 4.2996 win 16 6s
35
+ topk 8 pubmed L30720 ppl 18.760 nll 2.9317 win 16 6s
36
+ wrote /mloscratch/homes/navasard/sparse/SparseAtt/eval/results/L365M_8K/ppl_resamp365_L30720_gutenberg.tsv
37
+ wrote /mloscratch/homes/navasard/sparse/SparseAtt/eval/results/L365M_8K/ppl_resamp365_L30720_arxiv.tsv
38
+ wrote /mloscratch/homes/navasard/sparse/SparseAtt/eval/results/L365M_8K/ppl_resamp365_L30720_pubmed.tsv
39
+ DONE resamp365
epfl_final/train_logs/fixed_nrb1.log ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/checkpoints/run_20260706_040422
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/run_20260706_040422",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": true,
14
+ "num_epochs": 1,
15
+ "max_steps": null,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 10,
27
+ "seed": 42,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "strategy": "ddp",
31
+ "mixed_precision": "bf16",
32
+ "wandb_enabled": true,
33
+ "wandb_project": "stochastic_sparsity",
34
+ "wandb_name": "fixed nrb1 diag+1",
35
+ "wandb_tags": [
36
+ "qwen3",
37
+ "1.2b",
38
+ "sparse_stochastic",
39
+ "nrb1",
40
+ "fixed",
41
+ "extreme"
42
+ ],
43
+ "hidden_size": 1536,
44
+ "intermediate_size": 6144,
45
+ "num_attention_heads": 12,
46
+ "num_key_value_heads": 4,
47
+ "num_hidden_layers": null,
48
+ "head_dim": null,
49
+ "attention_type": "sparse_stochastic",
50
+ "sparse_block_size": 128,
51
+ "sparse_num_random_blocks": 1,
52
+ "sparse_mask_pool_size": 1,
53
+ "sparse_val_dense_compare": false,
54
+ "sparse_layer_indices": null,
55
+ "sparse_mask_cache_dir": null,
56
+ "dense_mode": false,
57
+ "dense_step_intervals": null
58
+ }
59
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
60
+ Initializing model from scratch (random weights)...
61
+ Checkpoint activations: False
62
+ Checkpoint activations: False
63
+ Checkpoint activations: False
64
+
65
+
66
+ ================================================================================
67
+ MODEL ARCHITECTURE
68
+ ================================================================================
69
+ Model config:
70
+ vocab_size: 151936
71
+ hidden_size: 1536
72
+ num_hidden_layers: 28
73
+ num_attention_heads: 12
74
+ num_key_value_heads: 4
75
+ head_dim: 128
76
+ intermediate_size: 6144
77
+ max_position_embeddings: 32768
78
+ rope_theta: 1000000
79
+ attention_type: sparse_stochastic
80
+ sparse_block_size: 128
81
+ sparse_num_random_blocks: 1
82
+ sparse_mask_pool_size: 1
83
+ sparse_max_seq_length: 8192
84
+
85
+ Parameter count:
86
+ Total parameters: 1,202,352,640
87
+ Trainable parameters: 1,202,352,640
88
+ Non-trainable parameters: 0
89
+ Model size (BF16): 2.40 GB
90
+
91
+ --------------------------------------------------------------------------------
92
+ LAYER-BY-LAYER SUMMARY
93
+ --------------------------------------------------------------------------------
94
+ /mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/nn/attention/flex_attention.py:2055: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
95
+
96
+ SOLUTION: Use torch.compile(flex_attention)(...)
97
+
98
+ If you want to debug your score_mod/mask_mod, you can set:
99
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
100
+
101
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
102
+ _warn_once(
103
+ ================================================================================================================================================================
104
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
105
+ ================================================================================================================================================================
106
+ Qwen3ForCausalLM [2, 8192] -- -- True
107
+ ├─Qwen3Model: 1-1 -- [2, 8192, 1536] -- True
108
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 1536] 233,373,696 True
109
+ │ └─ModuleList: 2-2 -- -- -- True
110
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
111
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
112
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
113
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
114
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
115
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
116
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
117
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
118
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
119
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
120
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
121
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
122
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
123
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
124
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
125
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
126
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
127
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
128
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
129
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
130
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
131
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
132
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
133
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
134
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
135
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
136
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
137
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
138
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 1536] [2, 8192, 1536] 1,536 True
139
+ ├─Linear: 1-2 [2, 8192, 1536] [2, 8192, 151936] 233,373,696 True
140
+ ================================================================================================================================================================
141
+ Total params: 1,435,726,336
142
+ Trainable params: 1,435,726,336
143
+ Non-trainable params: 0
144
+ Total mult-adds (G): 2.87
145
+ ================================================================================================================================================================
146
+ Input size (MB): 0.13
147
+ Forward/backward pass size (MB): 52437.19
148
+ Params size (MB): 2871.45
149
+ Estimated Total Size (MB): 55308.77
150
+ ================================================================================================================================================================
151
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
152
+ ================================================================================
153
+
154
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
155
+ Using pre-tokenized dataset (no runtime tokenization)
156
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+
161
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
162
+ Dataset split: 3027764 train, 159356 validation
163
+ Training examples (packed, train split): 3027764
164
+ Validation examples (packed, val split): 159356
165
+ Per-device batch size: 2
166
+ World size (GPUs): 3
167
+ Gradient accumulation steps: 10
168
+ Effective batch size (seqs/step): 60
169
+ Sequence length: 8192
170
+ Tokens per optimizer step: 491,520
171
+ Micro-batches per epoch (per rank): 504627
172
+ Optimizer steps per epoch: 50462
173
+ Total optimizer steps: 50462
174
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
175
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
176
+ wandb: Tracking run with wandb version 0.28.0
177
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260706_040451-i83whqph
178
+ wandb: Run `wandb offline` to turn off syncing.
179
+ wandb: Syncing run fixed nrb1 diag+1
180
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
181
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/i83whqph
182
+ Starting training...
183
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
184
+ Step 10/50462 | Loss: 12.2484 | LR: 6.67e-06 | 7527.4ms/step | 8.0 samples/s
185
+ Step 20/50462 | Loss: 12.1240 | LR: 1.33e-05 | 2683.0ms/step | 22.4 samples/s
186
+ Step 30/50462 | Loss: 11.5407 | LR: 2.00e-05 | 2682.9ms/step | 22.4 samples/s
187
+ Step 40/50462 | Loss: 10.4363 | LR: 2.67e-05 | 2681.6ms/step | 22.4 samples/s
188
+ Step 50/50462 | Loss: 9.9149 | LR: 3.33e-05 | 2679.8ms/step | 22.4 samples/s
189
+ Step 60/50462 | Loss: 9.4867 | LR: 4.00e-05 | 2679.1ms/step | 22.4 samples/s
190
+ Step 70/50462 | Loss: 9.0238 | LR: 4.67e-05 | 2743.8ms/step | 21.9 samples/s
191
+ Step 80/50462 | Loss: 8.4818 | LR: 5.33e-05 | 2675.4ms/step | 22.4 samples/s
192
+ Step 90/50462 | Loss: 7.9989 | LR: 6.00e-05 | 2681.4ms/step | 22.4 samples/s
193
+ Step 100/50462 | Loss: 7.5997 | LR: 6.67e-05 | 2682.5ms/step | 22.4 samples/s
194
+ Step 110/50462 | Loss: 7.3385 | LR: 7.33e-05 | 2687.3ms/step | 22.3 samples/s
195
+ Step 120/50462 | Loss: 7.1860 | LR: 8.00e-05 | 2690.4ms/step | 22.3 samples/s
196
+ Step 130/50462 | Loss: 7.0646 | LR: 8.67e-05 | 2692.3ms/step | 22.3 samples/s
197
+ Step 140/50462 | Loss: 6.9363 | LR: 9.33e-05 | 2695.4ms/step | 22.3 samples/s
198
+ Step 150/50462 | Loss: 6.8000 | LR: 1.00e-04 | 2694.6ms/step | 22.3 samples/s
199
+ Step 160/50462 | Loss: 6.6806 | LR: 1.07e-04 | 2696.4ms/step | 22.3 samples/s
200
+ Step 170/50462 | Loss: 6.5531 | LR: 1.13e-04 | 2696.5ms/step | 22.3 samples/s
201
+ Step 180/50462 | Loss: 6.4830 | LR: 1.20e-04 | 2699.6ms/step | 22.2 samples/s
202
+ Step 190/50462 | Loss: 6.4046 | LR: 1.27e-04 | 2698.2ms/step | 22.2 samples/s
203
+ Step 200/50462 | Loss: 6.3157 | LR: 1.33e-04 | 2700.1ms/step | 22.2 samples/s
204
+ Step 210/50462 | Loss: 6.2217 | LR: 1.40e-04 | 2699.9ms/step | 22.2 samples/s
205
+ Step 220/50462 | Loss: 6.1521 | LR: 1.47e-04 | 2700.2ms/step | 22.2 samples/s
206
+ Step 230/50462 | Loss: 6.1420 | LR: 1.53e-04 | 2698.8ms/step | 22.2 samples/s
207
+ Step 240/50462 | Loss: 6.0774 | LR: 1.60e-04 | 2698.4ms/step | 22.2 samples/s
208
+ Step 250/50462 | Loss: 6.0141 | LR: 1.67e-04 | 2701.0ms/step | 22.2 samples/s
209
+ Validation at step 250: Loss = 5.9621, Perplexity = 388.41
210
+ Step 260/50462 | Loss: 5.9378 | LR: 1.73e-04 | 6740.0ms/step | 8.9 samples/s
211
+ Step 270/50462 | Loss: 5.9469 | LR: 1.80e-04 | 2689.4ms/step | 22.3 samples/s
212
+ Step 280/50462 | Loss: 5.8680 | LR: 1.87e-04 | 2697.2ms/step | 22.2 samples/s
213
+ Step 290/50462 | Loss: 5.8074 | LR: 1.93e-04 | 2700.4ms/step | 22.2 samples/s
214
+ Step 300/50462 | Loss: 5.7335 | LR: 2.00e-04 | 2701.3ms/step | 22.2 samples/s
215
+ Step 310/50462 | Loss: 5.6945 | LR: 2.07e-04 | 2703.0ms/step | 22.2 samples/s
216
+ Step 320/50462 | Loss: 5.6354 | LR: 2.13e-04 | 2703.4ms/step | 22.2 samples/s
217
+ Step 330/50462 | Loss: 5.6109 | LR: 2.20e-04 | 2702.0ms/step | 22.2 samples/s
218
+ Step 340/50462 | Loss: 5.5531 | LR: 2.27e-04 | 2698.8ms/step | 22.2 samples/s
219
+ Step 350/50462 | Loss: 5.5068 | LR: 2.33e-04 | 2698.5ms/step | 22.2 samples/s
220
+ Step 360/50462 | Loss: 5.4480 | LR: 2.40e-04 | 2702.7ms/step | 22.2 samples/s
221
+ Step 370/50462 | Loss: 5.3898 | LR: 2.47e-04 | 2703.0ms/step | 22.2 samples/s
222
+ Step 380/50462 | Loss: 5.3795 | LR: 2.53e-04 | 2706.3ms/step | 22.2 samples/s
223
+ Step 390/50462 | Loss: 5.3246 | LR: 2.60e-04 | 2702.8ms/step | 22.2 samples/s
224
+ Step 400/50462 | Loss: 5.2640 | LR: 2.67e-04 | 2702.4ms/step | 22.2 samples/s
225
+ Step 410/50462 | Loss: 5.2326 | LR: 2.73e-04 | 2705.3ms/step | 22.2 samples/s
226
+ Step 420/50462 | Loss: 5.2115 | LR: 2.80e-04 | 2702.7ms/step | 22.2 samples/s
227
+ Step 430/50462 | Loss: 5.1535 | LR: 2.87e-04 | 2702.3ms/step | 22.2 samples/s
228
+ Step 440/50462 | Loss: 5.1121 | LR: 2.93e-04 | 2701.3ms/step | 22.2 samples/s
229
+ Step 450/50462 | Loss: 5.0737 | LR: 3.00e-04 | 2700.4ms/step | 22.2 samples/s
230
+ Step 460/50462 | Loss: 5.0504 | LR: 3.07e-04 | 2768.2ms/step | 21.7 samples/s
231
+ Step 470/50462 | Loss: 5.0068 | LR: 3.13e-04 | 2698.1ms/step | 22.2 samples/s
232
+ Step 480/50462 | Loss: 4.9795 | LR: 3.20e-04 | 2701.8ms/step | 22.2 samples/s
233
+ Step 490/50462 | Loss: 4.9861 | LR: 3.27e-04 | 2702.4ms/step | 22.2 samples/s
234
+ Step 500/50462 | Loss: 4.9464 | LR: 3.33e-04 | 2700.1ms/step | 22.2 samples/s
235
+ Validation at step 500: Loss = 4.8870, Perplexity = 132.56
236
+ Step 510/50462 | Loss: 4.8661 | LR: 3.40e-04 | 4150.5ms/step | 14.5 samples/s
237
+ Step 520/50462 | Loss: 4.8597 | LR: 3.47e-04 | 2699.1ms/step | 22.2 samples/s
238
+ Step 530/50462 | Loss: 4.8921 | LR: 3.53e-04 | 2766.5ms/step | 21.7 samples/s
239
+ Step 540/50462 | Loss: 4.7909 | LR: 3.60e-04 | 2703.6ms/step | 22.2 samples/s
240
+ Step 550/50462 | Loss: 4.7424 | LR: 3.67e-04 | 2770.0ms/step | 21.7 samples/s
241
+ Step 560/50462 | Loss: 4.7633 | LR: 3.73e-04 | 2704.4ms/step | 22.2 samples/s
242
+ Step 570/50462 | Loss: 4.7767 | LR: 3.80e-04 | 2703.8ms/step | 22.2 samples/s
243
+ Step 580/50462 | Loss: 4.6568 | LR: 3.87e-04 | 2703.5ms/step | 22.2 samples/s
244
+ Step 590/50462 | Loss: 4.6375 | LR: 3.93e-04 | 2703.8ms/step | 22.2 samples/s
245
+ Step 600/50462 | Loss: 4.6142 | LR: 4.00e-04 | 2701.1ms/step | 22.2 samples/s
246
+ Step 610/50462 | Loss: 4.6426 | LR: 4.07e-04 | 2701.4ms/step | 22.2 samples/s
247
+ Step 620/50462 | Loss: 4.6182 | LR: 4.13e-04 | 2702.1ms/step | 22.2 samples/s
248
+ Step 630/50462 | Loss: 4.5529 | LR: 4.20e-04 | 2701.9ms/step | 22.2 samples/s
249
+ Step 640/50462 | Loss: 4.5129 | LR: 4.27e-04 | 2704.7ms/step | 22.2 samples/s
250
+ Step 650/50462 | Loss: 4.4876 | LR: 4.33e-04 | 2704.0ms/step | 22.2 samples/s
251
+ Step 660/50462 | Loss: 4.4495 | LR: 4.40e-04 | 2702.7ms/step | 22.2 samples/s
252
+ Step 670/50462 | Loss: 4.4391 | LR: 4.47e-04 | 2700.4ms/step | 22.2 samples/s
253
+ Step 680/50462 | Loss: 4.4193 | LR: 4.53e-04 | 2700.4ms/step | 22.2 samples/s
254
+ Step 690/50462 | Loss: 4.3732 | LR: 4.60e-04 | 2702.2ms/step | 22.2 samples/s
255
+ Step 700/50462 | Loss: 4.3868 | LR: 4.67e-04 | 2703.1ms/step | 22.2 samples/s
256
+ Step 710/50462 | Loss: 4.3452 | LR: 4.73e-04 | 2705.3ms/step | 22.2 samples/s
257
+ Step 720/50462 | Loss: 4.3096 | LR: 4.80e-04 | 2702.9ms/step | 22.2 samples/s
258
+ Step 730/50462 | Loss: 4.2990 | LR: 4.87e-04 | 2703.7ms/step | 22.2 samples/s
259
+ Step 740/50462 | Loss: 4.2616 | LR: 4.93e-04 | 2704.9ms/step | 22.2 samples/s
260
+ Step 750/50462 | Loss: 4.2783 | LR: 5.00e-04 | 2703.0ms/step | 22.2 samples/s
261
+ Validation at step 750: Loss = 4.2548, Perplexity = 70.44
262
+ Step 760/50462 | Loss: 4.2222 | LR: 5.00e-04 | 4148.5ms/step | 14.5 samples/s
263
+ Step 770/50462 | Loss: 4.2413 | LR: 5.00e-04 | 2700.3ms/step | 22.2 samples/s
264
+ Step 780/50462 | Loss: 4.2028 | LR: 5.00e-04 | 2704.8ms/step | 22.2 samples/s
265
+ Step 790/50462 | Loss: 4.2029 | LR: 5.00e-04 | 2704.6ms/step | 22.2 samples/s
266
+ Step 800/50462 | Loss: 4.1514 | LR: 5.00e-04 | 2756.9ms/step | 21.8 samples/s
267
+ Step 810/50462 | Loss: 4.1582 | LR: 5.00e-04 | 2702.5ms/step | 22.2 samples/s
268
+ Step 820/50462 | Loss: 4.1472 | LR: 5.00e-04 | 2704.7ms/step | 22.2 samples/s
269
+ Step 830/50462 | Loss: 4.1297 | LR: 5.00e-04 | 2704.7ms/step | 22.2 samples/s
270
+ Step 840/50462 | Loss: 4.0992 | LR: 5.00e-04 | 2705.1ms/step | 22.2 samples/s
271
+ Step 850/50462 | Loss: 4.0617 | LR: 5.00e-04 | 2704.1ms/step | 22.2 samples/s
272
+ Step 860/50462 | Loss: 4.0601 | LR: 5.00e-04 | 2702.3ms/step | 22.2 samples/s
273
+ Step 870/50462 | Loss: 4.0459 | LR: 5.00e-04 | 2760.6ms/step | 21.7 samples/s
274
+ Step 880/50462 | Loss: 4.0262 | LR: 5.00e-04 | 2757.3ms/step | 21.8 samples/s
275
+ Step 890/50462 | Loss: 4.0214 | LR: 5.00e-04 | 2702.7ms/step | 22.2 samples/s
276
+ Step 900/50462 | Loss: 4.0181 | LR: 5.00e-04 | 2696.9ms/step | 22.2 samples/s
277
+ Step 910/50462 | Loss: 3.9917 | LR: 5.00e-04 | 2694.0ms/step | 22.3 samples/s
278
+ Step 920/50462 | Loss: 3.9486 | LR: 5.00e-04 | 2697.5ms/step | 22.2 samples/s
279
+ Step 930/50462 | Loss: 4.0074 | LR: 5.00e-04 | 2703.6ms/step | 22.2 samples/s
280
+ Step 940/50462 | Loss: 3.9516 | LR: 5.00e-04 | 2706.2ms/step | 22.2 samples/s
281
+ Step 950/50462 | Loss: 3.9381 | LR: 5.00e-04 | 2707.8ms/step | 22.2 samples/s
282
+ Step 960/50462 | Loss: 3.9388 | LR: 5.00e-04 | 2708.8ms/step | 22.2 samples/s
283
+ Step 970/50462 | Loss: 3.9318 | LR: 5.00e-04 | 2709.3ms/step | 22.1 samples/s
284
+ Step 980/50462 | Loss: 3.8942 | LR: 5.00e-04 | 2710.0ms/step | 22.1 samples/s
285
+ Step 990/50462 | Loss: 3.9123 | LR: 5.00e-04 | 2710.5ms/step | 22.1 samples/s
286
+ Step 1000/50462 | Loss: 3.9161 | LR: 5.00e-04 | 2712.9ms/step | 22.1 samples/s
287
+ Validation at step 1000: Loss = 3.9162, Perplexity = 50.21
288
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/run_20260706_040422/checkpoint-1000
289
+ Step 1010/50462 | Loss: 3.8950 | LR: 5.00e-04 | 5064.2ms/step | 11.8 samples/s
290
+ Step 1020/50462 | Loss: 3.9062 | LR: 5.00e-04 | 2700.0ms/step | 22.2 samples/s
291
+ Step 1030/50462 | Loss: 3.8888 | LR: 5.00e-04 | 2712.5ms/step | 22.1 samples/s
292
+ Step 1040/50462 | Loss: 3.8945 | LR: 5.00e-04 | 2714.8ms/step | 22.1 samples/s
293
+ Step 1050/50462 | Loss: 3.8628 | LR: 5.00e-04 | 2715.6ms/step | 22.1 samples/s
294
+ Step 1060/50462 | Loss: 3.8635 | LR: 5.00e-04 | 2713.4ms/step | 22.1 samples/s
295
+ Step 1070/50462 | Loss: 3.8484 | LR: 5.00e-04 | 2713.7ms/step | 22.1 samples/s
296
+ Step 1080/50462 | Loss: 3.8564 | LR: 5.00e-04 | 2713.0ms/step | 22.1 samples/s
297
+ Step 1090/50462 | Loss: 3.8182 | LR: 5.00e-04 | 2714.4ms/step | 22.1 samples/s
298
+ Step 1100/50462 | Loss: 3.8417 | LR: 5.00e-04 | 2712.7ms/step | 22.1 samples/s
299
+ Step 1110/50462 | Loss: 3.8512 | LR: 5.00e-04 | 2711.5ms/step | 22.1 samples/s
300
+ Step 1120/50462 | Loss: 3.8053 | LR: 5.00e-04 | 2715.3ms/step | 22.1 samples/s
301
+ Step 1130/50462 | Loss: 3.8228 | LR: 5.00e-04 | 2769.0ms/step | 21.7 samples/s
302
+ Step 1140/50462 | Loss: 3.7991 | LR: 5.00e-04 | 2712.7ms/step | 22.1 samples/s
303
+ Step 1150/50462 | Loss: 3.7665 | LR: 5.00e-04 | 2712.0ms/step | 22.1 samples/s
304
+ Step 1160/50462 | Loss: 3.7871 | LR: 5.00e-04 | 2713.2ms/step | 22.1 samples/s
305
+ Step 1170/50462 | Loss: 3.7761 | LR: 5.00e-04 | 2713.2ms/step | 22.1 samples/s
306
+ Step 1180/50462 | Loss: 3.7418 | LR: 5.00e-04 | 2710.2ms/step | 22.1 samples/s
307
+ Step 1190/50462 | Loss: 3.7695 | LR: 5.00e-04 | 2707.3ms/step | 22.2 samples/s
308
+ Step 1200/50462 | Loss: 3.7765 | LR: 5.00e-04 | 2763.9ms/step | 21.7 samples/s
309
+ Step 1210/50462 | Loss: 3.7845 | LR: 5.00e-04 | 2708.6ms/step | 22.2 samples/s
310
+ Step 1220/50462 | Loss: 3.7430 | LR: 5.00e-04 | 2766.0ms/step | 21.7 samples/s
311
+ Step 1230/50462 | Loss: 3.7115 | LR: 5.00e-04 | 2713.7ms/step | 22.1 samples/s
312
+ Step 1240/50462 | Loss: 3.7684 | LR: 5.00e-04 | 2713.6ms/step | 22.1 samples/s
313
+ Step 1250/50462 | Loss: 3.7305 | LR: 5.00e-04 | 2711.0ms/step | 22.1 samples/s
314
+ Validation at step 1250: Loss = 3.7457, Perplexity = 42.34
315
+ Step 1260/50462 | Loss: 3.7549 | LR: 5.00e-04 | 4160.7ms/step | 14.4 samples/s
316
+ Step 1270/50462 | Loss: 3.7178 | LR: 5.00e-04 | 2713.5ms/step | 22.1 samples/s
317
+ Step 1280/50462 | Loss: 3.7033 | LR: 5.00e-04 | 2714.4ms/step | 22.1 samples/s
318
+ Step 1290/50462 | Loss: 3.7069 | LR: 5.00e-04 | 2713.7ms/step | 22.1 samples/s
319
+ Step 1300/50462 | Loss: 3.6999 | LR: 5.00e-04 | 2715.0ms/step | 22.1 samples/s
320
+ Step 1310/50462 | Loss: 3.7032 | LR: 5.00e-04 | 2709.7ms/step | 22.1 samples/s
321
+ Step 1320/50462 | Loss: 3.6988 | LR: 5.00e-04 | 2715.1ms/step | 22.1 samples/s
322
+ Step 1330/50462 | Loss: 3.6967 | LR: 5.00e-04 | 2714.1ms/step | 22.1 samples/s
323
+ Step 1340/50462 | Loss: 3.6827 | LR: 5.00e-04 | 2712.9ms/step | 22.1 samples/s
324
+ Step 1350/50462 | Loss: 3.6665 | LR: 5.00e-04 | 2711.9ms/step | 22.1 samples/s
325
+ Step 1360/50462 | Loss: 3.6848 | LR: 5.00e-04 | 2711.4ms/step | 22.1 samples/s
326
+ Step 1370/50462 | Loss: 3.6631 | LR: 5.00e-04 | 2710.6ms/step | 22.1 samples/s
327
+ Step 1380/50462 | Loss: 3.7003 | LR: 5.00e-04 | 2713.4ms/step | 22.1 samples/s
328
+ Step 1390/50462 | Loss: 3.6871 | LR: 5.00e-04 | 2713.9ms/step | 22.1 samples/s
329
+ Step 1400/50462 | Loss: 3.6462 | LR: 5.00e-04 | 2714.1ms/step | 22.1 samples/s
330
+ Step 1410/50462 | Loss: 3.6726 | LR: 5.00e-04 | 2712.8ms/step | 22.1 samples/s
331
+ Step 1420/50462 | Loss: 3.6439 | LR: 5.00e-04 | 2714.6ms/step | 22.1 samples/s
332
+ Step 1430/50462 | Loss: 3.6282 | LR: 5.00e-04 | 2713.8ms/step | 22.1 samples/s
333
+ Step 1440/50462 | Loss: 3.6609 | LR: 5.00e-04 | 2715.1ms/step | 22.1 samples/s
334
+ Step 1450/50462 | Loss: 3.6282 | LR: 5.00e-04 | 2714.9ms/step | 22.1 samples/s
335
+ Step 1460/50462 | Loss: 3.6319 | LR: 5.00e-04 | 2767.9ms/step | 21.7 samples/s
336
+ Step 1470/50462 | Loss: 3.6127 | LR: 5.00e-04 | 2713.4ms/step | 22.1 samples/s
337
+ Step 1480/50462 | Loss: 3.6521 | LR: 5.00e-04 | 2714.7ms/step | 22.1 samples/s
338
+ Step 1490/50462 | Loss: 3.6304 | LR: 5.00e-04 | 2712.8ms/step | 22.1 samples/s
339
+ Step 1500/50462 | Loss: 3.5960 | LR: 5.00e-04 | 2716.0ms/step | 22.1 samples/s
340
+ Validation at step 1500: Loss = 3.6393, Perplexity = 38.06
341
+ Step 1510/50462 | Loss: 3.6383 | LR: 5.00e-04 | 4173.6ms/step | 14.4 samples/s
342
+ Step 1520/50462 | Loss: 3.6056 | LR: 5.00e-04 | 2716.1ms/step | 22.1 samples/s
343
+ Step 1530/50462 | Loss: 3.6322 | LR: 5.00e-04 | 2718.6ms/step | 22.1 samples/s
344
+ Step 1540/50462 | Loss: 3.5982 | LR: 5.00e-04 | 2774.0ms/step | 21.6 samples/s
345
+ Step 1550/50462 | Loss: 3.6089 | LR: 5.00e-04 | 2712.1ms/step | 22.1 samples/s
346
+ Step 1560/50462 | Loss: 3.5995 | LR: 5.00e-04 | 2768.0ms/step | 21.7 samples/s
347
+ Step 1570/50462 | Loss: 3.6266 | LR: 5.00e-04 | 2714.6ms/step | 22.1 samples/s
348
+ Step 1580/50462 | Loss: 3.5970 | LR: 5.00e-04 | 2714.8ms/step | 22.1 samples/s
349
+ W0706 05:19:15.162000 210 torch/distributed/elastic/agent/server/api.py:753] Received Signals.SIGTERM death signal, shutting down workers
350
+ W0706 05:19:15.168000 210 torch/distributed/elastic/multiprocessing/api.py:1014] Sending process 221 closing signal SIGTERM
351
+ Traceback (most recent call last):
352
+ File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
353
+ return _run_code(code, main_globals, None,
354
+ File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
355
+ exec(code, run_globals)
356
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1020, in <module>
357
+ main()
358
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 367, in wrapper
359
+ return f(*args, **kwargs)
360
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1016, in main
361
+ run(args)
362
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1007, in run
363
+ elastic_launch(
364
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 191, in __call__
365
+ return launch_agent(self._config, self._entrypoint, list(args))
366
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 362, in launch_agent
367
+ result = agent.run()
368
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
369
+ result = f(*args, **kwargs)
370
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/agent/server/api.py", line 745, in run
371
+ result = self._invoke_run(role)
372
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/agent/server/api.py", line 923, in _invoke_run
373
+ time.sleep(monitor_interval)
374
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
375
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
376
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 210 got signal: 15
epfl_final/train_logs/resampled_nrb1.log ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/checkpoints/run_20260706_035226
2
+ Running config:
3
+ {
4
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
5
+ "model_dtype": "bfloat16",
6
+ "init_from_scratch": true,
7
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
8
+ "val_path": null,
9
+ "max_seq_length": 8192,
10
+ "num_workers": 8,
11
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/run_20260706_035226",
12
+ "resume_from_checkpoint": null,
13
+ "force_new_run": true,
14
+ "num_epochs": 1,
15
+ "max_steps": null,
16
+ "per_device_batch_size": 2,
17
+ "gradient_accumulation_steps": 10,
18
+ "learning_rate": 0.0005,
19
+ "weight_decay": 0.01,
20
+ "warmup_steps": 750,
21
+ "lr_scheduler": "cosine",
22
+ "max_grad_norm": 1.0,
23
+ "save_steps": 1000,
24
+ "eval_steps": 250,
25
+ "eval_batches": 50,
26
+ "logging_steps": 10,
27
+ "seed": 42,
28
+ "verbose": true,
29
+ "checkpoint_activations": false,
30
+ "strategy": "ddp",
31
+ "mixed_precision": "bf16",
32
+ "wandb_enabled": true,
33
+ "wandb_project": "stochastic_sparsity",
34
+ "wandb_name": "resampled nrb1 diag+1",
35
+ "wandb_tags": [
36
+ "qwen3",
37
+ "1.2b",
38
+ "sparse_stochastic",
39
+ "nrb1",
40
+ "resampled",
41
+ "extreme"
42
+ ],
43
+ "hidden_size": 1536,
44
+ "intermediate_size": 6144,
45
+ "num_attention_heads": 12,
46
+ "num_key_value_heads": 4,
47
+ "num_hidden_layers": null,
48
+ "head_dim": null,
49
+ "attention_type": "sparse_stochastic",
50
+ "sparse_block_size": 128,
51
+ "sparse_num_random_blocks": 1,
52
+ "sparse_mask_pool_size": 1000,
53
+ "sparse_val_dense_compare": false,
54
+ "sparse_layer_indices": null,
55
+ "sparse_mask_cache_dir": "/mloscratch/homes/navasard/sparse/mask_cache_nrb1",
56
+ "dense_mode": false,
57
+ "dense_step_intervals": null
58
+ }
59
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
60
+ Initializing model from scratch (random weights)...
61
+ Checkpoint activations: False
62
+ Checkpoint activations: False
63
+ Checkpoint activations: False
64
+
65
+
66
+ ================================================================================
67
+ MODEL ARCHITECTURE
68
+ ================================================================================
69
+ Model config:
70
+ vocab_size: 151936
71
+ hidden_size: 1536
72
+ num_hidden_layers: 28
73
+ num_attention_heads: 12
74
+ num_key_value_heads: 4
75
+ head_dim: 128
76
+ intermediate_size: 6144
77
+ max_position_embeddings: 32768
78
+ rope_theta: 1000000
79
+ attention_type: sparse_stochastic
80
+ sparse_block_size: 128
81
+ sparse_num_random_blocks: 1
82
+ sparse_mask_pool_size: 1000
83
+ sparse_max_seq_length: 8192
84
+
85
+ Parameter count:
86
+ Total parameters: 1,202,352,640
87
+ Trainable parameters: 1,202,352,640
88
+ Non-trainable parameters: 0
89
+ Model size (BF16): 2.40 GB
90
+
91
+ --------------------------------------------------------------------------------
92
+ LAYER-BY-LAYER SUMMARY
93
+ --------------------------------------------------------------------------------
94
+ /mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/nn/attention/flex_attention.py:2055: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
95
+
96
+ SOLUTION: Use torch.compile(flex_attention)(...)
97
+
98
+ If you want to debug your score_mod/mask_mod, you can set:
99
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
100
+
101
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
102
+ _warn_once(
103
+ ================================================================================================================================================================
104
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
105
+ ================================================================================================================================================================
106
+ Qwen3ForCausalLM [2, 8192] -- -- True
107
+ ├─Qwen3Model: 1-1 -- [2, 8192, 1536] -- True
108
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 1536] 233,373,696 True
109
+ │ └─ModuleList: 2-2 -- -- -- True
110
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
111
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
112
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
113
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
114
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
115
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
116
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
117
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
118
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
119
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
120
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
121
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
122
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
123
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
124
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
125
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
126
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
127
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
128
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
129
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
130
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
131
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
132
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
133
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
134
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
135
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
136
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
137
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
138
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 1536] [2, 8192, 1536] 1,536 True
139
+ ├─Linear: 1-2 [2, 8192, 1536] [2, 8192, 151936] 233,373,696 True
140
+ ================================================================================================================================================================
141
+ Total params: 1,435,726,336
142
+ Trainable params: 1,435,726,336
143
+ Non-trainable params: 0
144
+ Total mult-adds (G): 2.87
145
+ ================================================================================================================================================================
146
+ Input size (MB): 0.13
147
+ Forward/backward pass size (MB): 52437.19
148
+ Params size (MB): 2871.45
149
+ Estimated Total Size (MB): 55308.77
150
+ ================================================================================================================================================================
151
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
152
+ ================================================================================
153
+
154
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
155
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
156
+ Using pre-tokenized dataset (no runtime tokenization)
157
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
158
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
159
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
160
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
161
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
162
+ Dataset split: 3027764 train, 159356 validation
163
+ Training examples (packed, train split): 3027764
164
+ Validation examples (packed, val split): 159356
165
+ Per-device batch size: 2
166
+ World size (GPUs): 3
167
+ Gradient accumulation steps: 10
168
+ Effective batch size (seqs/step): 60
169
+ Sequence length: 8192
170
+ Tokens per optimizer step: 491,520
171
+ Micro-batches per epoch (per rank): 504627
172
+ Optimizer steps per epoch: 50462
173
+ Total optimizer steps: 50462
174
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
175
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
176
+ wandb: Tracking run with wandb version 0.28.0
177
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260706_035257-1pbbmh59
178
+ wandb: Run `wandb offline` to turn off syncing.
179
+ wandb: Syncing run resampled nrb1 diag+1
180
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
181
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/1pbbmh59
182
+ Starting training...
183
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
184
+ Step 10/50462 | Loss: 12.2487 | LR: 6.67e-06 | 7849.5ms/step | 7.6 samples/s
185
+ Step 20/50462 | Loss: 12.1281 | LR: 1.33e-05 | 2712.8ms/step | 22.1 samples/s
186
+ Step 30/50462 | Loss: 11.5520 | LR: 2.00e-05 | 2712.9ms/step | 22.1 samples/s
187
+ Step 40/50462 | Loss: 10.4438 | LR: 2.67e-05 | 2707.7ms/step | 22.2 samples/s
188
+ Step 50/50462 | Loss: 9.9194 | LR: 3.33e-05 | 2706.0ms/step | 22.2 samples/s
189
+ Step 60/50462 | Loss: 9.4912 | LR: 4.00e-05 | 2703.6ms/step | 22.2 samples/s
190
+ Step 70/50462 | Loss: 9.0321 | LR: 4.67e-05 | 2704.8ms/step | 22.2 samples/s
191
+ Step 80/50462 | Loss: 8.4877 | LR: 5.33e-05 | 2708.9ms/step | 22.1 samples/s
192
+ Step 90/50462 | Loss: 8.0049 | LR: 6.00e-05 | 2711.8ms/step | 22.1 samples/s
193
+ Step 100/50462 | Loss: 7.6035 | LR: 6.67e-05 | 2712.2ms/step | 22.1 samples/s
194
+ Step 110/50462 | Loss: 7.3411 | LR: 7.33e-05 | 2711.7ms/step | 22.1 samples/s
195
+ Step 120/50462 | Loss: 7.1885 | LR: 8.00e-05 | 2715.8ms/step | 22.1 samples/s
196
+ Step 130/50462 | Loss: 7.0661 | LR: 8.67e-05 | 2718.7ms/step | 22.1 samples/s
197
+ Step 140/50462 | Loss: 6.9361 | LR: 9.33e-05 | 2720.4ms/step | 22.1 samples/s
198
+ Step 150/50462 | Loss: 6.8014 | LR: 1.00e-04 | 2719.8ms/step | 22.1 samples/s
199
+ Step 160/50462 | Loss: 6.6800 | LR: 1.07e-04 | 2720.2ms/step | 22.1 samples/s
200
+ Step 170/50462 | Loss: 6.5537 | LR: 1.13e-04 | 2722.9ms/step | 22.0 samples/s
201
+ Step 180/50462 | Loss: 6.4709 | LR: 1.20e-04 | 2724.4ms/step | 22.0 samples/s
202
+ Step 190/50462 | Loss: 6.3962 | LR: 1.27e-04 | 2723.7ms/step | 22.0 samples/s
203
+ Step 200/50462 | Loss: 6.3103 | LR: 1.33e-04 | 2722.1ms/step | 22.0 samples/s
204
+ Step 210/50462 | Loss: 6.2192 | LR: 1.40e-04 | 2722.3ms/step | 22.0 samples/s
205
+ Step 220/50462 | Loss: 6.1495 | LR: 1.47e-04 | 2721.7ms/step | 22.0 samples/s
206
+ Step 230/50462 | Loss: 6.1285 | LR: 1.53e-04 | 2722.6ms/step | 22.0 samples/s
207
+ Step 240/50462 | Loss: 6.0880 | LR: 1.60e-04 | 2723.4ms/step | 22.0 samples/s
208
+ Step 250/50462 | Loss: 6.0311 | LR: 1.67e-04 | 2723.0ms/step | 22.0 samples/s
209
+ Validation at step 250: Loss = 5.9991, Perplexity = 403.06
210
+ Step 260/50462 | Loss: 5.9490 | LR: 1.73e-04 | 5786.7ms/step | 10.4 samples/s
211
+ Step 270/50462 | Loss: 5.9466 | LR: 1.80e-04 | 2718.8ms/step | 22.1 samples/s
212
+ Step 280/50462 | Loss: 5.8604 | LR: 1.87e-04 | 2722.2ms/step | 22.0 samples/s
213
+ Step 290/50462 | Loss: 5.8283 | LR: 1.93e-04 | 2719.7ms/step | 22.1 samples/s
214
+ Step 300/50462 | Loss: 5.7623 | LR: 2.00e-04 | 2722.4ms/step | 22.0 samples/s
215
+ Step 310/50462 | Loss: 5.7100 | LR: 2.07e-04 | 2726.4ms/step | 22.0 samples/s
216
+ Step 320/50462 | Loss: 5.6344 | LR: 2.13e-04 | 2726.2ms/step | 22.0 samples/s
217
+ Step 330/50462 | Loss: 5.6107 | LR: 2.20e-04 | 2729.6ms/step | 22.0 samples/s
218
+ Step 340/50462 | Loss: 5.5687 | LR: 2.27e-04 | 2728.9ms/step | 22.0 samples/s
219
+ Step 350/50462 | Loss: 5.5140 | LR: 2.33e-04 | 2729.8ms/step | 22.0 samples/s
220
+ Step 360/50462 | Loss: 5.4525 | LR: 2.40e-04 | 2730.0ms/step | 22.0 samples/s
221
+ Step 370/50462 | Loss: 5.4094 | LR: 2.47e-04 | 2730.2ms/step | 22.0 samples/s
222
+ Step 380/50462 | Loss: 5.3872 | LR: 2.53e-04 | 2730.3ms/step | 22.0 samples/s
223
+ Step 390/50462 | Loss: 5.3373 | LR: 2.60e-04 | 2730.0ms/step | 22.0 samples/s
224
+ Step 400/50462 | Loss: 5.2693 | LR: 2.67e-04 | 2731.5ms/step | 22.0 samples/s
225
+ Step 410/50462 | Loss: 5.2467 | LR: 2.73e-04 | 2729.4ms/step | 22.0 samples/s
226
+ Step 420/50462 | Loss: 5.2083 | LR: 2.80e-04 | 2730.9ms/step | 22.0 samples/s
227
+ Step 430/50462 | Loss: 5.1244 | LR: 2.87e-04 | 2731.3ms/step | 22.0 samples/s
228
+ Step 440/50462 | Loss: 5.1650 | LR: 2.93e-04 | 2730.2ms/step | 22.0 samples/s
229
+ Step 450/50462 | Loss: 5.1326 | LR: 3.00e-04 | 2732.6ms/step | 22.0 samples/s
230
+ Step 460/50462 | Loss: 5.0389 | LR: 3.07e-04 | 2730.5ms/step | 22.0 samples/s
231
+ Step 470/50462 | Loss: 5.0087 | LR: 3.13e-04 | 2732.8ms/step | 22.0 samples/s
232
+ Step 480/50462 | Loss: 5.0167 | LR: 3.20e-04 | 2730.7ms/step | 22.0 samples/s
233
+ Step 490/50462 | Loss: 5.0158 | LR: 3.27e-04 | 2731.9ms/step | 22.0 samples/s
234
+ Step 500/50462 | Loss: 4.9535 | LR: 3.33e-04 | 2731.2ms/step | 22.0 samples/s
235
+ Validation at step 500: Loss = 4.8987, Perplexity = 134.11
236
+ Step 510/50462 | Loss: 4.8771 | LR: 3.40e-04 | 4211.5ms/step | 14.2 samples/s
237
+ Step 520/50462 | Loss: 4.8483 | LR: 3.47e-04 | 2732.1ms/step | 22.0 samples/s
238
+ Step 530/50462 | Loss: 4.9048 | LR: 3.53e-04 | 2733.9ms/step | 21.9 samples/s
239
+ Step 540/50462 | Loss: 4.8072 | LR: 3.60e-04 | 2735.6ms/step | 21.9 samples/s
240
+ Step 550/50462 | Loss: 4.7502 | LR: 3.67e-04 | 2843.2ms/step | 21.1 samples/s
241
+ Step 560/50462 | Loss: 4.7328 | LR: 3.73e-04 | 2733.3ms/step | 22.0 samples/s
242
+ Step 570/50462 | Loss: 4.7495 | LR: 3.80e-04 | 2844.7ms/step | 21.1 samples/s
243
+ Step 580/50462 | Loss: 4.6493 | LR: 3.87e-04 | 2736.2ms/step | 21.9 samples/s
244
+ Step 590/50462 | Loss: 4.6332 | LR: 3.93e-04 | 2737.0ms/step | 21.9 samples/s
245
+ Step 600/50462 | Loss: 4.6240 | LR: 4.00e-04 | 2735.6ms/step | 21.9 samples/s
246
+ Step 610/50462 | Loss: 4.5943 | LR: 4.07e-04 | 2736.3ms/step | 21.9 samples/s
247
+ Step 620/50462 | Loss: 4.5894 | LR: 4.13e-04 | 2842.6ms/step | 21.1 samples/s
248
+ Step 630/50462 | Loss: 4.5361 | LR: 4.20e-04 | 2724.5ms/step | 22.0 samples/s
249
+ Step 640/50462 | Loss: 4.5136 | LR: 4.27e-04 | 2729.8ms/step | 22.0 samples/s
250
+ Step 650/50462 | Loss: 4.4822 | LR: 4.33e-04 | 2732.6ms/step | 22.0 samples/s
251
+ Step 660/50462 | Loss: 4.4492 | LR: 4.40e-04 | 2732.5ms/step | 22.0 samples/s
252
+ Step 670/50462 | Loss: 4.4211 | LR: 4.47e-04 | 2731.7ms/step | 22.0 samples/s
253
+ Step 680/50462 | Loss: 4.4125 | LR: 4.53e-04 | 2731.4ms/step | 22.0 samples/s
254
+ Step 690/50462 | Loss: 4.3521 | LR: 4.60e-04 | 2734.3ms/step | 21.9 samples/s
255
+ Step 700/50462 | Loss: 4.3790 | LR: 4.67e-04 | 2733.2ms/step | 22.0 samples/s
256
+ Step 710/50462 | Loss: 4.3428 | LR: 4.73e-04 | 2733.6ms/step | 21.9 samples/s
257
+ Step 720/50462 | Loss: 4.3330 | LR: 4.80e-04 | 2733.0ms/step | 22.0 samples/s
258
+ Step 730/50462 | Loss: 4.2979 | LR: 4.87e-04 | 2733.4ms/step | 22.0 samples/s
259
+ Step 740/50462 | Loss: 4.2526 | LR: 4.93e-04 | 2733.7ms/step | 21.9 samples/s
260
+ Step 750/50462 | Loss: 4.2661 | LR: 5.00e-04 | 2734.8ms/step | 21.9 samples/s
261
+ Validation at step 750: Loss = 4.2387, Perplexity = 69.32
262
+ Step 760/50462 | Loss: 4.2168 | LR: 5.00e-04 | 4204.9ms/step | 14.3 samples/s
263
+ Step 770/50462 | Loss: 4.2507 | LR: 5.00e-04 | 2732.1ms/step | 22.0 samples/s
264
+ Step 780/50462 | Loss: 4.2006 | LR: 5.00e-04 | 2731.7ms/step | 22.0 samples/s
265
+ Step 790/50462 | Loss: 4.1914 | LR: 5.00e-04 | 2734.0ms/step | 21.9 samples/s
266
+ Step 800/50462 | Loss: 4.1470 | LR: 5.00e-04 | 2732.1ms/step | 22.0 samples/s
267
+ Step 810/50462 | Loss: 4.1532 | LR: 5.00e-04 | 2732.8ms/step | 22.0 samples/s
268
+ Step 820/50462 | Loss: 4.1431 | LR: 5.00e-04 | 2731.2ms/step | 22.0 samples/s
269
+ Step 830/50462 | Loss: 4.1267 | LR: 5.00e-04 | 2731.2ms/step | 22.0 samples/s
270
+ Step 840/50462 | Loss: 4.0930 | LR: 5.00e-04 | 2731.3ms/step | 22.0 samples/s
271
+ Step 850/50462 | Loss: 4.0601 | LR: 5.00e-04 | 2730.8ms/step | 22.0 samples/s
272
+ Step 860/50462 | Loss: 4.0583 | LR: 5.00e-04 | 2732.0ms/step | 22.0 samples/s
273
+ Step 870/50462 | Loss: 4.0439 | LR: 5.00e-04 | 2731.0ms/step | 22.0 samples/s
274
+ Step 880/50462 | Loss: 4.0228 | LR: 5.00e-04 | 2729.8ms/step | 22.0 samples/s
275
+ Step 890/50462 | Loss: 4.0190 | LR: 5.00e-04 | 2732.7ms/step | 22.0 samples/s
276
+ Step 900/50462 | Loss: 4.0151 | LR: 5.00e-04 | 2733.5ms/step | 21.9 samples/s
277
+ Step 910/50462 | Loss: 3.9902 | LR: 5.00e-04 | 2731.2ms/step | 22.0 samples/s
278
+ Step 920/50462 | Loss: 3.9476 | LR: 5.00e-04 | 2731.8ms/step | 22.0 samples/s
279
+ Step 930/50462 | Loss: 4.0064 | LR: 5.00e-04 | 2732.4ms/step | 22.0 samples/s
280
+ Step 940/50462 | Loss: 3.9505 | LR: 5.00e-04 | 2731.4ms/step | 22.0 samples/s
281
+ Step 950/50462 | Loss: 3.9353 | LR: 5.00e-04 | 2731.6ms/step | 22.0 samples/s
282
+ Step 960/50462 | Loss: 3.9362 | LR: 5.00e-04 | 2732.2ms/step | 22.0 samples/s
283
+ Step 970/50462 | Loss: 3.9283 | LR: 5.00e-04 | 2732.3ms/step | 22.0 samples/s
284
+ Step 980/50462 | Loss: 3.8905 | LR: 5.00e-04 | 2734.2ms/step | 21.9 samples/s
285
+ Step 990/50462 | Loss: 3.9119 | LR: 5.00e-04 | 2734.7ms/step | 21.9 samples/s
286
+ Step 1000/50462 | Loss: 3.9167 | LR: 5.00e-04 | 2734.8ms/step | 21.9 samples/s
287
+ Validation at step 1000: Loss = 3.9140, Perplexity = 50.10
288
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/run_20260706_035226/checkpoint-1000
289
+ Step 1010/50462 | Loss: 3.8936 | LR: 5.00e-04 | 5118.7ms/step | 11.7 samples/s
290
+ Step 1020/50462 | Loss: 3.9031 | LR: 5.00e-04 | 2727.6ms/step | 22.0 samples/s
291
+ Step 1030/50462 | Loss: 3.8876 | LR: 5.00e-04 | 2730.8ms/step | 22.0 samples/s
292
+ Step 1040/50462 | Loss: 3.8949 | LR: 5.00e-04 | 2735.6ms/step | 21.9 samples/s
293
+ Step 1050/50462 | Loss: 3.8628 | LR: 5.00e-04 | 2825.2ms/step | 21.2 samples/s
294
+ Step 1060/50462 | Loss: 3.8628 | LR: 5.00e-04 | 2723.6ms/step | 22.0 samples/s
295
+ Step 1070/50462 | Loss: 3.8466 | LR: 5.00e-04 | 2825.4ms/step | 21.2 samples/s
296
+ Step 1080/50462 | Loss: 3.8539 | LR: 5.00e-04 | 2729.7ms/step | 22.0 samples/s
297
+ Step 1090/50462 | Loss: 3.8183 | LR: 5.00e-04 | 2732.7ms/step | 22.0 samples/s
298
+ Step 1100/50462 | Loss: 3.8414 | LR: 5.00e-04 | 2732.3ms/step | 22.0 samples/s
299
+ Step 1110/50462 | Loss: 3.8495 | LR: 5.00e-04 | 2733.0ms/step | 22.0 samples/s
300
+ Step 1120/50462 | Loss: 3.8048 | LR: 5.00e-04 | 2735.2ms/step | 21.9 samples/s
301
+ Step 1130/50462 | Loss: 3.8228 | LR: 5.00e-04 | 2826.8ms/step | 21.2 samples/s
302
+ Step 1140/50462 | Loss: 3.7977 | LR: 5.00e-04 | 2728.3ms/step | 22.0 samples/s
303
+ Step 1150/50462 | Loss: 3.7653 | LR: 5.00e-04 | 2731.6ms/step | 22.0 samples/s
304
+ Step 1160/50462 | Loss: 3.7864 | LR: 5.00e-04 | 2732.5ms/step | 22.0 samples/s
305
+ Step 1170/50462 | Loss: 3.7751 | LR: 5.00e-04 | 2734.0ms/step | 21.9 samples/s
306
+ Step 1180/50462 | Loss: 3.7397 | LR: 5.00e-04 | 2732.2ms/step | 22.0 samples/s
307
+ Step 1190/50462 | Loss: 3.7687 | LR: 5.00e-04 | 2731.8ms/step | 22.0 samples/s
308
+ Step 1200/50462 | Loss: 3.7776 | LR: 5.00e-04 | 2732.4ms/step | 22.0 samples/s
309
+ Step 1210/50462 | Loss: 3.7841 | LR: 5.00e-04 | 2734.3ms/step | 21.9 samples/s
310
+ Step 1220/50462 | Loss: 3.7423 | LR: 5.00e-04 | 2733.6ms/step | 21.9 samples/s
311
+ Step 1230/50462 | Loss: 3.7118 | LR: 5.00e-04 | 2733.1ms/step | 22.0 samples/s
312
+ Step 1240/50462 | Loss: 3.7669 | LR: 5.00e-04 | 2731.8ms/step | 22.0 samples/s
313
+ Step 1250/50462 | Loss: 3.7293 | LR: 5.00e-04 | 2734.4ms/step | 21.9 samples/s
314
+ Validation at step 1250: Loss = 3.7439, Perplexity = 42.26
315
+ Step 1260/50462 | Loss: 3.7533 | LR: 5.00e-04 | 4210.8ms/step | 14.2 samples/s
316
+ Step 1270/50462 | Loss: 3.7187 | LR: 5.00e-04 | 2734.1ms/step | 21.9 samples/s
317
+ Step 1280/50462 | Loss: 3.7036 | LR: 5.00e-04 | 2735.7ms/step | 21.9 samples/s
318
+ Step 1290/50462 | Loss: 3.7054 | LR: 5.00e-04 | 2734.4ms/step | 21.9 samples/s
319
+ Step 1300/50462 | Loss: 3.6988 | LR: 5.00e-04 | 2734.4ms/step | 21.9 samples/s
320
+ Step 1310/50462 | Loss: 3.7031 | LR: 5.00e-04 | 2733.2ms/step | 22.0 samples/s
321
+ Step 1320/50462 | Loss: 3.6987 | LR: 5.00e-04 | 2733.7ms/step | 21.9 samples/s
322
+ Step 1330/50462 | Loss: 3.6963 | LR: 5.00e-04 | 2728.7ms/step | 22.0 samples/s
323
+ Step 1340/50462 | Loss: 3.6819 | LR: 5.00e-04 | 2727.2ms/step | 22.0 samples/s
324
+ Step 1350/50462 | Loss: 3.6646 | LR: 5.00e-04 | 2730.2ms/step | 22.0 samples/s
325
+ Step 1360/50462 | Loss: 3.6852 | LR: 5.00e-04 | 2731.3ms/step | 22.0 samples/s
326
+ Step 1370/50462 | Loss: 3.6627 | LR: 5.00e-04 | 2732.5ms/step | 22.0 samples/s
327
+ Step 1380/50462 | Loss: 3.6991 | LR: 5.00e-04 | 2733.8ms/step | 21.9 samples/s
328
+ Step 1390/50462 | Loss: 3.6855 | LR: 5.00e-04 | 2732.2ms/step | 22.0 samples/s
329
+ Step 1400/50462 | Loss: 3.6452 | LR: 5.00e-04 | 2730.6ms/step | 22.0 samples/s
330
+ Step 1410/50462 | Loss: 3.6715 | LR: 5.00e-04 | 2732.2ms/step | 22.0 samples/s
331
+ Step 1420/50462 | Loss: 3.6436 | LR: 5.00e-04 | 2732.0ms/step | 22.0 samples/s
332
+ Step 1430/50462 | Loss: 3.6269 | LR: 5.00e-04 | 2734.1ms/step | 21.9 samples/s
333
+ Step 1440/50462 | Loss: 3.6598 | LR: 5.00e-04 | 2733.6ms/step | 21.9 samples/s
334
+ Step 1450/50462 | Loss: 3.6290 | LR: 5.00e-04 | 2732.4ms/step | 22.0 samples/s
335
+ Step 1460/50462 | Loss: 3.6302 | LR: 5.00e-04 | 2732.5ms/step | 22.0 samples/s
336
+ Step 1470/50462 | Loss: 3.6116 | LR: 5.00e-04 | 2734.3ms/step | 21.9 samples/s
337
+ Step 1480/50462 | Loss: 3.6510 | LR: 5.00e-04 | 2732.8ms/step | 22.0 samples/s
338
+ Step 1490/50462 | Loss: 3.6315 | LR: 5.00e-04 | 2733.5ms/step | 22.0 samples/s
339
+ Step 1500/50462 | Loss: 3.5970 | LR: 5.00e-04 | 2733.9ms/step | 21.9 samples/s
340
+ Validation at step 1500: Loss = 3.6397, Perplexity = 38.08
341
+ Step 1510/50462 | Loss: 3.6399 | LR: 5.00e-04 | 4209.6ms/step | 14.3 samples/s
342
+ Step 1520/50462 | Loss: 3.6057 | LR: 5.00e-04 | 2736.5ms/step | 21.9 samples/s
343
+ Step 1530/50462 | Loss: 3.6327 | LR: 5.00e-04 | 2735.3ms/step | 21.9 samples/s
344
+ Step 1540/50462 | Loss: 3.5982 | LR: 5.00e-04 | 2737.0ms/step | 21.9 samples/s
345
+ Step 1550/50462 | Loss: 3.6094 | LR: 5.00e-04 | 2736.3ms/step | 21.9 samples/s
346
+ Step 1560/50462 | Loss: 3.5990 | LR: 5.00e-04 | 2829.2ms/step | 21.2 samples/s
347
+ Step 1570/50462 | Loss: 3.6280 | LR: 5.00e-04 | 2730.5ms/step | 22.0 samples/s
348
+ Step 1580/50462 | Loss: 3.5972 | LR: 5.00e-04 | 2830.5ms/step | 21.2 samples/s
349
+ Step 1590/50462 | Loss: 3.6143 | LR: 5.00e-04 | 2733.4ms/step | 22.0 samples/s
350
+ Step 1600/50462 | Loss: 3.6102 | LR: 5.00e-04 | 2734.5ms/step | 21.9 samples/s
351
+ Step 1610/50462 | Loss: 3.5729 | LR: 5.00e-04 | 2735.7ms/step | 21.9 samples/s
352
+ Step 1620/50462 | Loss: 3.5985 | LR: 5.00e-04 | 2735.9ms/step | 21.9 samples/s
353
+ Step 1630/50462 | Loss: 3.6093 | LR: 5.00e-04 | 2735.9ms/step | 21.9 samples/s
354
+ Step 1640/50462 | Loss: 3.5807 | LR: 5.00e-04 | 2826.7ms/step | 21.2 samples/s
355
+ Step 1650/50462 | Loss: 3.5394 | LR: 5.00e-04 | 2731.7ms/step | 22.0 samples/s
356
+ Step 1660/50462 | Loss: 3.5663 | LR: 5.00e-04 | 2734.0ms/step | 21.9 samples/s
357
+ Step 1670/50462 | Loss: 3.5889 | LR: 5.00e-04 | 2735.1ms/step | 21.9 samples/s
358
+ Step 1680/50462 | Loss: 3.5619 | LR: 5.00e-04 | 2736.3ms/step | 21.9 samples/s
359
+ Step 1690/50462 | Loss: 3.5610 | LR: 5.00e-04 | 2735.0ms/step | 21.9 samples/s
360
+ Step 1700/50462 | Loss: 3.5697 | LR: 5.00e-04 | 2735.8ms/step | 21.9 samples/s
361
+ Step 1710/50462 | Loss: 3.5828 | LR: 5.00e-04 | 2733.7ms/step | 21.9 samples/s
362
+ Step 1720/50462 | Loss: 3.5525 | LR: 5.00e-04 | 2733.5ms/step | 21.9 samples/s
363
+ Step 1730/50462 | Loss: 3.5511 | LR: 5.00e-04 | 2735.4ms/step | 21.9 samples/s
364
+ Step 1740/50462 | Loss: 3.5757 | LR: 5.00e-04 | 2733.7ms/step | 21.9 samples/s
365
+ Step 1750/50462 | Loss: 3.5921 | LR: 5.00e-04 | 2734.3ms/step | 21.9 samples/s
366
+ Validation at step 1750: Loss = 3.5618, Perplexity = 35.23
367
+ Step 1760/50462 | Loss: 3.5675 | LR: 4.99e-04 | 4209.5ms/step | 14.3 samples/s
368
+ Step 1770/50462 | Loss: 3.5524 | LR: 4.99e-04 | 2733.5ms/step | 21.9 samples/s
369
+ Step 1780/50462 | Loss: 3.5203 | LR: 4.99e-04 | 2732.2ms/step | 22.0 samples/s
370
+ Step 1790/50462 | Loss: 3.5273 | LR: 4.99e-04 | 2734.6ms/step | 21.9 samples/s
371
+ Step 1800/50462 | Loss: 3.5169 | LR: 4.99e-04 | 2734.1ms/step | 21.9 samples/s
372
+ Step 1810/50462 | Loss: 3.5356 | LR: 4.99e-04 | 2734.7ms/step | 21.9 samples/s
373
+ Step 1820/50462 | Loss: 3.5181 | LR: 4.99e-04 | 2732.2ms/step | 22.0 samples/s
374
+ W0706 05:19:07.385000 1283 torch/distributed/elastic/agent/server/api.py:753] Received Signals.SIGTERM death signal, shutting down workers
375
+ W0706 05:19:07.395000 1283 torch/distributed/elastic/multiprocessing/api.py:1014] Sending process 1296 closing signal SIGTERM
376
+ Traceback (most recent call last):
377
+ File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
378
+ return _run_code(code, main_globals, None,
379
+ File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
380
+ exec(code, run_globals)
381
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1020, in <module>
382
+ main()
383
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 367, in wrapper
384
+ return f(*args, **kwargs)
385
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1016, in main
386
+ run(args)
387
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/run.py", line 1007, in run
388
+ elastic_launch(
389
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 191, in __call__
390
+ return launch_agent(self._config, self._entrypoint, list(args))
391
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 362, in launch_agent
392
+ result = agent.run()
393
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
394
+ result = f(*args, **kwargs)
395
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/agent/server/api.py", line 745, in run
396
+ result = self._invoke_run(role)
397
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/agent/server/api.py", line 923, in _invoke_run
398
+ time.sleep(monitor_interval)
399
+ File "/mloscratch/homes/navasard/pylibs/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
400
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
401
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 1283 got signal: 15
epfl_final/train_logs/resume_dense30k.log ADDED
The diff for this file is too large to render. See raw diff
 
epfl_final/train_logs/resume_fixed30k.log ADDED
@@ -0,0 +1,639 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-1500
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/longctx30k/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 30720,
11
+ "num_workers": 4,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-1500",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": null,
17
+ "per_device_batch_size": 1,
18
+ "gradient_accumulation_steps": 5,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 300,
25
+ "eval_steps": 500,
26
+ "eval_batches": 20,
27
+ "logging_steps": 10,
28
+ "seed": 42,
29
+ "verbose": true,
30
+ "checkpoint_activations": true,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "1.2b fixed 30k longctx",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "1.2b",
39
+ "fixed",
40
+ "30k",
41
+ "longctx",
42
+ "b128",
43
+ "scaleladder"
44
+ ],
45
+ "hidden_size": 1536,
46
+ "intermediate_size": 6144,
47
+ "num_attention_heads": 12,
48
+ "num_key_value_heads": 4,
49
+ "num_hidden_layers": null,
50
+ "head_dim": null,
51
+ "attention_type": "sparse_stochastic",
52
+ "sparse_block_size": 128,
53
+ "sparse_num_random_blocks": 120,
54
+ "sparse_mask_pool_size": 1,
55
+ "sparse_val_dense_compare": false,
56
+ "sparse_layer_indices": null,
57
+ "sparse_mask_cache_dir": "/mloscratch/homes/navasard/sparse/mask_cache_30k_b128_nrb120",
58
+ "sparse_mask_seed": 1,
59
+ "dense_mode": false,
60
+ "dense_step_intervals": null
61
+ }
62
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
63
+ Checkpoint activations: True
64
+ Checkpoint activations: True
65
+ Checkpoint activations: True
66
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-1500
67
+ Checkpoint activations: True
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 1536
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 12
78
+ num_key_value_heads: 4
79
+ head_dim: 128
80
+ intermediate_size: 6144
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ attention_type: sparse_stochastic
84
+ sparse_block_size: 128
85
+ sparse_num_random_blocks: 120
86
+ sparse_mask_pool_size: 1
87
+ sparse_max_seq_length: 30720
88
+
89
+ Parameter count:
90
+ Total parameters: 1,202,352,640
91
+ Trainable parameters: 1,202,352,640
92
+ Non-trainable parameters: 0
93
+ Model size (BF16): 2.40 GB
94
+
95
+ --------------------------------------------------------------------------------
96
+ LAYER-BY-LAYER SUMMARY
97
+ --------------------------------------------------------------------------------
98
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
99
+
100
+ SOLUTION: Use torch.compile(flex_attention)(...)
101
+
102
+ If you want to debug your score_mod/mask_mod, you can set:
103
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
104
+
105
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
106
+ _warn_once(
107
+ Could not generate detailed summary: Failed to run torchinfo. See above stack traces for more details. Executed layers up to: [Embedding: 2, Qwen3RMSNorm: 4, Linear: 5, Linear: 5, Linear: 5, Qwen3RMSNorm: 5, Qwen3RMSNorm: 5, Qwen3RotaryEmbedding: 5]
108
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
109
+ ================================================================================
110
+
111
+ Loading dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
112
+ Using pre-tokenized dataset (no runtime tokenization)
113
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
114
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
115
+ Dataset split: 749299 train, 39437 validation
116
+ Training examples (packed, train split): 749299
117
+ Validation examples (packed, val split): 39437
118
+ Per-device batch size: 1
119
+ World size (GPUs): 4
120
+ Gradient accumulation steps: 5
121
+ Effective batch size (seqs/step): 20
122
+ Sequence length: 30720
123
+ Tokens per optimizer step: 614,400
124
+ Micro-batches per epoch (per rank): 187325
125
+ Optimizer steps per epoch: 37465
126
+ Total optimizer steps: 37465
127
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-1500...
128
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
129
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
130
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
131
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
132
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
133
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
134
+ Overriding checkpoint LR with config LR: 0.0005
135
+ Resumed from checkpoint at step 1500 (epoch 0, micro_step 7500)
136
+ Resuming training from step 1500
137
+ Resuming wandb run 9blizq3m
138
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
139
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
140
+ wandb: setting up run 9blizq3m
141
+ wandb: Tracking run with wandb version 0.26.1
142
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260709_223121-9blizq3m
143
+ wandb: Run `wandb offline` to turn off syncing.
144
+ wandb: Resuming run 1.2b fixed 30k longctx
145
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
146
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/9blizq3m
147
+ Starting training...
148
+ Validation at step 1500: Loss = 2.9803, Perplexity = 19.69
149
+ wandb: WARNING Tried to log to step 1500 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
150
+ Switching attention mode for step 1501: sparse_stochastic (configured sparse attention)
151
+ Step 1510/37465 | Loss: 2.9913 | LR: 4.99e-04 | 44079.1ms/step | 0.5 samples/s
152
+ wandb: WARNING Tried to log to step 1510 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
153
+ Step 1520/37465 | Loss: 2.9083 | LR: 4.99e-04 | 28202.3ms/step | 0.7 samples/s
154
+ wandb: WARNING Tried to log to step 1520 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
155
+ Step 1530/37465 | Loss: 2.8394 | LR: 4.99e-04 | 28206.1ms/step | 0.7 samples/s
156
+ wandb: WARNING Tried to log to step 1530 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
157
+ Step 1540/37465 | Loss: 2.8274 | LR: 4.99e-04 | 28203.1ms/step | 0.7 samples/s
158
+ wandb: WARNING Tried to log to step 1540 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
159
+ Step 1550/37465 | Loss: 3.1272 | LR: 4.99e-04 | 28200.0ms/step | 0.7 samples/s
160
+ wandb: WARNING Tried to log to step 1550 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
161
+ Step 1560/37465 | Loss: 3.0044 | LR: 4.99e-04 | 28203.0ms/step | 0.7 samples/s
162
+ wandb: WARNING Tried to log to step 1560 that is less than the current step 1561. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
163
+ Step 1570/37465 | Loss: 2.8018 | LR: 4.99e-04 | 28204.8ms/step | 0.7 samples/s
164
+ Step 1580/37465 | Loss: 3.1594 | LR: 4.99e-04 | 28210.3ms/step | 0.7 samples/s
165
+ Step 1590/37465 | Loss: 3.0262 | LR: 4.99e-04 | 28204.2ms/step | 0.7 samples/s
166
+ Step 1600/37465 | Loss: 3.3198 | LR: 4.99e-04 | 28203.9ms/step | 0.7 samples/s
167
+ Step 1610/37465 | Loss: 2.8294 | LR: 4.99e-04 | 28201.5ms/step | 0.7 samples/s
168
+ Step 1620/37465 | Loss: 3.0865 | LR: 4.99e-04 | 28200.0ms/step | 0.7 samples/s
169
+ Step 1630/37465 | Loss: 2.9460 | LR: 4.99e-04 | 28200.5ms/step | 0.7 samples/s
170
+ Step 1640/37465 | Loss: 2.8964 | LR: 4.99e-04 | 28201.6ms/step | 0.7 samples/s
171
+ Step 1650/37465 | Loss: 2.6442 | LR: 4.99e-04 | 28197.7ms/step | 0.7 samples/s
172
+ Step 1660/37465 | Loss: 2.7789 | LR: 4.99e-04 | 28196.9ms/step | 0.7 samples/s
173
+ Step 1670/37465 | Loss: 2.7841 | LR: 4.99e-04 | 28205.4ms/step | 0.7 samples/s
174
+ Step 1680/37465 | Loss: 3.0626 | LR: 4.99e-04 | 28198.3ms/step | 0.7 samples/s
175
+ Step 1690/37465 | Loss: 2.9370 | LR: 4.99e-04 | 28204.0ms/step | 0.7 samples/s
176
+ Step 1700/37465 | Loss: 2.9952 | LR: 4.99e-04 | 28200.6ms/step | 0.7 samples/s
177
+ Step 1710/37465 | Loss: 3.0111 | LR: 4.99e-04 | 28205.5ms/step | 0.7 samples/s
178
+ Step 1720/37465 | Loss: 3.0586 | LR: 4.99e-04 | 28208.0ms/step | 0.7 samples/s
179
+ Step 1730/37465 | Loss: 2.7984 | LR: 4.99e-04 | 28202.8ms/step | 0.7 samples/s
180
+ Step 1740/37465 | Loss: 2.9516 | LR: 4.99e-04 | 28207.0ms/step | 0.7 samples/s
181
+ Step 1750/37465 | Loss: 2.9898 | LR: 4.99e-04 | 28206.3ms/step | 0.7 samples/s
182
+ Step 1760/37465 | Loss: 2.8837 | LR: 4.99e-04 | 28204.5ms/step | 0.7 samples/s
183
+ Step 1770/37465 | Loss: 2.8924 | LR: 4.99e-04 | 28209.3ms/step | 0.7 samples/s
184
+ Step 1780/37465 | Loss: 2.7415 | LR: 4.99e-04 | 28207.8ms/step | 0.7 samples/s
185
+ Step 1790/37465 | Loss: 2.9827 | LR: 4.99e-04 | 28204.6ms/step | 0.7 samples/s
186
+ Step 1800/37465 | Loss: 2.6493 | LR: 4.99e-04 | 28208.3ms/step | 0.7 samples/s
187
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-1800
188
+ Step 1810/37465 | Loss: 2.9498 | LR: 4.99e-04 | 29218.1ms/step | 0.7 samples/s
189
+ Step 1820/37465 | Loss: 2.9610 | LR: 4.99e-04 | 28203.1ms/step | 0.7 samples/s
190
+ Step 1830/37465 | Loss: 2.8554 | LR: 4.99e-04 | 28200.7ms/step | 0.7 samples/s
191
+ Step 1840/37465 | Loss: 2.9721 | LR: 4.99e-04 | 28198.2ms/step | 0.7 samples/s
192
+ Step 1850/37465 | Loss: 2.7502 | LR: 4.99e-04 | 28196.5ms/step | 0.7 samples/s
193
+ Step 1860/37465 | Loss: 2.7822 | LR: 4.99e-04 | 28197.3ms/step | 0.7 samples/s
194
+ Step 1870/37465 | Loss: 3.1765 | LR: 4.99e-04 | 28197.7ms/step | 0.7 samples/s
195
+ Step 1880/37465 | Loss: 2.9186 | LR: 4.99e-04 | 28201.0ms/step | 0.7 samples/s
196
+ Step 1890/37465 | Loss: 2.9122 | LR: 4.99e-04 | 28201.0ms/step | 0.7 samples/s
197
+ Step 1900/37465 | Loss: 2.7845 | LR: 4.99e-04 | 28197.3ms/step | 0.7 samples/s
198
+ Step 1910/37465 | Loss: 2.7688 | LR: 4.99e-04 | 28201.1ms/step | 0.7 samples/s
199
+ Step 1920/37465 | Loss: 2.9802 | LR: 4.99e-04 | 28200.1ms/step | 0.7 samples/s
200
+ Step 1930/37465 | Loss: 2.8521 | LR: 4.99e-04 | 28200.7ms/step | 0.7 samples/s
201
+ Step 1940/37465 | Loss: 2.8682 | LR: 4.99e-04 | 28201.3ms/step | 0.7 samples/s
202
+ Step 1950/37465 | Loss: 2.7948 | LR: 4.99e-04 | 28202.5ms/step | 0.7 samples/s
203
+ Step 1960/37465 | Loss: 2.7922 | LR: 4.99e-04 | 28205.8ms/step | 0.7 samples/s
204
+ Step 1970/37465 | Loss: 2.9998 | LR: 4.99e-04 | 28205.9ms/step | 0.7 samples/s
205
+ Step 1980/37465 | Loss: 2.7698 | LR: 4.99e-04 | 28196.7ms/step | 0.7 samples/s
206
+ Step 1990/37465 | Loss: 2.7311 | LR: 4.99e-04 | 28201.8ms/step | 0.7 samples/s
207
+ Step 2000/37465 | Loss: 2.8256 | LR: 4.99e-04 | 28198.0ms/step | 0.7 samples/s
208
+ Validation at step 2000: Loss = 2.8067, Perplexity = 16.55
209
+ Step 2010/37465 | Loss: 2.7373 | LR: 4.99e-04 | 29879.9ms/step | 0.7 samples/s
210
+ Step 2020/37465 | Loss: 2.8007 | LR: 4.99e-04 | 28206.4ms/step | 0.7 samples/s
211
+ Step 2030/37465 | Loss: 2.6649 | LR: 4.99e-04 | 28204.0ms/step | 0.7 samples/s
212
+ Step 2040/37465 | Loss: 2.7121 | LR: 4.98e-04 | 28194.5ms/step | 0.7 samples/s
213
+ Step 2050/37465 | Loss: 2.8025 | LR: 4.98e-04 | 28201.6ms/step | 0.7 samples/s
214
+ Step 2060/37465 | Loss: 2.6587 | LR: 4.98e-04 | 28201.5ms/step | 0.7 samples/s
215
+ Step 2070/37465 | Loss: 2.6982 | LR: 4.98e-04 | 28202.5ms/step | 0.7 samples/s
216
+ Step 2080/37465 | Loss: 2.8682 | LR: 4.98e-04 | 28199.6ms/step | 0.7 samples/s
217
+ Step 2090/37465 | Loss: 2.8524 | LR: 4.98e-04 | 28200.3ms/step | 0.7 samples/s
218
+ Step 2100/37465 | Loss: 2.9557 | LR: 4.98e-04 | 28203.8ms/step | 0.7 samples/s
219
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-2100
220
+ Step 2110/37465 | Loss: 2.8975 | LR: 4.98e-04 | 29229.2ms/step | 0.7 samples/s
221
+ Step 2120/37465 | Loss: 2.8102 | LR: 4.98e-04 | 28211.3ms/step | 0.7 samples/s
222
+ Step 2130/37465 | Loss: 2.5449 | LR: 4.98e-04 | 28213.3ms/step | 0.7 samples/s
223
+ Step 2140/37465 | Loss: 2.8684 | LR: 4.98e-04 | 28213.9ms/step | 0.7 samples/s
224
+ Step 2150/37465 | Loss: 2.8026 | LR: 4.98e-04 | 28211.1ms/step | 0.7 samples/s
225
+ Step 2160/37465 | Loss: 2.7089 | LR: 4.98e-04 | 28211.8ms/step | 0.7 samples/s
226
+ Step 2170/37465 | Loss: 2.8118 | LR: 4.98e-04 | 28211.3ms/step | 0.7 samples/s
227
+ Step 2180/37465 | Loss: 2.8394 | LR: 4.98e-04 | 28214.3ms/step | 0.7 samples/s
228
+ Step 2190/37465 | Loss: 2.7915 | LR: 4.98e-04 | 28214.8ms/step | 0.7 samples/s
229
+ Step 2200/37465 | Loss: 2.7080 | LR: 4.98e-04 | 28211.5ms/step | 0.7 samples/s
230
+ Step 2210/37465 | Loss: 2.6452 | LR: 4.98e-04 | 28214.0ms/step | 0.7 samples/s
231
+ Step 2220/37465 | Loss: 2.8388 | LR: 4.98e-04 | 28213.8ms/step | 0.7 samples/s
232
+ Step 2230/37465 | Loss: 2.8298 | LR: 4.98e-04 | 28214.9ms/step | 0.7 samples/s
233
+ Step 2240/37465 | Loss: 2.8257 | LR: 4.98e-04 | 28214.3ms/step | 0.7 samples/s
234
+ Step 2250/37465 | Loss: 2.7224 | LR: 4.98e-04 | 28218.1ms/step | 0.7 samples/s
235
+ Step 2260/37465 | Loss: 2.8717 | LR: 4.98e-04 | 28211.6ms/step | 0.7 samples/s
236
+ Step 2270/37465 | Loss: 2.7679 | LR: 4.98e-04 | 28208.5ms/step | 0.7 samples/s
237
+ Step 2280/37465 | Loss: 2.6003 | LR: 4.98e-04 | 28206.0ms/step | 0.7 samples/s
238
+ Step 2290/37465 | Loss: 2.7364 | LR: 4.98e-04 | 28204.7ms/step | 0.7 samples/s
239
+ Step 2300/37465 | Loss: 2.8338 | LR: 4.98e-04 | 28204.1ms/step | 0.7 samples/s
240
+ Step 2310/37465 | Loss: 2.8896 | LR: 4.98e-04 | 28204.5ms/step | 0.7 samples/s
241
+ Step 2320/37465 | Loss: 2.7513 | LR: 4.98e-04 | 28209.5ms/step | 0.7 samples/s
242
+ Step 2330/37465 | Loss: 3.0114 | LR: 4.98e-04 | 28213.7ms/step | 0.7 samples/s
243
+ Step 2340/37465 | Loss: 2.5985 | LR: 4.98e-04 | 28207.2ms/step | 0.7 samples/s
244
+ Step 2350/37465 | Loss: 2.9940 | LR: 4.98e-04 | 28206.7ms/step | 0.7 samples/s
245
+ Step 2360/37465 | Loss: 2.6100 | LR: 4.98e-04 | 28206.4ms/step | 0.7 samples/s
246
+ Step 2370/37465 | Loss: 2.8667 | LR: 4.98e-04 | 28213.1ms/step | 0.7 samples/s
247
+ Step 2380/37465 | Loss: 2.6913 | LR: 4.98e-04 | 28207.0ms/step | 0.7 samples/s
248
+ Step 2390/37465 | Loss: 2.5641 | LR: 4.98e-04 | 28207.6ms/step | 0.7 samples/s
249
+ Step 2400/37465 | Loss: 2.5432 | LR: 4.98e-04 | 28208.6ms/step | 0.7 samples/s
250
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-2400
251
+ Step 2410/37465 | Loss: 2.7141 | LR: 4.97e-04 | 29248.7ms/step | 0.7 samples/s
252
+ Step 2420/37465 | Loss: 2.9042 | LR: 4.97e-04 | 28216.2ms/step | 0.7 samples/s
253
+ Step 2430/37465 | Loss: 2.8914 | LR: 4.97e-04 | 28208.3ms/step | 0.7 samples/s
254
+ Step 2440/37465 | Loss: 2.8282 | LR: 4.97e-04 | 28214.5ms/step | 0.7 samples/s
255
+ Step 2450/37465 | Loss: 2.8363 | LR: 4.97e-04 | 28215.8ms/step | 0.7 samples/s
256
+ Step 2460/37465 | Loss: 2.8236 | LR: 4.97e-04 | 28209.3ms/step | 0.7 samples/s
257
+ Step 2470/37465 | Loss: 2.8401 | LR: 4.97e-04 | 28213.0ms/step | 0.7 samples/s
258
+ Step 2480/37465 | Loss: 2.6442 | LR: 4.97e-04 | 28214.2ms/step | 0.7 samples/s
259
+ Step 2490/37465 | Loss: 2.6397 | LR: 4.97e-04 | 28213.9ms/step | 0.7 samples/s
260
+ Step 2500/37465 | Loss: 2.7731 | LR: 4.97e-04 | 28215.4ms/step | 0.7 samples/s
261
+ Validation at step 2500: Loss = 2.7050, Perplexity = 14.95
262
+ Step 2510/37465 | Loss: 2.8276 | LR: 4.97e-04 | 29861.6ms/step | 0.7 samples/s
263
+ Step 2520/37465 | Loss: 2.5297 | LR: 4.97e-04 | 28216.5ms/step | 0.7 samples/s
264
+ Step 2530/37465 | Loss: 2.6744 | LR: 4.97e-04 | 28215.5ms/step | 0.7 samples/s
265
+ Step 2540/37465 | Loss: 2.9592 | LR: 4.97e-04 | 28219.8ms/step | 0.7 samples/s
266
+ Step 2550/37465 | Loss: 2.4623 | LR: 4.97e-04 | 28217.6ms/step | 0.7 samples/s
267
+ Step 2560/37465 | Loss: 2.7488 | LR: 4.97e-04 | 28211.1ms/step | 0.7 samples/s
268
+ Step 2570/37465 | Loss: 2.7104 | LR: 4.97e-04 | 28214.9ms/step | 0.7 samples/s
269
+ Step 2580/37465 | Loss: 2.4993 | LR: 4.97e-04 | 28209.6ms/step | 0.7 samples/s
270
+ Step 2590/37465 | Loss: 2.7331 | LR: 4.97e-04 | 28213.1ms/step | 0.7 samples/s
271
+ Step 2600/37465 | Loss: 2.8604 | LR: 4.97e-04 | 28211.5ms/step | 0.7 samples/s
272
+ Step 2610/37465 | Loss: 2.5769 | LR: 4.97e-04 | 28213.4ms/step | 0.7 samples/s
273
+ Step 2620/37465 | Loss: 2.8670 | LR: 4.97e-04 | 28213.5ms/step | 0.7 samples/s
274
+ Step 2630/37465 | Loss: 2.6857 | LR: 4.97e-04 | 28212.1ms/step | 0.7 samples/s
275
+ Step 2640/37465 | Loss: 2.6256 | LR: 4.97e-04 | 28211.1ms/step | 0.7 samples/s
276
+ Step 2650/37465 | Loss: 2.6200 | LR: 4.97e-04 | 28209.7ms/step | 0.7 samples/s
277
+ Step 2660/37465 | Loss: 2.5157 | LR: 4.97e-04 | 28213.0ms/step | 0.7 samples/s
278
+ Step 2670/37465 | Loss: 2.5916 | LR: 4.97e-04 | 28210.6ms/step | 0.7 samples/s
279
+ Step 2680/37465 | Loss: 2.8806 | LR: 4.97e-04 | 28213.7ms/step | 0.7 samples/s
280
+ Step 2690/37465 | Loss: 2.6171 | LR: 4.97e-04 | 28211.8ms/step | 0.7 samples/s
281
+ Step 2700/37465 | Loss: 2.7728 | LR: 4.97e-04 | 28206.6ms/step | 0.7 samples/s
282
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-2700
283
+ Step 2710/37465 | Loss: 2.6148 | LR: 4.96e-04 | 29202.7ms/step | 0.7 samples/s
284
+ Step 2720/37465 | Loss: 2.5995 | LR: 4.96e-04 | 28203.3ms/step | 0.7 samples/s
285
+ Step 2730/37465 | Loss: 2.6339 | LR: 4.96e-04 | 28203.9ms/step | 0.7 samples/s
286
+ Step 2740/37465 | Loss: 2.7182 | LR: 4.96e-04 | 28208.1ms/step | 0.7 samples/s
287
+ Step 2750/37465 | Loss: 2.6234 | LR: 4.96e-04 | 28208.3ms/step | 0.7 samples/s
288
+ Step 2760/37465 | Loss: 2.8483 | LR: 4.96e-04 | 28215.8ms/step | 0.7 samples/s
289
+ Step 2770/37465 | Loss: 2.6882 | LR: 4.96e-04 | 28211.4ms/step | 0.7 samples/s
290
+ Step 2780/37465 | Loss: 2.7589 | LR: 4.96e-04 | 28213.2ms/step | 0.7 samples/s
291
+ Step 2790/37465 | Loss: 2.5082 | LR: 4.96e-04 | 28212.1ms/step | 0.7 samples/s
292
+ Step 2800/37465 | Loss: 2.5738 | LR: 4.96e-04 | 28211.3ms/step | 0.7 samples/s
293
+ Step 2810/37465 | Loss: 2.5457 | LR: 4.96e-04 | 28209.1ms/step | 0.7 samples/s
294
+ Step 2820/37465 | Loss: 2.3763 | LR: 4.96e-04 | 28212.5ms/step | 0.7 samples/s
295
+ Step 2830/37465 | Loss: 2.4791 | LR: 4.96e-04 | 28216.5ms/step | 0.7 samples/s
296
+ Step 2840/37465 | Loss: 2.9267 | LR: 4.96e-04 | 28215.7ms/step | 0.7 samples/s
297
+ Step 2850/37465 | Loss: 2.5846 | LR: 4.96e-04 | 28218.1ms/step | 0.7 samples/s
298
+ Step 2860/37465 | Loss: 2.5474 | LR: 4.96e-04 | 28217.2ms/step | 0.7 samples/s
299
+ Step 2870/37465 | Loss: 2.7486 | LR: 4.96e-04 | 28209.9ms/step | 0.7 samples/s
300
+ Step 2880/37465 | Loss: 2.7018 | LR: 4.96e-04 | 28211.7ms/step | 0.7 samples/s
301
+ Step 2890/37465 | Loss: 2.6266 | LR: 4.96e-04 | 28209.7ms/step | 0.7 samples/s
302
+ Step 2900/37465 | Loss: 2.5835 | LR: 4.96e-04 | 28209.8ms/step | 0.7 samples/s
303
+ Step 2910/37465 | Loss: 2.6910 | LR: 4.96e-04 | 28218.0ms/step | 0.7 samples/s
304
+ Step 2920/37465 | Loss: 2.4776 | LR: 4.96e-04 | 28212.8ms/step | 0.7 samples/s
305
+ Step 2930/37465 | Loss: 2.6225 | LR: 4.96e-04 | 28213.3ms/step | 0.7 samples/s
306
+ Step 2940/37465 | Loss: 2.5352 | LR: 4.96e-04 | 28208.8ms/step | 0.7 samples/s
307
+ Step 2950/37465 | Loss: 2.5628 | LR: 4.96e-04 | 28213.5ms/step | 0.7 samples/s
308
+ Step 2960/37465 | Loss: 2.5977 | LR: 4.96e-04 | 28214.4ms/step | 0.7 samples/s
309
+ Step 2970/37465 | Loss: 2.7209 | LR: 4.96e-04 | 28220.4ms/step | 0.7 samples/s
310
+ Step 2980/37465 | Loss: 2.3571 | LR: 4.95e-04 | 28216.3ms/step | 0.7 samples/s
311
+ Step 2990/37465 | Loss: 2.7625 | LR: 4.95e-04 | 28214.3ms/step | 0.7 samples/s
312
+ Step 3000/37465 | Loss: 2.6710 | LR: 4.95e-04 | 28218.2ms/step | 0.7 samples/s
313
+ Validation at step 3000: Loss = 2.6398, Perplexity = 14.01
314
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-3000
315
+ Step 3010/37465 | Loss: 2.6393 | LR: 4.95e-04 | 30857.8ms/step | 0.6 samples/s
316
+ Step 3020/37465 | Loss: 2.6273 | LR: 4.95e-04 | 28282.4ms/step | 0.7 samples/s
317
+ Step 3030/37465 | Loss: 2.8217 | LR: 4.95e-04 | 28229.8ms/step | 0.7 samples/s
318
+ Step 3040/37465 | Loss: 2.7478 | LR: 4.95e-04 | 28230.7ms/step | 0.7 samples/s
319
+ Step 3050/37465 | Loss: 2.6453 | LR: 4.95e-04 | 28228.6ms/step | 0.7 samples/s
320
+ Step 3060/37465 | Loss: 2.6271 | LR: 4.95e-04 | 28228.1ms/step | 0.7 samples/s
321
+ Step 3070/37465 | Loss: 2.4544 | LR: 4.95e-04 | 28228.1ms/step | 0.7 samples/s
322
+ Step 3080/37465 | Loss: 2.4177 | LR: 4.95e-04 | 28231.8ms/step | 0.7 samples/s
323
+ Step 3090/37465 | Loss: 2.5919 | LR: 4.95e-04 | 28219.5ms/step | 0.7 samples/s
324
+ Step 3100/37465 | Loss: 2.6931 | LR: 4.95e-04 | 28222.5ms/step | 0.7 samples/s
325
+ Step 3110/37465 | Loss: 2.6318 | LR: 4.95e-04 | 28227.8ms/step | 0.7 samples/s
326
+ Step 3120/37465 | Loss: 2.5201 | LR: 4.95e-04 | 28224.0ms/step | 0.7 samples/s
327
+ Step 3130/37465 | Loss: 2.6239 | LR: 4.95e-04 | 28225.4ms/step | 0.7 samples/s
328
+ Step 3140/37465 | Loss: 2.4329 | LR: 4.95e-04 | 28225.0ms/step | 0.7 samples/s
329
+ Step 3150/37465 | Loss: 2.3984 | LR: 4.95e-04 | 28234.1ms/step | 0.7 samples/s
330
+ Step 3160/37465 | Loss: 2.5789 | LR: 4.95e-04 | 28229.6ms/step | 0.7 samples/s
331
+ Step 3170/37465 | Loss: 2.8802 | LR: 4.95e-04 | 28236.7ms/step | 0.7 samples/s
332
+ Step 3180/37465 | Loss: 2.8211 | LR: 4.95e-04 | 28231.0ms/step | 0.7 samples/s
333
+ Step 3190/37465 | Loss: 2.3020 | LR: 4.95e-04 | 28231.1ms/step | 0.7 samples/s
334
+ Step 3200/37465 | Loss: 2.4850 | LR: 4.95e-04 | 28227.5ms/step | 0.7 samples/s
335
+ Step 3210/37465 | Loss: 2.4132 | LR: 4.94e-04 | 28220.2ms/step | 0.7 samples/s
336
+ Step 3220/37465 | Loss: 2.6648 | LR: 4.94e-04 | 28215.0ms/step | 0.7 samples/s
337
+ Step 3230/37465 | Loss: 2.6317 | LR: 4.94e-04 | 28218.2ms/step | 0.7 samples/s
338
+ Step 3240/37465 | Loss: 2.5026 | LR: 4.94e-04 | 28214.9ms/step | 0.7 samples/s
339
+ Step 3250/37465 | Loss: 2.5259 | LR: 4.94e-04 | 28215.7ms/step | 0.7 samples/s
340
+ Step 3260/37465 | Loss: 2.6992 | LR: 4.94e-04 | 28213.7ms/step | 0.7 samples/s
341
+ Step 3270/37465 | Loss: 2.6554 | LR: 4.94e-04 | 28211.2ms/step | 0.7 samples/s
342
+ Step 3280/37465 | Loss: 2.6233 | LR: 4.94e-04 | 28215.3ms/step | 0.7 samples/s
343
+ Step 3290/37465 | Loss: 2.5224 | LR: 4.94e-04 | 28217.7ms/step | 0.7 samples/s
344
+ Step 3300/37465 | Loss: 2.4942 | LR: 4.94e-04 | 28214.1ms/step | 0.7 samples/s
345
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-3300
346
+ Step 3310/37465 | Loss: 2.6969 | LR: 4.94e-04 | 29243.5ms/step | 0.7 samples/s
347
+ Step 3320/37465 | Loss: 2.3859 | LR: 4.94e-04 | 28210.7ms/step | 0.7 samples/s
348
+ Step 3330/37465 | Loss: 2.7094 | LR: 4.94e-04 | 28210.3ms/step | 0.7 samples/s
349
+ Step 3340/37465 | Loss: 2.6680 | LR: 4.94e-04 | 28208.5ms/step | 0.7 samples/s
350
+ Step 3350/37465 | Loss: 2.9503 | LR: 4.94e-04 | 28207.7ms/step | 0.7 samples/s
351
+ Step 3360/37465 | Loss: 2.5454 | LR: 4.94e-04 | 28201.8ms/step | 0.7 samples/s
352
+ Step 3370/37465 | Loss: 2.5691 | LR: 4.94e-04 | 28216.0ms/step | 0.7 samples/s
353
+ Step 3380/37465 | Loss: 2.6116 | LR: 4.94e-04 | 28205.9ms/step | 0.7 samples/s
354
+ Step 3390/37465 | Loss: 2.4950 | LR: 4.94e-04 | 28216.6ms/step | 0.7 samples/s
355
+ Step 3400/37465 | Loss: 2.4059 | LR: 4.94e-04 | 28218.2ms/step | 0.7 samples/s
356
+ Step 3410/37465 | Loss: 2.4635 | LR: 4.94e-04 | 28216.2ms/step | 0.7 samples/s
357
+ Step 3420/37465 | Loss: 2.6051 | LR: 4.94e-04 | 28213.7ms/step | 0.7 samples/s
358
+ Step 3430/37465 | Loss: 2.7656 | LR: 4.93e-04 | 28208.1ms/step | 0.7 samples/s
359
+ Step 3440/37465 | Loss: 2.6520 | LR: 4.93e-04 | 28216.7ms/step | 0.7 samples/s
360
+ Step 3450/37465 | Loss: 2.6154 | LR: 4.93e-04 | 28207.2ms/step | 0.7 samples/s
361
+ Step 3460/37465 | Loss: 2.5061 | LR: 4.93e-04 | 28211.5ms/step | 0.7 samples/s
362
+ Step 3470/37465 | Loss: 2.3746 | LR: 4.93e-04 | 28206.2ms/step | 0.7 samples/s
363
+ Step 3480/37465 | Loss: 2.5236 | LR: 4.93e-04 | 28209.4ms/step | 0.7 samples/s
364
+ Step 3490/37465 | Loss: 2.6571 | LR: 4.93e-04 | 28217.0ms/step | 0.7 samples/s
365
+ Step 3500/37465 | Loss: 2.6145 | LR: 4.93e-04 | 28219.4ms/step | 0.7 samples/s
366
+ Validation at step 3500: Loss = 2.5797, Perplexity = 13.19
367
+ Step 3510/37465 | Loss: 2.8275 | LR: 4.93e-04 | 29891.8ms/step | 0.7 samples/s
368
+ Step 3520/37465 | Loss: 2.4929 | LR: 4.93e-04 | 28215.1ms/step | 0.7 samples/s
369
+ Step 3530/37465 | Loss: 2.5376 | LR: 4.93e-04 | 28211.3ms/step | 0.7 samples/s
370
+ Step 3540/37465 | Loss: 2.6971 | LR: 4.93e-04 | 28209.5ms/step | 0.7 samples/s
371
+ Step 3550/37465 | Loss: 2.5596 | LR: 4.93e-04 | 28214.3ms/step | 0.7 samples/s
372
+ Step 3560/37465 | Loss: 2.4734 | LR: 4.93e-04 | 28221.7ms/step | 0.7 samples/s
373
+ Step 3570/37465 | Loss: 2.4779 | LR: 4.93e-04 | 28217.3ms/step | 0.7 samples/s
374
+ Step 3580/37465 | Loss: 2.8165 | LR: 4.93e-04 | 28216.4ms/step | 0.7 samples/s
375
+ Step 3590/37465 | Loss: 2.5325 | LR: 4.93e-04 | 28216.4ms/step | 0.7 samples/s
376
+ Step 3600/37465 | Loss: 2.6648 | LR: 4.93e-04 | 28219.9ms/step | 0.7 samples/s
377
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-3600
378
+ Step 3610/37465 | Loss: 2.5532 | LR: 4.93e-04 | 29208.8ms/step | 0.7 samples/s
379
+ Step 3620/37465 | Loss: 2.4811 | LR: 4.92e-04 | 28218.2ms/step | 0.7 samples/s
380
+ Step 3630/37465 | Loss: 2.4093 | LR: 4.92e-04 | 28223.9ms/step | 0.7 samples/s
381
+ Step 3640/37465 | Loss: 2.5256 | LR: 4.92e-04 | 28217.9ms/step | 0.7 samples/s
382
+ Step 3650/37465 | Loss: 2.6203 | LR: 4.92e-04 | 28214.0ms/step | 0.7 samples/s
383
+ Step 3660/37465 | Loss: 2.5007 | LR: 4.92e-04 | 28217.5ms/step | 0.7 samples/s
384
+ Step 3670/37465 | Loss: 2.4079 | LR: 4.92e-04 | 28216.7ms/step | 0.7 samples/s
385
+ Step 3680/37465 | Loss: 2.7110 | LR: 4.92e-04 | 28223.1ms/step | 0.7 samples/s
386
+ Step 3690/37465 | Loss: 2.8531 | LR: 4.92e-04 | 28222.6ms/step | 0.7 samples/s
387
+ Step 3700/37465 | Loss: 2.5256 | LR: 4.92e-04 | 28222.4ms/step | 0.7 samples/s
388
+ Step 3710/37465 | Loss: 2.8063 | LR: 4.92e-04 | 28222.8ms/step | 0.7 samples/s
389
+ Step 3720/37465 | Loss: 2.5781 | LR: 4.92e-04 | 28226.5ms/step | 0.7 samples/s
390
+ Step 3730/37465 | Loss: 2.7449 | LR: 4.92e-04 | 28224.5ms/step | 0.7 samples/s
391
+ Step 3740/37465 | Loss: 2.3901 | LR: 4.92e-04 | 28221.5ms/step | 0.7 samples/s
392
+ Step 3750/37465 | Loss: 2.5318 | LR: 4.92e-04 | 28211.3ms/step | 0.7 samples/s
393
+ Step 3760/37465 | Loss: 2.7665 | LR: 4.92e-04 | 28227.2ms/step | 0.7 samples/s
394
+ Step 3770/37465 | Loss: 2.7299 | LR: 4.92e-04 | 28221.1ms/step | 0.7 samples/s
395
+ Step 3780/37465 | Loss: 2.6101 | LR: 4.92e-04 | 28226.2ms/step | 0.7 samples/s
396
+ Step 3790/37465 | Loss: 2.4713 | LR: 4.92e-04 | 28220.9ms/step | 0.7 samples/s
397
+ Step 3800/37465 | Loss: 2.5710 | LR: 4.92e-04 | 28222.0ms/step | 0.7 samples/s
398
+ Step 3810/37465 | Loss: 2.6657 | LR: 4.91e-04 | 28221.7ms/step | 0.7 samples/s
399
+ Step 3820/37465 | Loss: 2.6067 | LR: 4.91e-04 | 28227.9ms/step | 0.7 samples/s
400
+ Step 3830/37465 | Loss: 2.7359 | LR: 4.91e-04 | 28227.0ms/step | 0.7 samples/s
401
+ Step 3840/37465 | Loss: 2.3054 | LR: 4.91e-04 | 28225.1ms/step | 0.7 samples/s
402
+ Step 3850/37465 | Loss: 2.6879 | LR: 4.91e-04 | 28221.7ms/step | 0.7 samples/s
403
+ Step 3860/37465 | Loss: 2.4230 | LR: 4.91e-04 | 28227.6ms/step | 0.7 samples/s
404
+ Step 3870/37465 | Loss: 2.7475 | LR: 4.91e-04 | 28225.0ms/step | 0.7 samples/s
405
+ Step 3880/37465 | Loss: 2.3435 | LR: 4.91e-04 | 28217.9ms/step | 0.7 samples/s
406
+ Step 3890/37465 | Loss: 2.3320 | LR: 4.91e-04 | 28218.8ms/step | 0.7 samples/s
407
+ Step 3900/37465 | Loss: 2.4114 | LR: 4.91e-04 | 28223.4ms/step | 0.7 samples/s
408
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-3900
409
+ Step 3910/37465 | Loss: 2.6000 | LR: 4.91e-04 | 29216.0ms/step | 0.7 samples/s
410
+ Step 3920/37465 | Loss: 2.5912 | LR: 4.91e-04 | 28228.0ms/step | 0.7 samples/s
411
+ Step 3930/37465 | Loss: 2.6558 | LR: 4.91e-04 | 28232.9ms/step | 0.7 samples/s
412
+ Step 3940/37465 | Loss: 2.8491 | LR: 4.91e-04 | 28230.9ms/step | 0.7 samples/s
413
+ Step 3950/37465 | Loss: 2.3515 | LR: 4.91e-04 | 28229.1ms/step | 0.7 samples/s
414
+ Step 3960/37465 | Loss: 2.5781 | LR: 4.91e-04 | 28219.6ms/step | 0.7 samples/s
415
+ Step 3970/37465 | Loss: 2.3724 | LR: 4.91e-04 | 28214.0ms/step | 0.7 samples/s
416
+ Step 3980/37465 | Loss: 2.5743 | LR: 4.91e-04 | 28203.7ms/step | 0.7 samples/s
417
+ Step 3990/37465 | Loss: 2.5542 | LR: 4.90e-04 | 28218.5ms/step | 0.7 samples/s
418
+ Step 4000/37465 | Loss: 2.5374 | LR: 4.90e-04 | 28220.0ms/step | 0.7 samples/s
419
+ Validation at step 4000: Loss = 2.5376, Perplexity = 12.65
420
+ Step 4010/37465 | Loss: 2.1420 | LR: 4.90e-04 | 29897.7ms/step | 0.7 samples/s
421
+ Step 4020/37465 | Loss: 2.3239 | LR: 4.90e-04 | 28214.7ms/step | 0.7 samples/s
422
+ Step 4030/37465 | Loss: 2.4654 | LR: 4.90e-04 | 28217.3ms/step | 0.7 samples/s
423
+ Step 4040/37465 | Loss: 2.4849 | LR: 4.90e-04 | 28220.1ms/step | 0.7 samples/s
424
+ Step 4050/37465 | Loss: 2.6970 | LR: 4.90e-04 | 28222.9ms/step | 0.7 samples/s
425
+ Step 4060/37465 | Loss: 2.5109 | LR: 4.90e-04 | 28224.9ms/step | 0.7 samples/s
426
+ Step 4070/37465 | Loss: 2.5021 | LR: 4.90e-04 | 28224.8ms/step | 0.7 samples/s
427
+ Step 4080/37465 | Loss: 2.4815 | LR: 4.90e-04 | 28229.8ms/step | 0.7 samples/s
428
+ Step 4090/37465 | Loss: 2.5819 | LR: 4.90e-04 | 28221.3ms/step | 0.7 samples/s
429
+ Step 4100/37465 | Loss: 2.4240 | LR: 4.90e-04 | 28229.8ms/step | 0.7 samples/s
430
+ Step 4110/37465 | Loss: 2.5416 | LR: 4.90e-04 | 28223.2ms/step | 0.7 samples/s
431
+ Step 4120/37465 | Loss: 2.3295 | LR: 4.90e-04 | 28225.4ms/step | 0.7 samples/s
432
+ Step 4130/37465 | Loss: 2.3013 | LR: 4.90e-04 | 28213.1ms/step | 0.7 samples/s
433
+ Step 4140/37465 | Loss: 2.5953 | LR: 4.90e-04 | 28223.6ms/step | 0.7 samples/s
434
+ Step 4150/37465 | Loss: 2.5789 | LR: 4.89e-04 | 28223.4ms/step | 0.7 samples/s
435
+ Step 4160/37465 | Loss: 2.6216 | LR: 4.89e-04 | 28228.4ms/step | 0.7 samples/s
436
+ Step 4170/37465 | Loss: 2.5202 | LR: 4.89e-04 | 28223.6ms/step | 0.7 samples/s
437
+ Step 4180/37465 | Loss: 2.3104 | LR: 4.89e-04 | 28212.4ms/step | 0.7 samples/s
438
+ Step 4190/37465 | Loss: 2.5843 | LR: 4.89e-04 | 28216.6ms/step | 0.7 samples/s
439
+ Step 4200/37465 | Loss: 2.5538 | LR: 4.89e-04 | 28213.4ms/step | 0.7 samples/s
440
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-4200
441
+ Step 4210/37465 | Loss: 2.1640 | LR: 4.89e-04 | 29200.8ms/step | 0.7 samples/s
442
+ Step 4220/37465 | Loss: 2.5114 | LR: 4.89e-04 | 28218.8ms/step | 0.7 samples/s
443
+ Step 4230/37465 | Loss: 2.4094 | LR: 4.89e-04 | 28217.5ms/step | 0.7 samples/s
444
+ Step 4240/37465 | Loss: 2.4589 | LR: 4.89e-04 | 28235.4ms/step | 0.7 samples/s
445
+ Step 4250/37465 | Loss: 2.3746 | LR: 4.89e-04 | 28217.0ms/step | 0.7 samples/s
446
+ Step 4260/37465 | Loss: 2.4317 | LR: 4.89e-04 | 28215.3ms/step | 0.7 samples/s
447
+ Step 4270/37465 | Loss: 2.5068 | LR: 4.89e-04 | 28222.7ms/step | 0.7 samples/s
448
+ Step 4280/37465 | Loss: 2.4866 | LR: 4.89e-04 | 28221.9ms/step | 0.7 samples/s
449
+ Step 4290/37465 | Loss: 2.5645 | LR: 4.89e-04 | 28216.4ms/step | 0.7 samples/s
450
+ Step 4300/37465 | Loss: 2.4434 | LR: 4.89e-04 | 28214.7ms/step | 0.7 samples/s
451
+ Step 4310/37465 | Loss: 2.6270 | LR: 4.88e-04 | 28210.4ms/step | 0.7 samples/s
452
+ Step 4320/37465 | Loss: 2.3658 | LR: 4.88e-04 | 28217.5ms/step | 0.7 samples/s
453
+ Step 4330/37465 | Loss: 2.2291 | LR: 4.88e-04 | 28214.0ms/step | 0.7 samples/s
454
+ Step 4340/37465 | Loss: 2.5317 | LR: 4.88e-04 | 28215.9ms/step | 0.7 samples/s
455
+ Step 4350/37465 | Loss: 2.6447 | LR: 4.88e-04 | 28218.3ms/step | 0.7 samples/s
456
+ Step 4360/37465 | Loss: 2.6117 | LR: 4.88e-04 | 28216.3ms/step | 0.7 samples/s
457
+ Step 4370/37465 | Loss: 2.4347 | LR: 4.88e-04 | 28216.9ms/step | 0.7 samples/s
458
+ Step 4380/37465 | Loss: 2.4317 | LR: 4.88e-04 | 28215.4ms/step | 0.7 samples/s
459
+ Step 4390/37465 | Loss: 2.5850 | LR: 4.88e-04 | 28219.5ms/step | 0.7 samples/s
460
+ Step 4400/37465 | Loss: 2.3529 | LR: 4.88e-04 | 28220.1ms/step | 0.7 samples/s
461
+ Step 4410/37465 | Loss: 2.6017 | LR: 4.88e-04 | 28222.5ms/step | 0.7 samples/s
462
+ Step 4420/37465 | Loss: 2.3320 | LR: 4.88e-04 | 28217.0ms/step | 0.7 samples/s
463
+ Step 4430/37465 | Loss: 2.5218 | LR: 4.88e-04 | 28217.7ms/step | 0.7 samples/s
464
+ Step 4440/37465 | Loss: 2.3608 | LR: 4.88e-04 | 28214.5ms/step | 0.7 samples/s
465
+ Step 4450/37465 | Loss: 2.4483 | LR: 4.88e-04 | 28217.7ms/step | 0.7 samples/s
466
+ Step 4460/37465 | Loss: 2.3357 | LR: 4.88e-04 | 28219.1ms/step | 0.7 samples/s
467
+ Step 4470/37465 | Loss: 2.3514 | LR: 4.87e-04 | 28219.1ms/step | 0.7 samples/s
468
+ Step 4480/37465 | Loss: 2.3672 | LR: 4.87e-04 | 28222.4ms/step | 0.7 samples/s
469
+ Step 4490/37465 | Loss: 2.4445 | LR: 4.87e-04 | 28224.0ms/step | 0.7 samples/s
470
+ Step 4500/37465 | Loss: 2.6611 | LR: 4.87e-04 | 28224.9ms/step | 0.7 samples/s
471
+ Validation at step 4500: Loss = 2.4969, Perplexity = 12.15
472
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-4500
473
+ Step 4510/37465 | Loss: 2.3760 | LR: 4.87e-04 | 30836.0ms/step | 0.6 samples/s
474
+ Step 4520/37465 | Loss: 2.4521 | LR: 4.87e-04 | 28215.1ms/step | 0.7 samples/s
475
+ Step 4530/37465 | Loss: 2.5622 | LR: 4.87e-04 | 28212.4ms/step | 0.7 samples/s
476
+ Step 4540/37465 | Loss: 2.4836 | LR: 4.87e-04 | 28211.1ms/step | 0.7 samples/s
477
+ Step 4550/37465 | Loss: 2.4312 | LR: 4.87e-04 | 28212.7ms/step | 0.7 samples/s
478
+ Step 4560/37465 | Loss: 2.4430 | LR: 4.87e-04 | 28209.5ms/step | 0.7 samples/s
479
+ Step 4570/37465 | Loss: 2.2183 | LR: 4.87e-04 | 28211.1ms/step | 0.7 samples/s
480
+ Step 4580/37465 | Loss: 2.5472 | LR: 4.87e-04 | 28216.8ms/step | 0.7 samples/s
481
+ Step 4590/37465 | Loss: 2.4428 | LR: 4.87e-04 | 28211.5ms/step | 0.7 samples/s
482
+ Step 4600/37465 | Loss: 2.6602 | LR: 4.87e-04 | 28209.3ms/step | 0.7 samples/s
483
+ Step 4610/37465 | Loss: 2.4210 | LR: 4.86e-04 | 28213.4ms/step | 0.7 samples/s
484
+ Step 4620/37465 | Loss: 2.5968 | LR: 4.86e-04 | 28211.3ms/step | 0.7 samples/s
485
+ Step 4630/37465 | Loss: 2.5574 | LR: 4.86e-04 | 28212.7ms/step | 0.7 samples/s
486
+ Step 4640/37465 | Loss: 2.3346 | LR: 4.86e-04 | 28214.2ms/step | 0.7 samples/s
487
+ Step 4650/37465 | Loss: 2.2910 | LR: 4.86e-04 | 28208.7ms/step | 0.7 samples/s
488
+ Step 4660/37465 | Loss: 2.4726 | LR: 4.86e-04 | 28207.7ms/step | 0.7 samples/s
489
+ Step 4670/37465 | Loss: 2.5162 | LR: 4.86e-04 | 28211.0ms/step | 0.7 samples/s
490
+ Step 4680/37465 | Loss: 2.4988 | LR: 4.86e-04 | 28208.6ms/step | 0.7 samples/s
491
+ Step 4690/37465 | Loss: 2.6269 | LR: 4.86e-04 | 28209.5ms/step | 0.7 samples/s
492
+ Step 4700/37465 | Loss: 2.5082 | LR: 4.86e-04 | 28210.0ms/step | 0.7 samples/s
493
+ Step 4710/37465 | Loss: 2.3155 | LR: 4.86e-04 | 28209.2ms/step | 0.7 samples/s
494
+ Step 4720/37465 | Loss: 2.5762 | LR: 4.86e-04 | 28210.2ms/step | 0.7 samples/s
495
+ Step 4730/37465 | Loss: 2.3441 | LR: 4.86e-04 | 28210.5ms/step | 0.7 samples/s
496
+ Step 4740/37465 | Loss: 2.5053 | LR: 4.86e-04 | 28209.2ms/step | 0.7 samples/s
497
+ Step 4750/37465 | Loss: 2.4690 | LR: 4.85e-04 | 28208.6ms/step | 0.7 samples/s
498
+ Step 4760/37465 | Loss: 2.4078 | LR: 4.85e-04 | 28206.7ms/step | 0.7 samples/s
499
+ Step 4770/37465 | Loss: 2.3711 | LR: 4.85e-04 | 28212.6ms/step | 0.7 samples/s
500
+ Step 4780/37465 | Loss: 2.5204 | LR: 4.85e-04 | 28212.6ms/step | 0.7 samples/s
501
+ Step 4790/37465 | Loss: 2.6356 | LR: 4.85e-04 | 28207.4ms/step | 0.7 samples/s
502
+ Step 4800/37465 | Loss: 2.5186 | LR: 4.85e-04 | 28206.1ms/step | 0.7 samples/s
503
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-4800
504
+ Step 4810/37465 | Loss: 2.5433 | LR: 4.85e-04 | 29221.6ms/step | 0.7 samples/s
505
+ Step 4820/37465 | Loss: 2.5463 | LR: 4.85e-04 | 28208.8ms/step | 0.7 samples/s
506
+ Step 4830/37465 | Loss: 2.5411 | LR: 4.85e-04 | 28209.5ms/step | 0.7 samples/s
507
+ Step 4840/37465 | Loss: 2.3615 | LR: 4.85e-04 | 28208.7ms/step | 0.7 samples/s
508
+ Step 4850/37465 | Loss: 2.5114 | LR: 4.85e-04 | 28214.8ms/step | 0.7 samples/s
509
+ Step 4860/37465 | Loss: 2.2537 | LR: 4.85e-04 | 28210.8ms/step | 0.7 samples/s
510
+ Step 4870/37465 | Loss: 2.5776 | LR: 4.85e-04 | 28207.8ms/step | 0.7 samples/s
511
+ Step 4880/37465 | Loss: 2.8333 | LR: 4.85e-04 | 28207.0ms/step | 0.7 samples/s
512
+ Step 4890/37465 | Loss: 2.6752 | LR: 4.84e-04 | 28211.2ms/step | 0.7 samples/s
513
+ Step 4900/37465 | Loss: 2.3849 | LR: 4.84e-04 | 28204.7ms/step | 0.7 samples/s
514
+ Step 4910/37465 | Loss: 2.4903 | LR: 4.84e-04 | 28208.2ms/step | 0.7 samples/s
515
+ Step 4920/37465 | Loss: 2.6326 | LR: 4.84e-04 | 28208.8ms/step | 0.7 samples/s
516
+ Step 4930/37465 | Loss: 2.1796 | LR: 4.84e-04 | 28206.6ms/step | 0.7 samples/s
517
+ Step 4940/37465 | Loss: 2.3953 | LR: 4.84e-04 | 28205.5ms/step | 0.7 samples/s
518
+ Step 4950/37465 | Loss: 2.4512 | LR: 4.84e-04 | 28205.5ms/step | 0.7 samples/s
519
+ Step 4960/37465 | Loss: 2.4611 | LR: 4.84e-04 | 28211.1ms/step | 0.7 samples/s
520
+ Step 4970/37465 | Loss: 2.4643 | LR: 4.84e-04 | 28206.5ms/step | 0.7 samples/s
521
+ Step 4980/37465 | Loss: 2.3424 | LR: 4.84e-04 | 28209.6ms/step | 0.7 samples/s
522
+ Step 4990/37465 | Loss: 2.4297 | LR: 4.84e-04 | 28205.5ms/step | 0.7 samples/s
523
+ Step 5000/37465 | Loss: 2.6856 | LR: 4.84e-04 | 28205.9ms/step | 0.7 samples/s
524
+ Validation at step 5000: Loss = 2.4646, Perplexity = 11.76
525
+ Step 5010/37465 | Loss: 2.3841 | LR: 4.84e-04 | 29883.2ms/step | 0.7 samples/s
526
+ Step 5020/37465 | Loss: 2.4298 | LR: 4.83e-04 | 28208.4ms/step | 0.7 samples/s
527
+ Step 5030/37465 | Loss: 2.5368 | LR: 4.83e-04 | 28210.6ms/step | 0.7 samples/s
528
+ Step 5040/37465 | Loss: 2.3500 | LR: 4.83e-04 | 28212.0ms/step | 0.7 samples/s
529
+ Step 5050/37465 | Loss: 2.3595 | LR: 4.83e-04 | 28206.9ms/step | 0.7 samples/s
530
+ Step 5060/37465 | Loss: 2.6008 | LR: 4.83e-04 | 28208.6ms/step | 0.7 samples/s
531
+ Step 5070/37465 | Loss: 2.6280 | LR: 4.83e-04 | 28209.8ms/step | 0.7 samples/s
532
+ Step 5080/37465 | Loss: 2.3638 | LR: 4.83e-04 | 28211.4ms/step | 0.7 samples/s
533
+ Step 5090/37465 | Loss: 2.2817 | LR: 4.83e-04 | 28211.1ms/step | 0.7 samples/s
534
+ Step 5100/37465 | Loss: 2.6281 | LR: 4.83e-04 | 28214.5ms/step | 0.7 samples/s
535
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5100
536
+ Step 5110/37465 | Loss: 2.4118 | LR: 4.83e-04 | 29238.3ms/step | 0.7 samples/s
537
+ Step 5120/37465 | Loss: 2.2684 | LR: 4.83e-04 | 28211.2ms/step | 0.7 samples/s
538
+ Step 5130/37465 | Loss: 2.3044 | LR: 4.83e-04 | 28206.2ms/step | 0.7 samples/s
539
+ Step 5140/37465 | Loss: 2.3090 | LR: 4.83e-04 | 28206.4ms/step | 0.7 samples/s
540
+ Step 5150/37465 | Loss: 2.4081 | LR: 4.82e-04 | 28210.1ms/step | 0.7 samples/s
541
+ Step 5160/37465 | Loss: 2.2526 | LR: 4.82e-04 | 28208.9ms/step | 0.7 samples/s
542
+ Step 5170/37465 | Loss: 2.7202 | LR: 4.82e-04 | 28206.1ms/step | 0.7 samples/s
543
+ Step 5180/37465 | Loss: 2.3574 | LR: 4.82e-04 | 28207.3ms/step | 0.7 samples/s
544
+ Step 5190/37465 | Loss: 2.5932 | LR: 4.82e-04 | 28202.3ms/step | 0.7 samples/s
545
+ Step 5200/37465 | Loss: 2.5836 | LR: 4.82e-04 | 28204.9ms/step | 0.7 samples/s
546
+ Step 5210/37465 | Loss: 2.3194 | LR: 4.82e-04 | 28200.2ms/step | 0.7 samples/s
547
+ Step 5220/37465 | Loss: 2.3422 | LR: 4.82e-04 | 28204.2ms/step | 0.7 samples/s
548
+ Step 5230/37465 | Loss: 2.4587 | LR: 4.82e-04 | 28209.2ms/step | 0.7 samples/s
549
+ Step 5240/37465 | Loss: 2.4866 | LR: 4.82e-04 | 28205.2ms/step | 0.7 samples/s
550
+ Step 5250/37465 | Loss: 2.6048 | LR: 4.82e-04 | 28202.8ms/step | 0.7 samples/s
551
+ Step 5260/37465 | Loss: 2.5828 | LR: 4.82e-04 | 28205.2ms/step | 0.7 samples/s
552
+ Step 5270/37465 | Loss: 2.4557 | LR: 4.82e-04 | 28205.5ms/step | 0.7 samples/s
553
+ Step 5280/37465 | Loss: 2.3707 | LR: 4.81e-04 | 28206.2ms/step | 0.7 samples/s
554
+ Step 5290/37465 | Loss: 2.5570 | LR: 4.81e-04 | 28204.7ms/step | 0.7 samples/s
555
+ Step 5300/37465 | Loss: 2.6720 | LR: 4.81e-04 | 28205.3ms/step | 0.7 samples/s
556
+ Step 5310/37465 | Loss: 2.3422 | LR: 4.81e-04 | 28207.0ms/step | 0.7 samples/s
557
+ Step 5320/37465 | Loss: 2.4032 | LR: 4.81e-04 | 28200.2ms/step | 0.7 samples/s
558
+ Step 5330/37465 | Loss: 2.1944 | LR: 4.81e-04 | 28200.5ms/step | 0.7 samples/s
559
+ Step 5340/37465 | Loss: 2.4332 | LR: 4.81e-04 | 28201.8ms/step | 0.7 samples/s
560
+ Step 5350/37465 | Loss: 2.6754 | LR: 4.81e-04 | 28202.4ms/step | 0.7 samples/s
561
+ Step 5360/37465 | Loss: 2.5270 | LR: 4.81e-04 | 28202.3ms/step | 0.7 samples/s
562
+ Step 5370/37465 | Loss: 2.5446 | LR: 4.81e-04 | 28204.6ms/step | 0.7 samples/s
563
+ Step 5380/37465 | Loss: 2.4730 | LR: 4.81e-04 | 28203.4ms/step | 0.7 samples/s
564
+ Step 5390/37465 | Loss: 2.3932 | LR: 4.81e-04 | 28200.6ms/step | 0.7 samples/s
565
+ Step 5400/37465 | Loss: 2.5352 | LR: 4.80e-04 | 28203.8ms/step | 0.7 samples/s
566
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5400
567
+ Step 5410/37465 | Loss: 2.4252 | LR: 4.80e-04 | 29245.7ms/step | 0.7 samples/s
568
+ Step 5420/37465 | Loss: 2.3871 | LR: 4.80e-04 | 28197.4ms/step | 0.7 samples/s
569
+ Step 5430/37465 | Loss: 2.3216 | LR: 4.80e-04 | 28202.6ms/step | 0.7 samples/s
570
+ Step 5440/37465 | Loss: 2.4534 | LR: 4.80e-04 | 28196.8ms/step | 0.7 samples/s
571
+ Step 5450/37465 | Loss: 2.3695 | LR: 4.80e-04 | 28201.6ms/step | 0.7 samples/s
572
+ Step 5460/37465 | Loss: 2.5923 | LR: 4.80e-04 | 28200.8ms/step | 0.7 samples/s
573
+ Step 5470/37465 | Loss: 2.5585 | LR: 4.80e-04 | 28204.9ms/step | 0.7 samples/s
574
+ Step 5480/37465 | Loss: 2.3787 | LR: 4.80e-04 | 28202.3ms/step | 0.7 samples/s
575
+ Step 5490/37465 | Loss: 2.6341 | LR: 4.80e-04 | 28205.3ms/step | 0.7 samples/s
576
+ Step 5500/37465 | Loss: 2.3661 | LR: 4.80e-04 | 28200.8ms/step | 0.7 samples/s
577
+ Validation at step 5500: Loss = 2.4438, Perplexity = 11.52
578
+ Step 5510/37465 | Loss: 2.2862 | LR: 4.80e-04 | 29861.9ms/step | 0.7 samples/s
579
+ Step 5520/37465 | Loss: 2.3151 | LR: 4.79e-04 | 28202.6ms/step | 0.7 samples/s
580
+ Step 5530/37465 | Loss: 2.4188 | LR: 4.79e-04 | 28204.7ms/step | 0.7 samples/s
581
+ Step 5540/37465 | Loss: 2.2129 | LR: 4.79e-04 | 28204.2ms/step | 0.7 samples/s
582
+ Step 5550/37465 | Loss: 2.2930 | LR: 4.79e-04 | 28201.1ms/step | 0.7 samples/s
583
+ Step 5560/37465 | Loss: 2.6650 | LR: 4.79e-04 | 28203.4ms/step | 0.7 samples/s
584
+ Step 5570/37465 | Loss: 2.2805 | LR: 4.79e-04 | 28199.7ms/step | 0.7 samples/s
585
+ Step 5580/37465 | Loss: 2.4486 | LR: 4.79e-04 | 28199.6ms/step | 0.7 samples/s
586
+ Step 5590/37465 | Loss: 2.4593 | LR: 4.79e-04 | 28210.4ms/step | 0.7 samples/s
587
+ Step 5600/37465 | Loss: 2.3003 | LR: 4.79e-04 | 28202.3ms/step | 0.7 samples/s
588
+ Step 5610/37465 | Loss: 2.4029 | LR: 4.79e-04 | 28202.0ms/step | 0.7 samples/s
589
+ Step 5620/37465 | Loss: 2.4410 | LR: 4.79e-04 | 28199.9ms/step | 0.7 samples/s
590
+ Step 5630/37465 | Loss: 2.5237 | LR: 4.79e-04 | 28198.6ms/step | 0.7 samples/s
591
+ Step 5640/37465 | Loss: 2.3727 | LR: 4.78e-04 | 28205.3ms/step | 0.7 samples/s
592
+ Step 5650/37465 | Loss: 2.2762 | LR: 4.78e-04 | 28206.5ms/step | 0.7 samples/s
593
+ Step 5660/37465 | Loss: 2.4433 | LR: 4.78e-04 | 28205.9ms/step | 0.7 samples/s
594
+ Step 5670/37465 | Loss: 2.5133 | LR: 4.78e-04 | 28204.4ms/step | 0.7 samples/s
595
+ Step 5680/37465 | Loss: 2.4399 | LR: 4.78e-04 | 28201.1ms/step | 0.7 samples/s
596
+ Step 5690/37465 | Loss: 2.3988 | LR: 4.78e-04 | 28202.2ms/step | 0.7 samples/s
597
+ Step 5700/37465 | Loss: 2.5529 | LR: 4.78e-04 | 28200.1ms/step | 0.7 samples/s
598
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5700
599
+ Step 5710/37465 | Loss: 2.4231 | LR: 4.78e-04 | 29228.6ms/step | 0.7 samples/s
600
+ Step 5720/37465 | Loss: 2.3970 | LR: 4.78e-04 | 28195.9ms/step | 0.7 samples/s
601
+ Step 5730/37465 | Loss: 2.4189 | LR: 4.78e-04 | 28207.0ms/step | 0.7 samples/s
602
+ Step 5740/37465 | Loss: 2.3991 | LR: 4.78e-04 | 28201.7ms/step | 0.7 samples/s
603
+ W0711 07:56:50.458000 35834 site-packages/torch/distributed/elastic/agent/server/api.py:739] Received 15 death signal, shutting down workers
604
+ W0711 07:56:50.462000 35834 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 35847 closing signal SIGTERM
605
+ W0711 07:56:50.464000 35834 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 35848 closing signal SIGTERM
606
+ W0711 07:56:50.465000 35834 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 35849 closing signal SIGTERM
607
+ W0711 07:56:50.465000 35834 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 35850 closing signal SIGTERM
608
+ Traceback (most recent call last):
609
+ File "/mloscratch/homes/navasard/conda/bin/torchrun", line 6, in <module>
610
+ sys.exit(main())
611
+ ~~~~^^
612
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 362, in wrapper
613
+ return f(*args, **kwargs)
614
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 990, in main
615
+ run(args)
616
+ ~~~^^^^^^
617
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 981, in run
618
+ elastic_launch(
619
+ ~~~~~~~~~~~~~~~
620
+ config=config,
621
+ ~~~~~~~~~~~~~~
622
+ entrypoint=cmd,
623
+ ~~~~~~~~~~~~~~~
624
+ )(*cmd_args)
625
+ ~^^^^^^^^^^^
626
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 170, in __call__
627
+ return launch_agent(self._config, self._entrypoint, list(args))
628
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 308, in launch_agent
629
+ result = agent.run()
630
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
631
+ result = f(*args, **kwargs)
632
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 731, in run
633
+ result = self._invoke_run(role)
634
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 908, in _invoke_run
635
+ time.sleep(monitor_interval)
636
+ ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
637
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
638
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
639
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 35834 got signal: 15
epfl_final/train_logs/resume_fixed30k_h100_2-0-5.log ADDED
The diff for this file is too large to render. See raw diff
 
epfl_final/train_logs/resume_fixed30k_h200.log ADDED
@@ -0,0 +1,436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0711 07:57:24.347000 2190 site-packages/torch/distributed/run.py:851]
2
+ W0711 07:57:24.347000 2190 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0711 07:57:24.347000 2190 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0711 07:57:24.347000 2190 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5700
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/longctx30k/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 30720,
15
+ "num_workers": 4,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5700",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": null,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 5,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 300,
29
+ "eval_steps": 500,
30
+ "eval_batches": 20,
31
+ "logging_steps": 10,
32
+ "seed": 42,
33
+ "verbose": true,
34
+ "checkpoint_activations": true,
35
+ "strategy": "ddp",
36
+ "mixed_precision": "bf16",
37
+ "wandb_enabled": true,
38
+ "wandb_project": "stochastic_sparsity",
39
+ "wandb_name": "1.2b fixed 30k longctx",
40
+ "wandb_tags": [
41
+ "qwen3",
42
+ "1.2b",
43
+ "fixed",
44
+ "30k",
45
+ "longctx",
46
+ "b128",
47
+ "scaleladder"
48
+ ],
49
+ "hidden_size": 1536,
50
+ "intermediate_size": 6144,
51
+ "num_attention_heads": 12,
52
+ "num_key_value_heads": 4,
53
+ "num_hidden_layers": null,
54
+ "head_dim": null,
55
+ "attention_type": "sparse_stochastic",
56
+ "sparse_block_size": 128,
57
+ "sparse_num_random_blocks": 120,
58
+ "sparse_mask_pool_size": 1,
59
+ "sparse_val_dense_compare": false,
60
+ "sparse_layer_indices": null,
61
+ "sparse_mask_cache_dir": "/mloscratch/homes/navasard/sparse/mask_cache_30k_b128_nrb120",
62
+ "sparse_mask_seed": 1,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Checkpoint activations: True
68
+ Checkpoint activations: True
69
+ Checkpoint activations: True
70
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5700
71
+ Checkpoint activations: True
72
+
73
+
74
+ ================================================================================
75
+ MODEL ARCHITECTURE
76
+ ================================================================================
77
+ Model config:
78
+ vocab_size: 151936
79
+ hidden_size: 1536
80
+ num_hidden_layers: 28
81
+ num_attention_heads: 12
82
+ num_key_value_heads: 4
83
+ head_dim: 128
84
+ intermediate_size: 6144
85
+ max_position_embeddings: 32768
86
+ rope_theta: 1000000
87
+ attention_type: sparse_stochastic
88
+ sparse_block_size: 128
89
+ sparse_num_random_blocks: 120
90
+ sparse_mask_pool_size: 1
91
+ sparse_max_seq_length: 30720
92
+
93
+ Parameter count:
94
+ Total parameters: 1,202,352,640
95
+ Trainable parameters: 1,202,352,640
96
+ Non-trainable parameters: 0
97
+ Model size (BF16): 2.40 GB
98
+
99
+ --------------------------------------------------------------------------------
100
+ LAYER-BY-LAYER SUMMARY
101
+ --------------------------------------------------------------------------------
102
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
103
+
104
+ SOLUTION: Use torch.compile(flex_attention)(...)
105
+
106
+ If you want to debug your score_mod/mask_mod, you can set:
107
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
108
+
109
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
110
+ _warn_once(
111
+ Could not generate detailed summary: Failed to run torchinfo. See above stack traces for more details. Executed layers up to: [Embedding: 2, Qwen3RMSNorm: 4, Linear: 5, Linear: 5, Linear: 5, Qwen3RMSNorm: 5, Qwen3RMSNorm: 5, Qwen3RotaryEmbedding: 5]
112
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
113
+ ================================================================================
114
+
115
+ Loading dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
116
+ Using pre-tokenized dataset (no runtime tokenization)
117
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
118
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
119
+ Dataset split: 749299 train, 39437 validation
120
+ Training examples (packed, train split): 749299
121
+ Validation examples (packed, val split): 39437
122
+ Per-device batch size: 1
123
+ World size (GPUs): 4
124
+ Gradient accumulation steps: 5
125
+ Effective batch size (seqs/step): 20
126
+ Sequence length: 30720
127
+ Tokens per optimizer step: 614,400
128
+ Micro-batches per epoch (per rank): 187325
129
+ Optimizer steps per epoch: 37465
130
+ Total optimizer steps: 37465
131
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-5700...
132
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
133
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
134
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
135
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
136
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
137
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
138
+ Overriding checkpoint LR with config LR: 0.0005
139
+ Resumed from checkpoint at step 5700 (epoch 0, micro_step 28500)
140
+ Resuming training from step 5700
141
+ Resuming wandb run 9blizq3m
142
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
143
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
144
+ wandb: Tracking run with wandb version 0.26.1
145
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260711_080025-9blizq3m
146
+ wandb: Run `wandb offline` to turn off syncing.
147
+ wandb: Resuming run 1.2b fixed 30k longctx
148
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
149
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/9blizq3m
150
+ Starting training...
151
+ Validation at step 5700: Loss = 2.4255, Perplexity = 11.31
152
+ wandb: WARNING Tried to log to step 5700 that is less than the current step 5731. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
153
+ Switching attention mode for step 5701: sparse_stochastic (configured sparse attention)
154
+ Step 5710/37465 | Loss: 2.4233 | LR: 4.78e-04 | 25615.7ms/step | 0.8 samples/s
155
+ wandb: WARNING Tried to log to step 5710 that is less than the current step 5731. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
156
+ Step 5720/37465 | Loss: 2.3971 | LR: 4.78e-04 | 8106.0ms/step | 2.5 samples/s
157
+ wandb: WARNING Tried to log to step 5720 that is less than the current step 5731. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
158
+ Step 5730/37465 | Loss: 2.4188 | LR: 4.78e-04 | 8148.0ms/step | 2.5 samples/s
159
+ wandb: WARNING Tried to log to step 5730 that is less than the current step 5731. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
160
+ Step 5740/37465 | Loss: 2.3991 | LR: 4.78e-04 | 8130.2ms/step | 2.5 samples/s
161
+ Step 5750/37465 | Loss: 2.4403 | LR: 4.77e-04 | 8157.3ms/step | 2.5 samples/s
162
+ Step 5760/37465 | Loss: 2.1459 | LR: 4.77e-04 | 8150.0ms/step | 2.5 samples/s
163
+ Step 5770/37465 | Loss: 2.4807 | LR: 4.77e-04 | 8176.4ms/step | 2.4 samples/s
164
+ Step 5780/37465 | Loss: 2.4041 | LR: 4.77e-04 | 8155.3ms/step | 2.5 samples/s
165
+ Step 5790/37465 | Loss: 2.2887 | LR: 4.77e-04 | 8185.4ms/step | 2.4 samples/s
166
+ Step 5800/37465 | Loss: 2.4940 | LR: 4.77e-04 | 8195.5ms/step | 2.4 samples/s
167
+ Step 5810/37465 | Loss: 2.4236 | LR: 4.77e-04 | 8181.2ms/step | 2.4 samples/s
168
+ Step 5820/37465 | Loss: 2.1601 | LR: 4.77e-04 | 8181.0ms/step | 2.4 samples/s
169
+ Step 5830/37465 | Loss: 2.3791 | LR: 4.77e-04 | 8183.4ms/step | 2.4 samples/s
170
+ Step 5840/37465 | Loss: 2.4035 | LR: 4.77e-04 | 8200.5ms/step | 2.4 samples/s
171
+ Step 5850/37465 | Loss: 2.2279 | LR: 4.77e-04 | 8146.1ms/step | 2.5 samples/s
172
+ Step 5860/37465 | Loss: 2.1539 | LR: 4.76e-04 | 8175.4ms/step | 2.4 samples/s
173
+ Step 5870/37465 | Loss: 2.4310 | LR: 4.76e-04 | 8168.1ms/step | 2.4 samples/s
174
+ Step 5880/37465 | Loss: 2.4335 | LR: 4.76e-04 | 8099.7ms/step | 2.5 samples/s
175
+ Step 5890/37465 | Loss: 2.5099 | LR: 4.76e-04 | 8151.9ms/step | 2.5 samples/s
176
+ Step 5900/37465 | Loss: 2.5700 | LR: 4.76e-04 | 8134.2ms/step | 2.5 samples/s
177
+ Step 5910/37465 | Loss: 2.2665 | LR: 4.76e-04 | 8145.1ms/step | 2.5 samples/s
178
+ Step 5920/37465 | Loss: 2.4116 | LR: 4.76e-04 | 8143.3ms/step | 2.5 samples/s
179
+ Step 5930/37465 | Loss: 2.3634 | LR: 4.76e-04 | 8128.2ms/step | 2.5 samples/s
180
+ Step 5940/37465 | Loss: 2.6368 | LR: 4.76e-04 | 8131.6ms/step | 2.5 samples/s
181
+ Step 5950/37465 | Loss: 2.5229 | LR: 4.76e-04 | 8116.3ms/step | 2.5 samples/s
182
+ Step 5960/37465 | Loss: 2.2806 | LR: 4.76e-04 | 8141.0ms/step | 2.5 samples/s
183
+ Step 5970/37465 | Loss: 2.2798 | LR: 4.75e-04 | 8138.6ms/step | 2.5 samples/s
184
+ Step 5980/37465 | Loss: 2.3335 | LR: 4.75e-04 | 8157.1ms/step | 2.5 samples/s
185
+ Step 5990/37465 | Loss: 2.3756 | LR: 4.75e-04 | 8141.2ms/step | 2.5 samples/s
186
+ Step 6000/37465 | Loss: 2.2740 | LR: 4.75e-04 | 8117.4ms/step | 2.5 samples/s
187
+ Validation at step 6000: Loss = 2.4133, Perplexity = 11.17
188
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-6000
189
+ Step 6010/37465 | Loss: 2.2714 | LR: 4.75e-04 | 9634.0ms/step | 2.1 samples/s
190
+ Step 6020/37465 | Loss: 2.5321 | LR: 4.75e-04 | 8083.3ms/step | 2.5 samples/s
191
+ Step 6030/37465 | Loss: 2.4918 | LR: 4.75e-04 | 8106.1ms/step | 2.5 samples/s
192
+ Step 6040/37465 | Loss: 2.3314 | LR: 4.75e-04 | 8101.6ms/step | 2.5 samples/s
193
+ Step 6050/37465 | Loss: 2.2412 | LR: 4.75e-04 | 8168.9ms/step | 2.4 samples/s
194
+ Step 6060/37465 | Loss: 2.5855 | LR: 4.75e-04 | 8174.5ms/step | 2.4 samples/s
195
+ Step 6070/37465 | Loss: 2.3413 | LR: 4.75e-04 | 8172.7ms/step | 2.4 samples/s
196
+ Step 6080/37465 | Loss: 2.5651 | LR: 4.74e-04 | 8196.3ms/step | 2.4 samples/s
197
+ Step 6090/37465 | Loss: 2.3406 | LR: 4.74e-04 | 8193.4ms/step | 2.4 samples/s
198
+ Step 6100/37465 | Loss: 2.1750 | LR: 4.74e-04 | 8184.3ms/step | 2.4 samples/s
199
+ Step 6110/37465 | Loss: 2.5999 | LR: 4.74e-04 | 8157.3ms/step | 2.5 samples/s
200
+ Step 6120/37465 | Loss: 2.5244 | LR: 4.74e-04 | 8183.5ms/step | 2.4 samples/s
201
+ Step 6130/37465 | Loss: 2.4220 | LR: 4.74e-04 | 8200.1ms/step | 2.4 samples/s
202
+ Step 6140/37465 | Loss: 2.3484 | LR: 4.74e-04 | 8198.3ms/step | 2.4 samples/s
203
+ Step 6150/37465 | Loss: 2.5200 | LR: 4.74e-04 | 8141.7ms/step | 2.5 samples/s
204
+ Step 6160/37465 | Loss: 2.4814 | LR: 4.74e-04 | 8120.6ms/step | 2.5 samples/s
205
+ Step 6170/37465 | Loss: 2.3418 | LR: 4.74e-04 | 8141.2ms/step | 2.5 samples/s
206
+ Step 6180/37465 | Loss: 2.4501 | LR: 4.73e-04 | 8049.7ms/step | 2.5 samples/s
207
+ Step 6190/37465 | Loss: 2.4962 | LR: 4.73e-04 | 8232.9ms/step | 2.4 samples/s
208
+ Step 6200/37465 | Loss: 2.3876 | LR: 4.73e-04 | 8211.8ms/step | 2.4 samples/s
209
+ Step 6210/37465 | Loss: 2.2009 | LR: 4.73e-04 | 8231.0ms/step | 2.4 samples/s
210
+ Step 6220/37465 | Loss: 2.4581 | LR: 4.73e-04 | 8234.9ms/step | 2.4 samples/s
211
+ Step 6230/37465 | Loss: 2.3382 | LR: 4.73e-04 | 8233.5ms/step | 2.4 samples/s
212
+ Step 6240/37465 | Loss: 2.4628 | LR: 4.73e-04 | 8188.2ms/step | 2.4 samples/s
213
+ Step 6250/37465 | Loss: 2.3168 | LR: 4.73e-04 | 8166.0ms/step | 2.4 samples/s
214
+ Step 6260/37465 | Loss: 2.2641 | LR: 4.73e-04 | 8188.7ms/step | 2.4 samples/s
215
+ Step 6270/37465 | Loss: 1.9939 | LR: 4.73e-04 | 8173.5ms/step | 2.4 samples/s
216
+ Step 6280/37465 | Loss: 2.2060 | LR: 4.73e-04 | 8177.8ms/step | 2.4 samples/s
217
+ Step 6290/37465 | Loss: 2.3970 | LR: 4.72e-04 | 8196.8ms/step | 2.4 samples/s
218
+ Step 6300/37465 | Loss: 2.4667 | LR: 4.72e-04 | 8114.9ms/step | 2.5 samples/s
219
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-6300
220
+ Step 6310/37465 | Loss: 2.2527 | LR: 4.72e-04 | 9896.9ms/step | 2.0 samples/s
221
+ Step 6320/37465 | Loss: 2.3347 | LR: 4.72e-04 | 8162.6ms/step | 2.5 samples/s
222
+ Step 6330/37465 | Loss: 2.4564 | LR: 4.72e-04 | 8161.8ms/step | 2.5 samples/s
223
+ Step 6340/37465 | Loss: 2.2622 | LR: 4.72e-04 | 8169.7ms/step | 2.4 samples/s
224
+ Step 6350/37465 | Loss: 2.6875 | LR: 4.72e-04 | 8166.6ms/step | 2.4 samples/s
225
+ Step 6360/37465 | Loss: 2.2354 | LR: 4.72e-04 | 8183.3ms/step | 2.4 samples/s
226
+ Step 6370/37465 | Loss: 2.1165 | LR: 4.72e-04 | 8210.6ms/step | 2.4 samples/s
227
+ Step 6380/37465 | Loss: 2.5141 | LR: 4.72e-04 | 8191.8ms/step | 2.4 samples/s
228
+ Step 6390/37465 | Loss: 2.5378 | LR: 4.71e-04 | 8218.6ms/step | 2.4 samples/s
229
+ Step 6400/37465 | Loss: 2.3583 | LR: 4.71e-04 | 8170.3ms/step | 2.4 samples/s
230
+ Step 6410/37465 | Loss: 2.4088 | LR: 4.71e-04 | 8177.7ms/step | 2.4 samples/s
231
+ Step 6420/37465 | Loss: 2.2487 | LR: 4.71e-04 | 8226.4ms/step | 2.4 samples/s
232
+ Step 6430/37465 | Loss: 2.2890 | LR: 4.71e-04 | 8239.9ms/step | 2.4 samples/s
233
+ Step 6440/37465 | Loss: 2.2322 | LR: 4.71e-04 | 8236.4ms/step | 2.4 samples/s
234
+ Step 6450/37465 | Loss: 2.3595 | LR: 4.71e-04 | 8172.2ms/step | 2.4 samples/s
235
+ Step 6460/37465 | Loss: 2.3734 | LR: 4.71e-04 | 8105.1ms/step | 2.5 samples/s
236
+ Step 6470/37465 | Loss: 2.3530 | LR: 4.71e-04 | 8126.2ms/step | 2.5 samples/s
237
+ Step 6480/37465 | Loss: 2.3063 | LR: 4.71e-04 | 8204.0ms/step | 2.4 samples/s
238
+ Step 6490/37465 | Loss: 2.3493 | LR: 4.70e-04 | 8162.5ms/step | 2.5 samples/s
239
+ Step 6500/37465 | Loss: 2.5273 | LR: 4.70e-04 | 8223.7ms/step | 2.4 samples/s
240
+ Validation at step 6500: Loss = 2.3911, Perplexity = 10.93
241
+ Step 6510/37465 | Loss: 2.3985 | LR: 4.70e-04 | 8884.6ms/step | 2.3 samples/s
242
+ Step 6520/37465 | Loss: 2.4548 | LR: 4.70e-04 | 8207.0ms/step | 2.4 samples/s
243
+ Step 6530/37465 | Loss: 2.2737 | LR: 4.70e-04 | 8177.7ms/step | 2.4 samples/s
244
+ Step 6540/37465 | Loss: 2.4096 | LR: 4.70e-04 | 8219.9ms/step | 2.4 samples/s
245
+ Step 6550/37465 | Loss: 2.3655 | LR: 4.70e-04 | 8177.0ms/step | 2.4 samples/s
246
+ Step 6560/37465 | Loss: 2.4906 | LR: 4.70e-04 | 8139.6ms/step | 2.5 samples/s
247
+ Step 6570/37465 | Loss: 2.5839 | LR: 4.70e-04 | 8224.5ms/step | 2.4 samples/s
248
+ Step 6580/37465 | Loss: 2.2572 | LR: 4.70e-04 | 7998.1ms/step | 2.5 samples/s
249
+ Step 6590/37465 | Loss: 2.2486 | LR: 4.69e-04 | 8212.1ms/step | 2.4 samples/s
250
+ Step 6600/37465 | Loss: 2.2569 | LR: 4.69e-04 | 8185.3ms/step | 2.4 samples/s
251
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-6600
252
+ Step 6610/37465 | Loss: 2.3613 | LR: 4.69e-04 | 9094.6ms/step | 2.2 samples/s
253
+ Step 6620/37465 | Loss: 2.5718 | LR: 4.69e-04 | 8179.7ms/step | 2.4 samples/s
254
+ Step 6630/37465 | Loss: 2.3047 | LR: 4.69e-04 | 8214.3ms/step | 2.4 samples/s
255
+ Step 6640/37465 | Loss: 2.3896 | LR: 4.69e-04 | 8201.9ms/step | 2.4 samples/s
256
+ Step 6650/37465 | Loss: 2.5540 | LR: 4.69e-04 | 8178.4ms/step | 2.4 samples/s
257
+ Step 6660/37465 | Loss: 2.4475 | LR: 4.69e-04 | 8090.6ms/step | 2.5 samples/s
258
+ Step 6670/37465 | Loss: 2.2657 | LR: 4.69e-04 | 8114.4ms/step | 2.5 samples/s
259
+ Step 6680/37465 | Loss: 2.4151 | LR: 4.69e-04 | 8184.5ms/step | 2.4 samples/s
260
+ Step 6690/37465 | Loss: 2.6053 | LR: 4.68e-04 | 8201.4ms/step | 2.4 samples/s
261
+ Step 6700/37465 | Loss: 2.1858 | LR: 4.68e-04 | 8195.0ms/step | 2.4 samples/s
262
+ Step 6710/37465 | Loss: 2.5396 | LR: 4.68e-04 | 8219.8ms/step | 2.4 samples/s
263
+ Step 6720/37465 | Loss: 2.2380 | LR: 4.68e-04 | 8210.9ms/step | 2.4 samples/s
264
+ Step 6730/37465 | Loss: 2.4316 | LR: 4.68e-04 | 8185.2ms/step | 2.4 samples/s
265
+ Step 6740/37465 | Loss: 2.2572 | LR: 4.68e-04 | 8208.6ms/step | 2.4 samples/s
266
+ Step 6750/37465 | Loss: 2.2984 | LR: 4.68e-04 | 8211.7ms/step | 2.4 samples/s
267
+ Step 6760/37465 | Loss: 2.4685 | LR: 4.68e-04 | 8202.9ms/step | 2.4 samples/s
268
+ Step 6770/37465 | Loss: 2.2939 | LR: 4.68e-04 | 8199.0ms/step | 2.4 samples/s
269
+ Step 6780/37465 | Loss: 2.5630 | LR: 4.67e-04 | 8211.3ms/step | 2.4 samples/s
270
+ Step 6790/37465 | Loss: 2.4770 | LR: 4.67e-04 | 8196.7ms/step | 2.4 samples/s
271
+ Step 6800/37465 | Loss: 2.3050 | LR: 4.67e-04 | 8169.9ms/step | 2.4 samples/s
272
+ Step 6810/37465 | Loss: 2.5238 | LR: 4.67e-04 | 8170.5ms/step | 2.4 samples/s
273
+ Step 6820/37465 | Loss: 2.5106 | LR: 4.67e-04 | 8176.7ms/step | 2.4 samples/s
274
+ Step 6830/37465 | Loss: 2.6382 | LR: 4.67e-04 | 8194.0ms/step | 2.4 samples/s
275
+ Step 6840/37465 | Loss: 2.4227 | LR: 4.67e-04 | 8168.3ms/step | 2.4 samples/s
276
+ Step 6850/37465 | Loss: 2.3855 | LR: 4.67e-04 | 8183.9ms/step | 2.4 samples/s
277
+ Step 6860/37465 | Loss: 2.3495 | LR: 4.67e-04 | 8175.4ms/step | 2.4 samples/s
278
+ Step 6870/37465 | Loss: 2.4752 | LR: 4.66e-04 | 8130.8ms/step | 2.5 samples/s
279
+ Step 6880/37465 | Loss: 2.3842 | LR: 4.66e-04 | 8118.0ms/step | 2.5 samples/s
280
+ Step 6890/37465 | Loss: 2.5300 | LR: 4.66e-04 | 8087.4ms/step | 2.5 samples/s
281
+ Step 6900/37465 | Loss: 2.3989 | LR: 4.66e-04 | 8137.5ms/step | 2.5 samples/s
282
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-6900
283
+ Step 6910/37465 | Loss: 2.4433 | LR: 4.66e-04 | 8961.7ms/step | 2.2 samples/s
284
+ Step 6920/37465 | Loss: 2.4076 | LR: 4.66e-04 | 8075.6ms/step | 2.5 samples/s
285
+ Step 6930/37465 | Loss: 2.2864 | LR: 4.66e-04 | 8103.1ms/step | 2.5 samples/s
286
+ Step 6940/37465 | Loss: 2.1097 | LR: 4.66e-04 | 8107.7ms/step | 2.5 samples/s
287
+ Step 6950/37465 | Loss: 2.5191 | LR: 4.66e-04 | 8043.5ms/step | 2.5 samples/s
288
+ Step 6960/37465 | Loss: 2.4665 | LR: 4.66e-04 | 8100.3ms/step | 2.5 samples/s
289
+ Step 6970/37465 | Loss: 2.4891 | LR: 4.65e-04 | 8025.7ms/step | 2.5 samples/s
290
+ Step 6980/37465 | Loss: 2.4306 | LR: 4.65e-04 | 8115.8ms/step | 2.5 samples/s
291
+ Step 6990/37465 | Loss: 2.4929 | LR: 4.65e-04 | 8124.1ms/step | 2.5 samples/s
292
+ Step 7000/37465 | Loss: 2.1510 | LR: 4.65e-04 | 8104.7ms/step | 2.5 samples/s
293
+ Validation at step 7000: Loss = 2.3711, Perplexity = 10.71
294
+ Step 7010/37465 | Loss: 2.2900 | LR: 4.65e-04 | 8746.1ms/step | 2.3 samples/s
295
+ Step 7020/37465 | Loss: 2.2995 | LR: 4.65e-04 | 8105.8ms/step | 2.5 samples/s
296
+ Step 7030/37465 | Loss: 2.3253 | LR: 4.65e-04 | 8143.7ms/step | 2.5 samples/s
297
+ Step 7040/37465 | Loss: 2.1986 | LR: 4.65e-04 | 8143.9ms/step | 2.5 samples/s
298
+ Step 7050/37465 | Loss: 2.3172 | LR: 4.65e-04 | 8174.8ms/step | 2.4 samples/s
299
+ Step 7060/37465 | Loss: 2.4077 | LR: 4.64e-04 | 8164.4ms/step | 2.4 samples/s
300
+ Step 7070/37465 | Loss: 2.2571 | LR: 4.64e-04 | 8165.3ms/step | 2.4 samples/s
301
+ Step 7080/37465 | Loss: 2.4516 | LR: 4.64e-04 | 8167.4ms/step | 2.4 samples/s
302
+ Step 7090/37465 | Loss: 2.2556 | LR: 4.64e-04 | 8026.7ms/step | 2.5 samples/s
303
+ Step 7100/37465 | Loss: 2.3510 | LR: 4.64e-04 | 8176.6ms/step | 2.4 samples/s
304
+ Step 7110/37465 | Loss: 2.1612 | LR: 4.64e-04 | 8077.1ms/step | 2.5 samples/s
305
+ Step 7120/37465 | Loss: 1.9000 | LR: 4.64e-04 | 8154.8ms/step | 2.5 samples/s
306
+ Step 7130/37465 | Loss: 2.3495 | LR: 4.64e-04 | 8238.0ms/step | 2.4 samples/s
307
+ Step 7140/37465 | Loss: 2.4536 | LR: 4.64e-04 | 8211.4ms/step | 2.4 samples/s
308
+ Step 7150/37465 | Loss: 2.5172 | LR: 4.63e-04 | 8118.8ms/step | 2.5 samples/s
309
+ Step 7160/37465 | Loss: 2.4395 | LR: 4.63e-04 | 8237.3ms/step | 2.4 samples/s
310
+ Step 7170/37465 | Loss: 2.3546 | LR: 4.63e-04 | 8177.9ms/step | 2.4 samples/s
311
+ Step 7180/37465 | Loss: 2.5471 | LR: 4.63e-04 | 8185.2ms/step | 2.4 samples/s
312
+ Step 7190/37465 | Loss: 2.6000 | LR: 4.63e-04 | 8225.6ms/step | 2.4 samples/s
313
+ Step 7200/37465 | Loss: 2.3475 | LR: 4.63e-04 | 8132.2ms/step | 2.5 samples/s
314
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-7200
315
+ Step 7210/37465 | Loss: 2.6240 | LR: 4.63e-04 | 9976.2ms/step | 2.0 samples/s
316
+ Step 7220/37465 | Loss: 2.3894 | LR: 4.63e-04 | 8216.2ms/step | 2.4 samples/s
317
+ Step 7230/37465 | Loss: 2.4416 | LR: 4.63e-04 | 8234.5ms/step | 2.4 samples/s
318
+ Step 7240/37465 | Loss: 2.3953 | LR: 4.62e-04 | 8155.0ms/step | 2.5 samples/s
319
+ Step 7250/37465 | Loss: 2.3746 | LR: 4.62e-04 | 8174.5ms/step | 2.4 samples/s
320
+ Step 7260/37465 | Loss: 2.3994 | LR: 4.62e-04 | 8180.1ms/step | 2.4 samples/s
321
+ Step 7270/37465 | Loss: 2.2348 | LR: 4.62e-04 | 8056.5ms/step | 2.5 samples/s
322
+ Step 7280/37465 | Loss: 2.4378 | LR: 4.62e-04 | 8159.2ms/step | 2.5 samples/s
323
+ Step 7290/37465 | Loss: 2.6233 | LR: 4.62e-04 | 8155.0ms/step | 2.5 samples/s
324
+ Step 7300/37465 | Loss: 2.3456 | LR: 4.62e-04 | 8197.2ms/step | 2.4 samples/s
325
+ Step 7310/37465 | Loss: 2.3139 | LR: 4.62e-04 | 8240.0ms/step | 2.4 samples/s
326
+ Step 7320/37465 | Loss: 2.2889 | LR: 4.62e-04 | 8202.1ms/step | 2.4 samples/s
327
+ Step 7330/37465 | Loss: 2.4655 | LR: 4.61e-04 | 8245.5ms/step | 2.4 samples/s
328
+ Step 7340/37465 | Loss: 2.3131 | LR: 4.61e-04 | 8219.7ms/step | 2.4 samples/s
329
+ Step 7350/37465 | Loss: 2.4320 | LR: 4.61e-04 | 8105.2ms/step | 2.5 samples/s
330
+ Step 7360/37465 | Loss: 2.4561 | LR: 4.61e-04 | 8164.5ms/step | 2.4 samples/s
331
+ Step 7370/37465 | Loss: 2.1081 | LR: 4.61e-04 | 8134.0ms/step | 2.5 samples/s
332
+ Step 7380/37465 | Loss: 2.4054 | LR: 4.61e-04 | 8181.1ms/step | 2.4 samples/s
333
+ Step 7390/37465 | Loss: 2.3375 | LR: 4.61e-04 | 8172.4ms/step | 2.4 samples/s
334
+ Step 7400/37465 | Loss: 2.3454 | LR: 4.61e-04 | 8221.0ms/step | 2.4 samples/s
335
+ Step 7410/37465 | Loss: 2.2249 | LR: 4.60e-04 | 8192.7ms/step | 2.4 samples/s
336
+ Step 7420/37465 | Loss: 2.4995 | LR: 4.60e-04 | 8208.0ms/step | 2.4 samples/s
337
+ Step 7430/37465 | Loss: 2.4542 | LR: 4.60e-04 | 8215.9ms/step | 2.4 samples/s
338
+ Step 7440/37465 | Loss: 2.1935 | LR: 4.60e-04 | 8215.2ms/step | 2.4 samples/s
339
+ Step 7450/37465 | Loss: 2.2351 | LR: 4.60e-04 | 8232.4ms/step | 2.4 samples/s
340
+ Step 7460/37465 | Loss: 2.3569 | LR: 4.60e-04 | 8171.1ms/step | 2.4 samples/s
341
+ Step 7470/37465 | Loss: 2.1997 | LR: 4.60e-04 | 8132.9ms/step | 2.5 samples/s
342
+ Step 7480/37465 | Loss: 2.4366 | LR: 4.60e-04 | 8132.6ms/step | 2.5 samples/s
343
+ Step 7490/37465 | Loss: 2.4346 | LR: 4.60e-04 | 8136.7ms/step | 2.5 samples/s
344
+ Step 7500/37465 | Loss: 2.2755 | LR: 4.59e-04 | 8204.4ms/step | 2.4 samples/s
345
+ Validation at step 7500: Loss = 2.3556, Perplexity = 10.54
346
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-7500
347
+ Step 7510/37465 | Loss: 2.3687 | LR: 4.59e-04 | 9753.3ms/step | 2.1 samples/s
348
+ Step 7520/37465 | Loss: 2.4069 | LR: 4.59e-04 | 8148.1ms/step | 2.5 samples/s
349
+ Step 7530/37465 | Loss: 2.4684 | LR: 4.59e-04 | 8205.8ms/step | 2.4 samples/s
350
+ Step 7540/37465 | Loss: 2.2359 | LR: 4.59e-04 | 8167.7ms/step | 2.4 samples/s
351
+ Step 7550/37465 | Loss: 2.4971 | LR: 4.59e-04 | 8180.7ms/step | 2.4 samples/s
352
+ Step 7560/37465 | Loss: 2.3584 | LR: 4.59e-04 | 8203.0ms/step | 2.4 samples/s
353
+ Step 7570/37465 | Loss: 2.3746 | LR: 4.59e-04 | 8166.4ms/step | 2.4 samples/s
354
+ Step 7580/37465 | Loss: 2.5086 | LR: 4.59e-04 | 8169.6ms/step | 2.4 samples/s
355
+ Step 7590/37465 | Loss: 2.3596 | LR: 4.58e-04 | 8188.5ms/step | 2.4 samples/s
356
+ Step 7600/37465 | Loss: 2.5025 | LR: 4.58e-04 | 8177.6ms/step | 2.4 samples/s
357
+ Step 7610/37465 | Loss: 2.4599 | LR: 4.58e-04 | 8200.8ms/step | 2.4 samples/s
358
+ Step 7620/37465 | Loss: 2.1612 | LR: 4.58e-04 | 8218.8ms/step | 2.4 samples/s
359
+ Step 7630/37465 | Loss: 2.3423 | LR: 4.58e-04 | 8224.4ms/step | 2.4 samples/s
360
+ Step 7640/37465 | Loss: 2.2358 | LR: 4.58e-04 | 8214.2ms/step | 2.4 samples/s
361
+ Step 7650/37465 | Loss: 2.2991 | LR: 4.58e-04 | 8186.7ms/step | 2.4 samples/s
362
+ Step 7660/37465 | Loss: 2.3484 | LR: 4.58e-04 | 8181.6ms/step | 2.4 samples/s
363
+ Step 7670/37465 | Loss: 2.2338 | LR: 4.57e-04 | 8178.5ms/step | 2.4 samples/s
364
+ Step 7680/37465 | Loss: 2.3069 | LR: 4.57e-04 | 8180.8ms/step | 2.4 samples/s
365
+ Step 7690/37465 | Loss: 2.1779 | LR: 4.57e-04 | 8201.0ms/step | 2.4 samples/s
366
+ Step 7700/37465 | Loss: 2.2300 | LR: 4.57e-04 | 8185.0ms/step | 2.4 samples/s
367
+ Step 7710/37465 | Loss: 2.6032 | LR: 4.57e-04 | 8193.9ms/step | 2.4 samples/s
368
+ Step 7720/37465 | Loss: 2.1712 | LR: 4.57e-04 | 8201.8ms/step | 2.4 samples/s
369
+ Step 7730/37465 | Loss: 2.3737 | LR: 4.57e-04 | 8178.0ms/step | 2.4 samples/s
370
+ Step 7740/37465 | Loss: 2.4715 | LR: 4.57e-04 | 8200.8ms/step | 2.4 samples/s
371
+ Step 7750/37465 | Loss: 2.4677 | LR: 4.56e-04 | 8207.4ms/step | 2.4 samples/s
372
+ Step 7760/37465 | Loss: 2.3958 | LR: 4.56e-04 | 8205.5ms/step | 2.4 samples/s
373
+ Step 7770/37465 | Loss: 2.1620 | LR: 4.56e-04 | 8206.5ms/step | 2.4 samples/s
374
+ Step 7780/37465 | Loss: 2.1917 | LR: 4.56e-04 | 8202.3ms/step | 2.4 samples/s
375
+ Step 7790/37465 | Loss: 2.1820 | LR: 4.56e-04 | 8177.7ms/step | 2.4 samples/s
376
+ Step 7800/37465 | Loss: 2.1496 | LR: 4.56e-04 | 8176.2ms/step | 2.4 samples/s
377
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-7800
378
+ Step 7810/37465 | Loss: 2.3445 | LR: 4.56e-04 | 9051.5ms/step | 2.2 samples/s
379
+ Step 7820/37465 | Loss: 2.3243 | LR: 4.56e-04 | 8191.0ms/step | 2.4 samples/s
380
+ Step 7830/37465 | Loss: 2.2762 | LR: 4.56e-04 | 8182.2ms/step | 2.4 samples/s
381
+ Step 7840/37465 | Loss: 2.4698 | LR: 4.55e-04 | 8157.2ms/step | 2.5 samples/s
382
+ Step 7850/37465 | Loss: 2.2608 | LR: 4.55e-04 | 8187.7ms/step | 2.4 samples/s
383
+ Step 7860/37465 | Loss: 2.2268 | LR: 4.55e-04 | 8196.4ms/step | 2.4 samples/s
384
+ Step 7870/37465 | Loss: 2.3566 | LR: 4.55e-04 | 8210.0ms/step | 2.4 samples/s
385
+ Step 7880/37465 | Loss: 2.2290 | LR: 4.55e-04 | 8207.9ms/step | 2.4 samples/s
386
+ Step 7890/37465 | Loss: 2.4396 | LR: 4.55e-04 | 8201.9ms/step | 2.4 samples/s
387
+ Step 7900/37465 | Loss: 2.2428 | LR: 4.55e-04 | 8206.0ms/step | 2.4 samples/s
388
+ Step 7910/37465 | Loss: 2.2175 | LR: 4.55e-04 | 8156.6ms/step | 2.5 samples/s
389
+ Step 7920/37465 | Loss: 2.1634 | LR: 4.54e-04 | 8014.5ms/step | 2.5 samples/s
390
+ Step 7930/37465 | Loss: 2.2800 | LR: 4.54e-04 | 8081.7ms/step | 2.5 samples/s
391
+ Step 7940/37465 | Loss: 2.1433 | LR: 4.54e-04 | 8093.1ms/step | 2.5 samples/s
392
+ Step 7950/37465 | Loss: 2.3007 | LR: 4.54e-04 | 8103.2ms/step | 2.5 samples/s
393
+ Step 7960/37465 | Loss: 2.4438 | LR: 4.54e-04 | 8096.1ms/step | 2.5 samples/s
394
+ Step 7970/37465 | Loss: 2.3276 | LR: 4.54e-04 | 8083.8ms/step | 2.5 samples/s
395
+ Step 7980/37465 | Loss: 2.3070 | LR: 4.54e-04 | 8108.2ms/step | 2.5 samples/s
396
+ Step 7990/37465 | Loss: 2.4770 | LR: 4.54e-04 | 8144.9ms/step | 2.5 samples/s
397
+ Step 8000/37465 | Loss: 2.3272 | LR: 4.53e-04 | 8162.2ms/step | 2.5 samples/s
398
+ Validation at step 8000: Loss = 2.3388, Perplexity = 10.37
399
+ Step 8010/37465 | Loss: 2.0893 | LR: 4.53e-04 | 8718.1ms/step | 2.3 samples/s
400
+ Step 8020/37465 | Loss: 2.3537 | LR: 4.53e-04 | 8087.2ms/step | 2.5 samples/s
401
+ Step 8030/37465 | Loss: 2.3397 | LR: 4.53e-04 | 8111.2ms/step | 2.5 samples/s
402
+ Step 8040/37465 | Loss: 2.3065 | LR: 4.53e-04 | 8110.2ms/step | 2.5 samples/s
403
+ Step 8050/37465 | Loss: 2.1418 | LR: 4.53e-04 | 8139.4ms/step | 2.5 samples/s
404
+ Step 8060/37465 | Loss: 2.4284 | LR: 4.53e-04 | 8095.5ms/step | 2.5 samples/s
405
+ Step 8070/37465 | Loss: 2.4237 | LR: 4.53e-04 | 8058.4ms/step | 2.5 samples/s
406
+ Step 8080/37465 | Loss: 2.3563 | LR: 4.52e-04 | 8163.7ms/step | 2.4 samples/s
407
+ Step 8090/37465 | Loss: 2.2095 | LR: 4.52e-04 | 8144.3ms/step | 2.5 samples/s
408
+ Step 8100/37465 | Loss: 2.4239 | LR: 4.52e-04 | 8176.8ms/step | 2.4 samples/s
409
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_fixed/run_20260709_000503/checkpoint-8100
410
+ Step 8110/37465 | Loss: 2.4102 | LR: 4.52e-04 | 9041.5ms/step | 2.2 samples/s
411
+ Step 8120/37465 | Loss: 2.4006 | LR: 4.52e-04 | 8162.7ms/step | 2.5 samples/s
412
+ Step 8130/37465 | Loss: 2.3514 | LR: 4.52e-04 | 8043.4ms/step | 2.5 samples/s
413
+ Step 8140/37465 | Loss: 2.2464 | LR: 4.52e-04 | 8121.2ms/step | 2.5 samples/s
414
+ Step 8150/37465 | Loss: 2.4491 | LR: 4.52e-04 | 8135.2ms/step | 2.5 samples/s
415
+ Step 8160/37465 | Loss: 2.2588 | LR: 4.51e-04 | 8196.7ms/step | 2.4 samples/s
416
+ Step 8170/37465 | Loss: 2.3349 | LR: 4.51e-04 | 8081.3ms/step | 2.5 samples/s
417
+ Step 8180/37465 | Loss: 2.4152 | LR: 4.51e-04 | 7996.8ms/step | 2.5 samples/s
418
+ Step 8190/37465 | Loss: 2.2468 | LR: 4.51e-04 | 8094.2ms/step | 2.5 samples/s
419
+ Step 8200/37465 | Loss: 2.3353 | LR: 4.51e-04 | 8123.1ms/step | 2.5 samples/s
420
+ Step 8210/37465 | Loss: 2.4674 | LR: 4.51e-04 | 8035.2ms/step | 2.5 samples/s
421
+ Step 8220/37465 | Loss: 2.3570 | LR: 4.51e-04 | 8156.5ms/step | 2.5 samples/s
422
+ Step 8230/37465 | Loss: 2.2833 | LR: 4.51e-04 | 8231.9ms/step | 2.4 samples/s
423
+ Step 8240/37465 | Loss: 2.2904 | LR: 4.50e-04 | 8042.1ms/step | 2.5 samples/s
424
+ Step 8250/37465 | Loss: 2.2846 | LR: 4.50e-04 | 8132.7ms/step | 2.5 samples/s
425
+ Step 8260/37465 | Loss: 2.5686 | LR: 4.50e-04 | 8096.2ms/step | 2.5 samples/s
426
+ Step 8270/37465 | Loss: 2.4240 | LR: 4.50e-04 | 8086.1ms/step | 2.5 samples/s
427
+ Step 8280/37465 | Loss: 2.1655 | LR: 4.50e-04 | 8169.1ms/step | 2.4 samples/s
428
+ Step 8290/37465 | Loss: 2.4233 | LR: 4.50e-04 | 8231.7ms/step | 2.4 samples/s
429
+ Step 8300/37465 | Loss: 2.2389 | LR: 4.50e-04 | 8191.6ms/step | 2.4 samples/s
430
+ Step 8310/37465 | Loss: 2.4158 | LR: 4.49e-04 | 8181.8ms/step | 2.4 samples/s
431
+ Step 8320/37465 | Loss: 2.4746 | LR: 4.49e-04 | 8235.6ms/step | 2.4 samples/s
432
+ Step 8330/37465 | Loss: 2.1171 | LR: 4.49e-04 | 8195.8ms/step | 2.4 samples/s
433
+ Step 8340/37465 | Loss: 2.4831 | LR: 4.49e-04 | 8188.3ms/step | 2.4 samples/s
434
+ Step 8350/37465 | Loss: 2.4076 | LR: 4.49e-04 | 8185.2ms/step | 2.4 samples/s
435
+ Step 8360/37465 | Loss: 2.0461 | LR: 4.49e-04 | 8230.2ms/step | 2.4 samples/s
436
+ Step 8370/37465 | Loss: 2.3678 | LR: 4.49e-04 | 8169.6ms/step | 2.4 samples/s
epfl_final/train_logs/resume_resampled30k.log ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700
2
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209
3
+ Running config:
4
+ {
5
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
6
+ "model_dtype": "bfloat16",
7
+ "init_from_scratch": true,
8
+ "train_path": "/mloscratch/homes/navasard/data/longctx30k/tokenized",
9
+ "val_path": null,
10
+ "max_seq_length": 30720,
11
+ "num_workers": 4,
12
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209",
13
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700",
14
+ "force_new_run": false,
15
+ "num_epochs": 1,
16
+ "max_steps": null,
17
+ "per_device_batch_size": 1,
18
+ "gradient_accumulation_steps": 5,
19
+ "learning_rate": 0.0005,
20
+ "weight_decay": 0.01,
21
+ "warmup_steps": 750,
22
+ "lr_scheduler": "cosine",
23
+ "max_grad_norm": 1.0,
24
+ "save_steps": 300,
25
+ "eval_steps": 500,
26
+ "eval_batches": 20,
27
+ "logging_steps": 10,
28
+ "seed": 42,
29
+ "verbose": true,
30
+ "checkpoint_activations": true,
31
+ "strategy": "ddp",
32
+ "mixed_precision": "bf16",
33
+ "wandb_enabled": true,
34
+ "wandb_project": "stochastic_sparsity",
35
+ "wandb_name": "1.2b resampled 30k longctx",
36
+ "wandb_tags": [
37
+ "qwen3",
38
+ "1.2b",
39
+ "resampled",
40
+ "30k",
41
+ "longctx",
42
+ "b128",
43
+ "scaleladder"
44
+ ],
45
+ "hidden_size": 1536,
46
+ "intermediate_size": 6144,
47
+ "num_attention_heads": 12,
48
+ "num_key_value_heads": 4,
49
+ "num_hidden_layers": null,
50
+ "head_dim": null,
51
+ "attention_type": "sparse_stochastic",
52
+ "sparse_block_size": 128,
53
+ "sparse_num_random_blocks": 120,
54
+ "sparse_mask_pool_size": 1000,
55
+ "sparse_val_dense_compare": false,
56
+ "sparse_layer_indices": null,
57
+ "sparse_mask_cache_dir": "/mloscratch/homes/navasard/sparse/mask_cache_30k_b128_nrb120",
58
+ "sparse_mask_seed": 0,
59
+ "dense_mode": false,
60
+ "dense_step_intervals": null
61
+ }
62
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
63
+ Checkpoint activations: TrueCheckpoint activations: True
64
+
65
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700
66
+ Checkpoint activations: True
67
+ Checkpoint activations: True
68
+
69
+
70
+ ================================================================================
71
+ MODEL ARCHITECTURE
72
+ ================================================================================
73
+ Model config:
74
+ vocab_size: 151936
75
+ hidden_size: 1536
76
+ num_hidden_layers: 28
77
+ num_attention_heads: 12
78
+ num_key_value_heads: 4
79
+ head_dim: 128
80
+ intermediate_size: 6144
81
+ max_position_embeddings: 32768
82
+ rope_theta: 1000000
83
+ attention_type: sparse_stochastic
84
+ sparse_block_size: 128
85
+ sparse_num_random_blocks: 120
86
+ sparse_mask_pool_size: 1000
87
+ sparse_max_seq_length: 30720
88
+
89
+ Parameter count:
90
+ Total parameters: 1,202,352,640
91
+ Trainable parameters: 1,202,352,640
92
+ Non-trainable parameters: 0
93
+ Model size (BF16): 2.40 GB
94
+
95
+ --------------------------------------------------------------------------------
96
+ LAYER-BY-LAYER SUMMARY
97
+ --------------------------------------------------------------------------------
98
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
99
+
100
+ SOLUTION: Use torch.compile(flex_attention)(...)
101
+
102
+ If you want to debug your score_mod/mask_mod, you can set:
103
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
104
+
105
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
106
+ _warn_once(
107
+ Could not generate detailed summary: Failed to run torchinfo. See above stack traces for more details. Executed layers up to: [Embedding: 2, Qwen3RMSNorm: 4, Linear: 5, Linear: 5, Linear: 5, Qwen3RMSNorm: 5, Qwen3RMSNorm: 5, Qwen3RotaryEmbedding: 5]
108
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
109
+ ================================================================================
110
+
111
+ Loading dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
112
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
113
+ Using pre-tokenized dataset (no runtime tokenization)
114
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
115
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
116
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
117
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
118
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
119
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
120
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
121
+ Dataset split: 749299 train, 39437 validation
122
+ Training examples (packed, train split): 749299
123
+ Validation examples (packed, val split): 39437
124
+ Per-device batch size: 1
125
+ World size (GPUs): 4
126
+ Gradient accumulation steps: 5
127
+ Effective batch size (seqs/step): 20
128
+ Sequence length: 30720
129
+ Tokens per optimizer step: 614,400
130
+ Micro-batches per epoch (per rank): 187325
131
+ Optimizer steps per epoch: 37465
132
+ Total optimizer steps: 37465
133
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700...
134
+ Overriding checkpoint LR with config LR: 0.0005
135
+ Resumed from checkpoint at step 5700 (epoch 0, micro_step 28500)
136
+ Resuming training from step 5700
137
+ Resuming wandb run hn868f80
138
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
139
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
140
+ wandb: Tracking run with wandb version 0.26.1
141
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260709_222958-hn868f80
142
+ wandb: Run `wandb offline` to turn off syncing.
143
+ wandb: Resuming run 1.2b resampled 30k longctx
144
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
145
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/hn868f80
146
+ Starting training...
147
+ Validation at step 5700: Loss = 2.4275, Perplexity = 11.33
148
+ wandb: WARNING Tried to log to step 5700 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
149
+ Switching attention mode for step 5701: sparse_stochastic (configured sparse attention)
150
+ Step 5710/37465 | Loss: 2.4246 | LR: 4.78e-04 | 49011.5ms/step | 0.4 samples/s
151
+ wandb: WARNING Tried to log to step 5710 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
152
+ Step 5720/37465 | Loss: 2.3987 | LR: 4.78e-04 | 28273.4ms/step | 0.7 samples/s
153
+ wandb: WARNING Tried to log to step 5720 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
154
+ Step 5730/37465 | Loss: 2.4191 | LR: 4.78e-04 | 28275.3ms/step | 0.7 samples/s
155
+ wandb: WARNING Tried to log to step 5730 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
156
+ Step 5740/37465 | Loss: 2.3961 | LR: 4.78e-04 | 28271.8ms/step | 0.7 samples/s
157
+ wandb: WARNING Tried to log to step 5740 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
158
+ Step 5750/37465 | Loss: 2.4381 | LR: 4.77e-04 | 28275.6ms/step | 0.7 samples/s
159
+ wandb: WARNING Tried to log to step 5750 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
160
+ Step 5760/37465 | Loss: 2.1498 | LR: 4.77e-04 | 28277.9ms/step | 0.7 samples/s
161
+ wandb: WARNING Tried to log to step 5760 that is less than the current step 5761. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
162
+ Step 5770/37465 | Loss: 2.4837 | LR: 4.77e-04 | 28273.9ms/step | 0.7 samples/s
163
+ Step 5780/37465 | Loss: 2.4049 | LR: 4.77e-04 | 28276.1ms/step | 0.7 samples/s
164
+ Step 5790/37465 | Loss: 2.2924 | LR: 4.77e-04 | 28272.8ms/step | 0.7 samples/s
165
+ Step 5800/37465 | Loss: 2.4950 | LR: 4.77e-04 | 28272.1ms/step | 0.7 samples/s
166
+ Step 5810/37465 | Loss: 2.4212 | LR: 4.77e-04 | 28284.5ms/step | 0.7 samples/s
167
+ Step 5820/37465 | Loss: 2.1602 | LR: 4.77e-04 | 28279.2ms/step | 0.7 samples/s
168
+ Step 5830/37465 | Loss: 2.3799 | LR: 4.77e-04 | 28282.1ms/step | 0.7 samples/s
169
+ Step 5840/37465 | Loss: 2.4057 | LR: 4.77e-04 | 28278.5ms/step | 0.7 samples/s
170
+ Step 5850/37465 | Loss: 2.2287 | LR: 4.77e-04 | 28280.3ms/step | 0.7 samples/s
171
+ Step 5860/37465 | Loss: 2.1535 | LR: 4.76e-04 | 28277.0ms/step | 0.7 samples/s
172
+ Step 5870/37465 | Loss: 2.4309 | LR: 4.76e-04 | 28279.3ms/step | 0.7 samples/s
173
+ W0709 23:58:10.171000 142 site-packages/torch/distributed/elastic/agent/server/api.py:739] Received 15 death signal, shutting down workers
174
+ W0709 23:58:10.173000 142 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 155 closing signal SIGTERM
175
+ W0709 23:58:10.174000 142 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 156 closing signal SIGTERM
176
+ W0709 23:58:10.175000 142 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 157 closing signal SIGTERM
177
+ W0709 23:58:10.176000 142 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 158 closing signal SIGTERM
178
+ Traceback (most recent call last):
179
+ File "/mloscratch/homes/navasard/conda/bin/torchrun", line 6, in <module>
180
+ sys.exit(main())
181
+ ~~~~^^
182
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 362, in wrapper
183
+ return f(*args, **kwargs)
184
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 990, in main
185
+ run(args)
186
+ ~~~^^^^^^
187
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 981, in run
188
+ elastic_launch(
189
+ ~~~~~~~~~~~~~~~
190
+ config=config,
191
+ ~~~~~~~~~~~~~~
192
+ entrypoint=cmd,
193
+ ~~~~~~~~~~~~~~~
194
+ )(*cmd_args)
195
+ ~^^^^^^^^^^^
196
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 170, in __call__
197
+ return launch_agent(self._config, self._entrypoint, list(args))
198
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 308, in launch_agent
199
+ result = agent.run()
200
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
201
+ result = f(*args, **kwargs)
202
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 731, in run
203
+ result = self._invoke_run(role)
204
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 908, in _invoke_run
205
+ time.sleep(monitor_interval)
206
+ ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
207
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
208
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
209
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 142 got signal: 15
epfl_final/train_logs/resume_resampled30k_h100.log ADDED
The diff for this file is too large to render. See raw diff
 
epfl_final/train_logs/resume_resampled30k_minenv.log ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0709 23:59:19.429000 3736 site-packages/torch/distributed/run.py:851]
2
+ W0709 23:59:19.429000 3736 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0709 23:59:19.429000 3736 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0709 23:59:19.429000 3736 site-packages/torch/distributed/run.py:851] *****************************************
5
+ Auto-resuming from latest checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700
6
+ Resuming: Using existing output directory /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209
7
+ Running config:
8
+ {
9
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
10
+ "model_dtype": "bfloat16",
11
+ "init_from_scratch": true,
12
+ "train_path": "/mloscratch/homes/navasard/data/longctx30k/tokenized",
13
+ "val_path": null,
14
+ "max_seq_length": 30720,
15
+ "num_workers": 4,
16
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209",
17
+ "resume_from_checkpoint": "/mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700",
18
+ "force_new_run": false,
19
+ "num_epochs": 1,
20
+ "max_steps": null,
21
+ "per_device_batch_size": 1,
22
+ "gradient_accumulation_steps": 5,
23
+ "learning_rate": 0.0005,
24
+ "weight_decay": 0.01,
25
+ "warmup_steps": 750,
26
+ "lr_scheduler": "cosine",
27
+ "max_grad_norm": 1.0,
28
+ "save_steps": 300,
29
+ "eval_steps": 500,
30
+ "eval_batches": 20,
31
+ "logging_steps": 10,
32
+ "seed": 42,
33
+ "verbose": true,
34
+ "checkpoint_activations": true,
35
+ "strategy": "ddp",
36
+ "mixed_precision": "bf16",
37
+ "wandb_enabled": true,
38
+ "wandb_project": "stochastic_sparsity",
39
+ "wandb_name": "1.2b resampled 30k longctx",
40
+ "wandb_tags": [
41
+ "qwen3",
42
+ "1.2b",
43
+ "resampled",
44
+ "30k",
45
+ "longctx",
46
+ "b128",
47
+ "scaleladder"
48
+ ],
49
+ "hidden_size": 1536,
50
+ "intermediate_size": 6144,
51
+ "num_attention_heads": 12,
52
+ "num_key_value_heads": 4,
53
+ "num_hidden_layers": null,
54
+ "head_dim": null,
55
+ "attention_type": "sparse_stochastic",
56
+ "sparse_block_size": 128,
57
+ "sparse_num_random_blocks": 120,
58
+ "sparse_mask_pool_size": 1000,
59
+ "sparse_val_dense_compare": false,
60
+ "sparse_layer_indices": null,
61
+ "sparse_mask_cache_dir": "/mloscratch/homes/navasard/sparse/mask_cache_30k_b128_nrb120",
62
+ "sparse_mask_seed": 0,
63
+ "dense_mode": false,
64
+ "dense_step_intervals": null
65
+ }
66
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
67
+ Checkpoint activations: True
68
+ Resuming from checkpoint: /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700
69
+ Checkpoint activations: True
70
+ Checkpoint activations: True
71
+ Checkpoint activations: True
72
+
73
+
74
+ ================================================================================
75
+ MODEL ARCHITECTURE
76
+ ================================================================================
77
+ Model config:
78
+ vocab_size: 151936
79
+ hidden_size: 1536
80
+ num_hidden_layers: 28
81
+ num_attention_heads: 12
82
+ num_key_value_heads: 4
83
+ head_dim: 128
84
+ intermediate_size: 6144
85
+ max_position_embeddings: 32768
86
+ rope_theta: 1000000
87
+ attention_type: sparse_stochastic
88
+ sparse_block_size: 128
89
+ sparse_num_random_blocks: 120
90
+ sparse_mask_pool_size: 1000
91
+ sparse_max_seq_length: 30720
92
+
93
+ Parameter count:
94
+ Total parameters: 1,202,352,640
95
+ Trainable parameters: 1,202,352,640
96
+ Non-trainable parameters: 0
97
+ Model size (BF16): 2.40 GB
98
+
99
+ --------------------------------------------------------------------------------
100
+ LAYER-BY-LAYER SUMMARY
101
+ --------------------------------------------------------------------------------
102
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
103
+
104
+ SOLUTION: Use torch.compile(flex_attention)(...)
105
+
106
+ If you want to debug your score_mod/mask_mod, you can set:
107
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
108
+
109
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
110
+ _warn_once(
111
+ Could not generate detailed summary: Failed to run torchinfo. See above stack traces for more details. Executed layers up to: [Embedding: 2, Qwen3RMSNorm: 4, Linear: 5, Linear: 5, Linear: 5, Qwen3RMSNorm: 5, Qwen3RMSNorm: 5, Qwen3RotaryEmbedding: 5]
112
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
113
+ ================================================================================
114
+
115
+ Loading dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
116
+ Using pre-tokenized dataset (no runtime tokenization)
117
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
118
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
119
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
120
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/longctx30k/tokenized...
121
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
122
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
123
+ Dataset split: 749299 train, 39437 validation
124
+ Training examples (packed, train split): 749299
125
+ Validation examples (packed, val split): 39437
126
+ Per-device batch size: 1
127
+ World size (GPUs): 4
128
+ Gradient accumulation steps: 5
129
+ Effective batch size (seqs/step): 20
130
+ Sequence length: 30720
131
+ Tokens per optimizer step: 614,400
132
+ Micro-batches per epoch (per rank): 187325
133
+ Optimizer steps per epoch: 37465
134
+ Total optimizer steps: 37465
135
+ Loading checkpoint from /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-5700...
136
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
137
+ Loaded 788736 pre-tokenized examples (stored_len=30720, pack_factor=1, packed_examples=788736)
138
+ Overriding checkpoint LR with config LR: 0.0005
139
+ Resumed from checkpoint at step 5700 (epoch 0, micro_step 28500)
140
+ Resuming training from step 5700
141
+ Resuming wandb run hn868f80
142
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
143
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
144
+ wandb: setting up run hn868f80
145
+ wandb: Tracking run with wandb version 0.26.1
146
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt/wandb/run-20260710_000026-hn868f80
147
+ wandb: Run `wandb offline` to turn off syncing.
148
+ wandb: Resuming run 1.2b resampled 30k longctx
149
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
150
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/hn868f80
151
+ Starting training...
152
+ Validation at step 5700: Loss = 2.4275, Perplexity = 11.33
153
+ wandb: WARNING Tried to log to step 5700 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
154
+ Switching attention mode for step 5701: sparse_stochastic (configured sparse attention)
155
+ Step 5710/37465 | Loss: 2.4245 | LR: 4.78e-04 | 41956.3ms/step | 0.5 samples/s
156
+ wandb: WARNING Tried to log to step 5710 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
157
+ Step 5720/37465 | Loss: 2.3987 | LR: 4.78e-04 | 28271.7ms/step | 0.7 samples/s
158
+ wandb: WARNING Tried to log to step 5720 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
159
+ Step 5730/37465 | Loss: 2.4191 | LR: 4.78e-04 | 28278.9ms/step | 0.7 samples/s
160
+ wandb: WARNING Tried to log to step 5730 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
161
+ Step 5740/37465 | Loss: 2.3961 | LR: 4.78e-04 | 28284.0ms/step | 0.7 samples/s
162
+ wandb: WARNING Tried to log to step 5740 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
163
+ Step 5750/37465 | Loss: 2.4381 | LR: 4.77e-04 | 28280.6ms/step | 0.7 samples/s
164
+ wandb: WARNING Tried to log to step 5750 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
165
+ Step 5760/37465 | Loss: 2.1498 | LR: 4.77e-04 | 28270.3ms/step | 0.7 samples/s
166
+ wandb: WARNING Tried to log to step 5760 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
167
+ Step 5770/37465 | Loss: 2.4837 | LR: 4.77e-04 | 28270.5ms/step | 0.7 samples/s
168
+ wandb: WARNING Tried to log to step 5770 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
169
+ Step 5780/37465 | Loss: 2.4049 | LR: 4.77e-04 | 28273.6ms/step | 0.7 samples/s
170
+ wandb: WARNING Tried to log to step 5780 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
171
+ Step 5790/37465 | Loss: 2.2924 | LR: 4.77e-04 | 28272.8ms/step | 0.7 samples/s
172
+ wandb: WARNING Tried to log to step 5790 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
173
+ Step 5800/37465 | Loss: 2.4950 | LR: 4.77e-04 | 28308.7ms/step | 0.7 samples/s
174
+ wandb: WARNING Tried to log to step 5800 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
175
+ Step 5810/37465 | Loss: 2.4212 | LR: 4.77e-04 | 28273.6ms/step | 0.7 samples/s
176
+ wandb: WARNING Tried to log to step 5810 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
177
+ Step 5820/37465 | Loss: 2.1602 | LR: 4.77e-04 | 28277.4ms/step | 0.7 samples/s
178
+ wandb: WARNING Tried to log to step 5820 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
179
+ Step 5830/37465 | Loss: 2.3799 | LR: 4.77e-04 | 28273.6ms/step | 0.7 samples/s
180
+ wandb: WARNING Tried to log to step 5830 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
181
+ Step 5840/37465 | Loss: 2.4058 | LR: 4.77e-04 | 28266.4ms/step | 0.7 samples/s
182
+ wandb: WARNING Tried to log to step 5840 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
183
+ Step 5850/37465 | Loss: 2.2288 | LR: 4.77e-04 | 28265.1ms/step | 0.7 samples/s
184
+ wandb: WARNING Tried to log to step 5850 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
185
+ Step 5860/37465 | Loss: 2.1536 | LR: 4.76e-04 | 28274.3ms/step | 0.7 samples/s
186
+ wandb: WARNING Tried to log to step 5860 that is less than the current step 5861. Steps must be monotonically increasing, so this data will be ignored. See https://wandb.me/define-metric to log data out of order.
187
+ Step 5870/37465 | Loss: 2.4310 | LR: 4.76e-04 | 28269.1ms/step | 0.7 samples/s
188
+ Step 5880/37465 | Loss: 2.4376 | LR: 4.76e-04 | 28267.1ms/step | 0.7 samples/s
189
+ Step 5890/37465 | Loss: 2.5116 | LR: 4.76e-04 | 28270.0ms/step | 0.7 samples/s
190
+ Step 5900/37465 | Loss: 2.5715 | LR: 4.76e-04 | 28277.3ms/step | 0.7 samples/s
191
+ Step 5910/37465 | Loss: 2.2715 | LR: 4.76e-04 | 28266.2ms/step | 0.7 samples/s
192
+ Step 5920/37465 | Loss: 2.4137 | LR: 4.76e-04 | 28263.8ms/step | 0.7 samples/s
193
+ Step 5930/37465 | Loss: 2.3639 | LR: 4.76e-04 | 28262.1ms/step | 0.7 samples/s
194
+ Step 5940/37465 | Loss: 2.6373 | LR: 4.76e-04 | 28261.6ms/step | 0.7 samples/s
195
+ Step 5950/37465 | Loss: 2.5219 | LR: 4.76e-04 | 28266.7ms/step | 0.7 samples/s
196
+ Step 5960/37465 | Loss: 2.2818 | LR: 4.76e-04 | 28263.0ms/step | 0.7 samples/s
197
+ Step 5970/37465 | Loss: 2.2845 | LR: 4.75e-04 | 28261.8ms/step | 0.7 samples/s
198
+ Step 5980/37465 | Loss: 2.3351 | LR: 4.75e-04 | 28263.7ms/step | 0.7 samples/s
199
+ Step 5990/37465 | Loss: 2.3731 | LR: 4.75e-04 | 28258.5ms/step | 0.7 samples/s
200
+ Step 6000/37465 | Loss: 2.2704 | LR: 4.75e-04 | 28259.4ms/step | 0.7 samples/s
201
+ Validation at step 6000: Loss = 2.4159, Perplexity = 11.20
202
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-6000
203
+ Step 6010/37465 | Loss: 2.2741 | LR: 4.75e-04 | 30800.3ms/step | 0.6 samples/s
204
+ Step 6020/37465 | Loss: 2.5314 | LR: 4.75e-04 | 28268.3ms/step | 0.7 samples/s
205
+ Step 6030/37465 | Loss: 2.4936 | LR: 4.75e-04 | 28257.7ms/step | 0.7 samples/s
206
+ Step 6040/37465 | Loss: 2.3298 | LR: 4.75e-04 | 28253.7ms/step | 0.7 samples/s
207
+ Step 6050/37465 | Loss: 2.2415 | LR: 4.75e-04 | 28257.3ms/step | 0.7 samples/s
208
+ Step 6060/37465 | Loss: 2.5859 | LR: 4.75e-04 | 28261.4ms/step | 0.7 samples/s
209
+ Step 6070/37465 | Loss: 2.3417 | LR: 4.75e-04 | 28253.8ms/step | 0.7 samples/s
210
+ Step 6080/37465 | Loss: 2.5655 | LR: 4.74e-04 | 28255.7ms/step | 0.7 samples/s
211
+ Step 6090/37465 | Loss: 2.3407 | LR: 4.74e-04 | 28247.4ms/step | 0.7 samples/s
212
+ Step 6100/37465 | Loss: 2.1764 | LR: 4.74e-04 | 28285.3ms/step | 0.7 samples/s
213
+ Step 6110/37465 | Loss: 2.5956 | LR: 4.74e-04 | 28252.5ms/step | 0.7 samples/s
214
+ Step 6120/37465 | Loss: 2.5236 | LR: 4.74e-04 | 28252.8ms/step | 0.7 samples/s
215
+ Step 6130/37465 | Loss: 2.4235 | LR: 4.74e-04 | 28254.4ms/step | 0.7 samples/s
216
+ Step 6140/37465 | Loss: 2.3519 | LR: 4.74e-04 | 28254.3ms/step | 0.7 samples/s
217
+ Step 6150/37465 | Loss: 2.5209 | LR: 4.74e-04 | 28248.1ms/step | 0.7 samples/s
218
+ Step 6160/37465 | Loss: 2.4799 | LR: 4.74e-04 | 28251.5ms/step | 0.7 samples/s
219
+ Step 6170/37465 | Loss: 2.3391 | LR: 4.74e-04 | 28250.4ms/step | 0.7 samples/s
220
+ Step 6180/37465 | Loss: 2.4530 | LR: 4.73e-04 | 28250.1ms/step | 0.7 samples/s
221
+ Step 6190/37465 | Loss: 2.4972 | LR: 4.73e-04 | 28254.7ms/step | 0.7 samples/s
222
+ Step 6200/37465 | Loss: 2.3914 | LR: 4.73e-04 | 28251.3ms/step | 0.7 samples/s
223
+ Step 6210/37465 | Loss: 2.2029 | LR: 4.73e-04 | 28255.2ms/step | 0.7 samples/s
224
+ Step 6220/37465 | Loss: 2.4602 | LR: 4.73e-04 | 28243.4ms/step | 0.7 samples/s
225
+ Step 6230/37465 | Loss: 2.3374 | LR: 4.73e-04 | 28246.3ms/step | 0.7 samples/s
226
+ Step 6240/37465 | Loss: 2.4669 | LR: 4.73e-04 | 28241.0ms/step | 0.7 samples/s
227
+ Step 6250/37465 | Loss: 2.3224 | LR: 4.73e-04 | 28250.6ms/step | 0.7 samples/s
228
+ Step 6260/37465 | Loss: 2.2651 | LR: 4.73e-04 | 28249.7ms/step | 0.7 samples/s
229
+ Step 6270/37465 | Loss: 1.9950 | LR: 4.73e-04 | 28250.4ms/step | 0.7 samples/s
230
+ Step 6280/37465 | Loss: 2.2056 | LR: 4.73e-04 | 28249.2ms/step | 0.7 samples/s
231
+ Step 6290/37465 | Loss: 2.3963 | LR: 4.72e-04 | 28248.1ms/step | 0.7 samples/s
232
+ Step 6300/37465 | Loss: 2.4665 | LR: 4.72e-04 | 28250.6ms/step | 0.7 samples/s
233
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-6300
234
+ Step 6310/37465 | Loss: 2.2523 | LR: 4.72e-04 | 29169.6ms/step | 0.7 samples/s
235
+ Step 6320/37465 | Loss: 2.3348 | LR: 4.72e-04 | 28244.1ms/step | 0.7 samples/s
236
+ Step 6330/37465 | Loss: 2.4598 | LR: 4.72e-04 | 28244.5ms/step | 0.7 samples/s
237
+ Step 6340/37465 | Loss: 2.2694 | LR: 4.72e-04 | 28247.1ms/step | 0.7 samples/s
238
+ Step 6350/37465 | Loss: 2.6894 | LR: 4.72e-04 | 28247.1ms/step | 0.7 samples/s
239
+ Step 6360/37465 | Loss: 2.2401 | LR: 4.72e-04 | 28245.2ms/step | 0.7 samples/s
240
+ Step 6370/37465 | Loss: 2.1168 | LR: 4.72e-04 | 28243.0ms/step | 0.7 samples/s
241
+ Step 6380/37465 | Loss: 2.5137 | LR: 4.72e-04 | 28244.8ms/step | 0.7 samples/s
242
+ Step 6390/37465 | Loss: 2.5300 | LR: 4.71e-04 | 28242.7ms/step | 0.7 samples/s
243
+ Step 6400/37465 | Loss: 2.3572 | LR: 4.71e-04 | 28247.1ms/step | 0.7 samples/s
244
+ Step 6410/37465 | Loss: 2.4121 | LR: 4.71e-04 | 28243.0ms/step | 0.7 samples/s
245
+ Step 6420/37465 | Loss: 2.2517 | LR: 4.71e-04 | 28245.8ms/step | 0.7 samples/s
246
+ Step 6430/37465 | Loss: 2.2926 | LR: 4.71e-04 | 28241.6ms/step | 0.7 samples/s
247
+ Step 6440/37465 | Loss: 2.2358 | LR: 4.71e-04 | 28240.5ms/step | 0.7 samples/s
248
+ Step 6450/37465 | Loss: 2.3600 | LR: 4.71e-04 | 28244.1ms/step | 0.7 samples/s
249
+ Step 6460/37465 | Loss: 2.3751 | LR: 4.71e-04 | 28248.0ms/step | 0.7 samples/s
250
+ Step 6470/37465 | Loss: 2.3544 | LR: 4.71e-04 | 28242.3ms/step | 0.7 samples/s
251
+ Step 6480/37465 | Loss: 2.3160 | LR: 4.71e-04 | 28241.6ms/step | 0.7 samples/s
252
+ Step 6490/37465 | Loss: 2.3512 | LR: 4.70e-04 | 28240.6ms/step | 0.7 samples/s
253
+ Step 6500/37465 | Loss: 2.5265 | LR: 4.70e-04 | 28240.7ms/step | 0.7 samples/s
254
+ Validation at step 6500: Loss = 2.3912, Perplexity = 10.93
255
+ Step 6510/37465 | Loss: 2.3988 | LR: 4.70e-04 | 29924.4ms/step | 0.7 samples/s
256
+ Step 6520/37465 | Loss: 2.4542 | LR: 4.70e-04 | 28243.2ms/step | 0.7 samples/s
257
+ Step 6530/37465 | Loss: 2.2724 | LR: 4.70e-04 | 28245.8ms/step | 0.7 samples/s
258
+ Step 6540/37465 | Loss: 2.4087 | LR: 4.70e-04 | 28247.0ms/step | 0.7 samples/s
259
+ Step 6550/37465 | Loss: 2.3598 | LR: 4.70e-04 | 28244.5ms/step | 0.7 samples/s
260
+ Step 6560/37465 | Loss: 2.4893 | LR: 4.70e-04 | 28237.0ms/step | 0.7 samples/s
261
+ Step 6570/37465 | Loss: 2.5836 | LR: 4.70e-04 | 28239.9ms/step | 0.7 samples/s
262
+ Step 6580/37465 | Loss: 2.2616 | LR: 4.70e-04 | 28240.5ms/step | 0.7 samples/s
263
+ Step 6590/37465 | Loss: 2.2487 | LR: 4.69e-04 | 28241.5ms/step | 0.7 samples/s
264
+ Step 6600/37465 | Loss: 2.2595 | LR: 4.69e-04 | 28241.9ms/step | 0.7 samples/s
265
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-6600
266
+ Step 6610/37465 | Loss: 2.3638 | LR: 4.69e-04 | 29182.0ms/step | 0.7 samples/s
267
+ Step 6620/37465 | Loss: 2.5765 | LR: 4.69e-04 | 28240.2ms/step | 0.7 samples/s
268
+ Step 6630/37465 | Loss: 2.3085 | LR: 4.69e-04 | 28245.7ms/step | 0.7 samples/s
269
+ Step 6640/37465 | Loss: 2.3932 | LR: 4.69e-04 | 28246.6ms/step | 0.7 samples/s
270
+ Step 6650/37465 | Loss: 2.5582 | LR: 4.69e-04 | 28245.0ms/step | 0.7 samples/s
271
+ Step 6660/37465 | Loss: 2.4505 | LR: 4.69e-04 | 28244.2ms/step | 0.7 samples/s
272
+ Step 6670/37465 | Loss: 2.2805 | LR: 4.69e-04 | 28243.3ms/step | 0.7 samples/s
273
+ Step 6680/37465 | Loss: 2.4219 | LR: 4.69e-04 | 28243.7ms/step | 0.7 samples/s
274
+ Step 6690/37465 | Loss: 2.6080 | LR: 4.68e-04 | 28241.1ms/step | 0.7 samples/s
275
+ Step 6700/37465 | Loss: 2.1873 | LR: 4.68e-04 | 28241.0ms/step | 0.7 samples/s
276
+ Step 6710/37465 | Loss: 2.5408 | LR: 4.68e-04 | 28243.8ms/step | 0.7 samples/s
277
+ Step 6720/37465 | Loss: 2.2383 | LR: 4.68e-04 | 28240.1ms/step | 0.7 samples/s
278
+ Step 6730/37465 | Loss: 2.4406 | LR: 4.68e-04 | 28245.0ms/step | 0.7 samples/s
279
+ Step 6740/37465 | Loss: 2.2592 | LR: 4.68e-04 | 28245.1ms/step | 0.7 samples/s
280
+ Step 6750/37465 | Loss: 2.2993 | LR: 4.68e-04 | 28249.3ms/step | 0.7 samples/s
281
+ Step 6760/37465 | Loss: 2.4677 | LR: 4.68e-04 | 28240.8ms/step | 0.7 samples/s
282
+ Step 6770/37465 | Loss: 2.2949 | LR: 4.68e-04 | 28243.6ms/step | 0.7 samples/s
283
+ Step 6780/37465 | Loss: 2.5679 | LR: 4.67e-04 | 28243.1ms/step | 0.7 samples/s
284
+ Step 6790/37465 | Loss: 2.4837 | LR: 4.67e-04 | 28243.5ms/step | 0.7 samples/s
285
+ Step 6800/37465 | Loss: 2.3041 | LR: 4.67e-04 | 28244.3ms/step | 0.7 samples/s
286
+ Step 6810/37465 | Loss: 2.5263 | LR: 4.67e-04 | 28247.6ms/step | 0.7 samples/s
287
+ Step 6820/37465 | Loss: 2.5097 | LR: 4.67e-04 | 28239.5ms/step | 0.7 samples/s
288
+ Step 6830/37465 | Loss: 2.6388 | LR: 4.67e-04 | 28246.6ms/step | 0.7 samples/s
289
+ Step 6840/37465 | Loss: 2.4213 | LR: 4.67e-04 | 28249.3ms/step | 0.7 samples/s
290
+ Step 6850/37465 | Loss: 2.3859 | LR: 4.67e-04 | 28240.0ms/step | 0.7 samples/s
291
+ Step 6860/37465 | Loss: 2.3492 | LR: 4.67e-04 | 28241.7ms/step | 0.7 samples/s
292
+ Step 6870/37465 | Loss: 2.4770 | LR: 4.66e-04 | 28243.6ms/step | 0.7 samples/s
293
+ Step 6880/37465 | Loss: 2.3874 | LR: 4.66e-04 | 28241.0ms/step | 0.7 samples/s
294
+ Step 6890/37465 | Loss: 2.5344 | LR: 4.66e-04 | 28247.8ms/step | 0.7 samples/s
295
+ Step 6900/37465 | Loss: 2.4020 | LR: 4.66e-04 | 28242.2ms/step | 0.7 samples/s
296
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-6900
297
+ Step 6910/37465 | Loss: 2.4471 | LR: 4.66e-04 | 29236.3ms/step | 0.7 samples/s
298
+ Step 6920/37465 | Loss: 2.4108 | LR: 4.66e-04 | 28246.4ms/step | 0.7 samples/s
299
+ Step 6930/37465 | Loss: 2.2877 | LR: 4.66e-04 | 28249.4ms/step | 0.7 samples/s
300
+ Step 6940/37465 | Loss: 2.1094 | LR: 4.66e-04 | 28247.6ms/step | 0.7 samples/s
301
+ Step 6950/37465 | Loss: 2.5191 | LR: 4.66e-04 | 28250.8ms/step | 0.7 samples/s
302
+ Step 6960/37465 | Loss: 2.4610 | LR: 4.66e-04 | 28248.5ms/step | 0.7 samples/s
303
+ Step 6970/37465 | Loss: 2.4725 | LR: 4.65e-04 | 28250.0ms/step | 0.7 samples/s
304
+ Step 6980/37465 | Loss: 2.4281 | LR: 4.65e-04 | 28249.6ms/step | 0.7 samples/s
305
+ Step 6990/37465 | Loss: 2.4955 | LR: 4.65e-04 | 28249.3ms/step | 0.7 samples/s
306
+ Step 7000/37465 | Loss: 2.1528 | LR: 4.65e-04 | 28246.5ms/step | 0.7 samples/s
307
+ Validation at step 7000: Loss = 2.3725, Perplexity = 10.72
308
+ Step 7010/37465 | Loss: 2.2906 | LR: 4.65e-04 | 29916.1ms/step | 0.7 samples/s
309
+ Step 7020/37465 | Loss: 2.3027 | LR: 4.65e-04 | 28242.9ms/step | 0.7 samples/s
310
+ Step 7030/37465 | Loss: 2.3279 | LR: 4.65e-04 | 28259.6ms/step | 0.7 samples/s
311
+ Step 7040/37465 | Loss: 2.2016 | LR: 4.65e-04 | 28246.8ms/step | 0.7 samples/s
312
+ Step 7050/37465 | Loss: 2.3227 | LR: 4.65e-04 | 28246.0ms/step | 0.7 samples/s
313
+ Step 7060/37465 | Loss: 2.4083 | LR: 4.64e-04 | 28248.1ms/step | 0.7 samples/s
314
+ Step 7070/37465 | Loss: 2.2603 | LR: 4.64e-04 | 28253.4ms/step | 0.7 samples/s
315
+ Step 7080/37465 | Loss: 2.4541 | LR: 4.64e-04 | 28249.2ms/step | 0.7 samples/s
316
+ Step 7090/37465 | Loss: 2.2565 | LR: 4.64e-04 | 28247.1ms/step | 0.7 samples/s
317
+ Step 7100/37465 | Loss: 2.3519 | LR: 4.64e-04 | 28250.4ms/step | 0.7 samples/s
318
+ Step 7110/37465 | Loss: 2.1629 | LR: 4.64e-04 | 28248.0ms/step | 0.7 samples/s
319
+ Step 7120/37465 | Loss: 1.9042 | LR: 4.64e-04 | 28243.9ms/step | 0.7 samples/s
320
+ Step 7130/37465 | Loss: 2.3516 | LR: 4.64e-04 | 28248.7ms/step | 0.7 samples/s
321
+ Step 7140/37465 | Loss: 2.4558 | LR: 4.64e-04 | 28246.8ms/step | 0.7 samples/s
322
+ Step 7150/37465 | Loss: 2.5282 | LR: 4.63e-04 | 28245.0ms/step | 0.7 samples/s
323
+ Step 7160/37465 | Loss: 2.4421 | LR: 4.63e-04 | 28241.1ms/step | 0.7 samples/s
324
+ Step 7170/37465 | Loss: 2.3576 | LR: 4.63e-04 | 28245.4ms/step | 0.7 samples/s
325
+ Step 7180/37465 | Loss: 2.5474 | LR: 4.63e-04 | 28246.7ms/step | 0.7 samples/s
326
+ Step 7190/37465 | Loss: 2.6020 | LR: 4.63e-04 | 28253.0ms/step | 0.7 samples/s
327
+ Step 7200/37465 | Loss: 2.3393 | LR: 4.63e-04 | 28248.8ms/step | 0.7 samples/s
328
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-7200
329
+ Step 7210/37465 | Loss: 2.6241 | LR: 4.63e-04 | 29209.9ms/step | 0.7 samples/s
330
+ Step 7220/37465 | Loss: 2.3910 | LR: 4.63e-04 | 28256.3ms/step | 0.7 samples/s
331
+ Step 7230/37465 | Loss: 2.4426 | LR: 4.63e-04 | 28249.9ms/step | 0.7 samples/s
332
+ Step 7240/37465 | Loss: 2.3983 | LR: 4.62e-04 | 28251.8ms/step | 0.7 samples/s
333
+ Step 7250/37465 | Loss: 2.3759 | LR: 4.62e-04 | 28248.1ms/step | 0.7 samples/s
334
+ Step 7260/37465 | Loss: 2.3979 | LR: 4.62e-04 | 28247.6ms/step | 0.7 samples/s
335
+ Step 7270/37465 | Loss: 2.2362 | LR: 4.62e-04 | 28253.1ms/step | 0.7 samples/s
336
+ Step 7280/37465 | Loss: 2.4393 | LR: 4.62e-04 | 28257.1ms/step | 0.7 samples/s
337
+ Step 7290/37465 | Loss: 2.6248 | LR: 4.62e-04 | 28248.5ms/step | 0.7 samples/s
338
+ Step 7300/37465 | Loss: 2.3450 | LR: 4.62e-04 | 28247.9ms/step | 0.7 samples/s
339
+ Step 7310/37465 | Loss: 2.3153 | LR: 4.62e-04 | 28245.4ms/step | 0.7 samples/s
340
+ Step 7320/37465 | Loss: 2.2891 | LR: 4.62e-04 | 28249.1ms/step | 0.7 samples/s
341
+ Step 7330/37465 | Loss: 2.4664 | LR: 4.61e-04 | 28243.0ms/step | 0.7 samples/s
342
+ Step 7340/37465 | Loss: 2.3123 | LR: 4.61e-04 | 28304.2ms/step | 0.7 samples/s
343
+ Step 7350/37465 | Loss: 2.4346 | LR: 4.61e-04 | 28247.8ms/step | 0.7 samples/s
344
+ Step 7360/37465 | Loss: 2.4559 | LR: 4.61e-04 | 28248.1ms/step | 0.7 samples/s
345
+ Step 7370/37465 | Loss: 2.1096 | LR: 4.61e-04 | 28244.8ms/step | 0.7 samples/s
346
+ Step 7380/37465 | Loss: 2.4060 | LR: 4.61e-04 | 28244.2ms/step | 0.7 samples/s
347
+ Step 7390/37465 | Loss: 2.3375 | LR: 4.61e-04 | 28243.7ms/step | 0.7 samples/s
348
+ Step 7400/37465 | Loss: 2.3464 | LR: 4.61e-04 | 28248.4ms/step | 0.7 samples/s
349
+ Step 7410/37465 | Loss: 2.2242 | LR: 4.60e-04 | 28244.9ms/step | 0.7 samples/s
350
+ Step 7420/37465 | Loss: 2.5017 | LR: 4.60e-04 | 28238.8ms/step | 0.7 samples/s
351
+ Step 7430/37465 | Loss: 2.4564 | LR: 4.60e-04 | 28242.3ms/step | 0.7 samples/s
352
+ Step 7440/37465 | Loss: 2.1967 | LR: 4.60e-04 | 28241.7ms/step | 0.7 samples/s
353
+ Step 7450/37465 | Loss: 2.2369 | LR: 4.60e-04 | 28237.4ms/step | 0.7 samples/s
354
+ Step 7460/37465 | Loss: 2.3569 | LR: 4.60e-04 | 28235.5ms/step | 0.7 samples/s
355
+ Step 7470/37465 | Loss: 2.2035 | LR: 4.60e-04 | 28239.7ms/step | 0.7 samples/s
356
+ Step 7480/37465 | Loss: 2.4400 | LR: 4.60e-04 | 28242.8ms/step | 0.7 samples/s
357
+ Step 7490/37465 | Loss: 2.4374 | LR: 4.60e-04 | 28241.5ms/step | 0.7 samples/s
358
+ Step 7500/37465 | Loss: 2.2728 | LR: 4.59e-04 | 28238.1ms/step | 0.7 samples/s
359
+ Validation at step 7500: Loss = 2.3558, Perplexity = 10.55
360
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-7500
361
+ Step 7510/37465 | Loss: 2.3687 | LR: 4.59e-04 | 30818.7ms/step | 0.6 samples/s
362
+ Step 7520/37465 | Loss: 2.4084 | LR: 4.59e-04 | 28237.4ms/step | 0.7 samples/s
363
+ Step 7530/37465 | Loss: 2.4761 | LR: 4.59e-04 | 28243.2ms/step | 0.7 samples/s
364
+ Step 7540/37465 | Loss: 2.2384 | LR: 4.59e-04 | 28241.8ms/step | 0.7 samples/s
365
+ Step 7550/37465 | Loss: 2.4994 | LR: 4.59e-04 | 28238.9ms/step | 0.7 samples/s
366
+ Step 7560/37465 | Loss: 2.3619 | LR: 4.59e-04 | 28242.3ms/step | 0.7 samples/s
367
+ Step 7570/37465 | Loss: 2.3680 | LR: 4.59e-04 | 28240.4ms/step | 0.7 samples/s
368
+ Step 7580/37465 | Loss: 2.5105 | LR: 4.59e-04 | 28244.5ms/step | 0.7 samples/s
369
+ Step 7590/37465 | Loss: 2.3612 | LR: 4.58e-04 | 28244.0ms/step | 0.7 samples/s
370
+ Step 7600/37465 | Loss: 2.5033 | LR: 4.58e-04 | 28245.7ms/step | 0.7 samples/s
371
+ Step 7610/37465 | Loss: 2.4621 | LR: 4.58e-04 | 28241.6ms/step | 0.7 samples/s
372
+ Step 7620/37465 | Loss: 2.1627 | LR: 4.58e-04 | 28245.2ms/step | 0.7 samples/s
373
+ Step 7630/37465 | Loss: 2.3425 | LR: 4.58e-04 | 28252.2ms/step | 0.7 samples/s
374
+ Step 7640/37465 | Loss: 2.2341 | LR: 4.58e-04 | 28248.8ms/step | 0.7 samples/s
375
+ Step 7650/37465 | Loss: 2.3031 | LR: 4.58e-04 | 28244.5ms/step | 0.7 samples/s
376
+ Step 7660/37465 | Loss: 2.3506 | LR: 4.58e-04 | 28241.5ms/step | 0.7 samples/s
377
+ Step 7670/37465 | Loss: 2.2373 | LR: 4.57e-04 | 28242.9ms/step | 0.7 samples/s
378
+ Step 7680/37465 | Loss: 2.3048 | LR: 4.57e-04 | 28242.9ms/step | 0.7 samples/s
379
+ Step 7690/37465 | Loss: 2.1781 | LR: 4.57e-04 | 28250.6ms/step | 0.7 samples/s
380
+ Step 7700/37465 | Loss: 2.2315 | LR: 4.57e-04 | 28254.5ms/step | 0.7 samples/s
381
+ Step 7710/37465 | Loss: 2.6047 | LR: 4.57e-04 | 28240.5ms/step | 0.7 samples/s
382
+ Step 7720/37465 | Loss: 2.1713 | LR: 4.57e-04 | 28246.1ms/step | 0.7 samples/s
383
+ Step 7730/37465 | Loss: 2.3746 | LR: 4.57e-04 | 28242.5ms/step | 0.7 samples/s
384
+ Step 7740/37465 | Loss: 2.4747 | LR: 4.57e-04 | 28242.6ms/step | 0.7 samples/s
385
+ Step 7750/37465 | Loss: 2.4702 | LR: 4.56e-04 | 28242.7ms/step | 0.7 samples/s
386
+ Step 7760/37465 | Loss: 2.3955 | LR: 4.56e-04 | 28248.0ms/step | 0.7 samples/s
387
+ Step 7770/37465 | Loss: 2.1627 | LR: 4.56e-04 | 28243.0ms/step | 0.7 samples/s
388
+ Step 7780/37465 | Loss: 2.1919 | LR: 4.56e-04 | 28247.6ms/step | 0.7 samples/s
389
+ Step 7790/37465 | Loss: 2.1817 | LR: 4.56e-04 | 28246.8ms/step | 0.7 samples/s
390
+ Step 7800/37465 | Loss: 2.1525 | LR: 4.56e-04 | 28249.9ms/step | 0.7 samples/s
391
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-7800
392
+ Step 7810/37465 | Loss: 2.3451 | LR: 4.56e-04 | 29179.2ms/step | 0.7 samples/s
393
+ Step 7820/37465 | Loss: 2.3248 | LR: 4.56e-04 | 28250.1ms/step | 0.7 samples/s
394
+ Step 7830/37465 | Loss: 2.2779 | LR: 4.56e-04 | 28251.5ms/step | 0.7 samples/s
395
+ Step 7840/37465 | Loss: 2.4719 | LR: 4.55e-04 | 28255.2ms/step | 0.7 samples/s
396
+ Step 7850/37465 | Loss: 2.2598 | LR: 4.55e-04 | 28250.4ms/step | 0.7 samples/s
397
+ Step 7860/37465 | Loss: 2.2278 | LR: 4.55e-04 | 28248.6ms/step | 0.7 samples/s
398
+ Step 7870/37465 | Loss: 2.3601 | LR: 4.55e-04 | 28253.1ms/step | 0.7 samples/s
399
+ Step 7880/37465 | Loss: 2.2324 | LR: 4.55e-04 | 28250.3ms/step | 0.7 samples/s
400
+ Step 7890/37465 | Loss: 2.4406 | LR: 4.55e-04 | 28249.0ms/step | 0.7 samples/s
401
+ Step 7900/37465 | Loss: 2.2465 | LR: 4.55e-04 | 28250.4ms/step | 0.7 samples/s
402
+ Step 7910/37465 | Loss: 2.2177 | LR: 4.55e-04 | 28258.2ms/step | 0.7 samples/s
403
+ Step 7920/37465 | Loss: 2.1655 | LR: 4.54e-04 | 28254.0ms/step | 0.7 samples/s
404
+ Step 7930/37465 | Loss: 2.2817 | LR: 4.54e-04 | 28253.9ms/step | 0.7 samples/s
405
+ Step 7940/37465 | Loss: 2.1449 | LR: 4.54e-04 | 28255.3ms/step | 0.7 samples/s
406
+ Step 7950/37465 | Loss: 2.3005 | LR: 4.54e-04 | 28252.8ms/step | 0.7 samples/s
407
+ Step 7960/37465 | Loss: 2.4433 | LR: 4.54e-04 | 28247.2ms/step | 0.7 samples/s
408
+ Step 7970/37465 | Loss: 2.3244 | LR: 4.54e-04 | 28251.7ms/step | 0.7 samples/s
409
+ Step 7980/37465 | Loss: 2.3075 | LR: 4.54e-04 | 28249.7ms/step | 0.7 samples/s
410
+ Step 7990/37465 | Loss: 2.4497 | LR: 4.54e-04 | 28259.1ms/step | 0.7 samples/s
411
+ Step 8000/37465 | Loss: 2.3176 | LR: 4.53e-04 | 28251.1ms/step | 0.7 samples/s
412
+ Validation at step 8000: Loss = 2.3356, Perplexity = 10.34
413
+ Step 8010/37465 | Loss: 2.0908 | LR: 4.53e-04 | 29928.8ms/step | 0.7 samples/s
414
+ Step 8020/37465 | Loss: 2.3554 | LR: 4.53e-04 | 28249.7ms/step | 0.7 samples/s
415
+ Step 8030/37465 | Loss: 2.3430 | LR: 4.53e-04 | 28250.0ms/step | 0.7 samples/s
416
+ Step 8040/37465 | Loss: 2.3104 | LR: 4.53e-04 | 28252.5ms/step | 0.7 samples/s
417
+ Step 8050/37465 | Loss: 2.1452 | LR: 4.53e-04 | 28253.9ms/step | 0.7 samples/s
418
+ Step 8060/37465 | Loss: 2.4289 | LR: 4.53e-04 | 28250.1ms/step | 0.7 samples/s
419
+ Step 8070/37465 | Loss: 2.4227 | LR: 4.53e-04 | 28249.3ms/step | 0.7 samples/s
420
+ Step 8080/37465 | Loss: 2.3569 | LR: 4.52e-04 | 28248.7ms/step | 0.7 samples/s
421
+ Step 8090/37465 | Loss: 2.2148 | LR: 4.52e-04 | 28253.3ms/step | 0.7 samples/s
422
+ Step 8100/37465 | Loss: 2.4227 | LR: 4.52e-04 | 28251.8ms/step | 0.7 samples/s
423
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-8100
424
+ Step 8110/37465 | Loss: 2.4100 | LR: 4.52e-04 | 29172.6ms/step | 0.7 samples/s
425
+ Step 8120/37465 | Loss: 2.4015 | LR: 4.52e-04 | 28258.9ms/step | 0.7 samples/s
426
+ Step 8130/37465 | Loss: 2.3536 | LR: 4.52e-04 | 28257.8ms/step | 0.7 samples/s
427
+ Step 8140/37465 | Loss: 2.2470 | LR: 4.52e-04 | 28252.8ms/step | 0.7 samples/s
428
+ Step 8150/37465 | Loss: 2.4475 | LR: 4.52e-04 | 28251.1ms/step | 0.7 samples/s
429
+ Step 8160/37465 | Loss: 2.2579 | LR: 4.51e-04 | 28252.0ms/step | 0.7 samples/s
430
+ Step 8170/37465 | Loss: 2.3338 | LR: 4.51e-04 | 28252.2ms/step | 0.7 samples/s
431
+ Step 8180/37465 | Loss: 2.4141 | LR: 4.51e-04 | 28251.5ms/step | 0.7 samples/s
432
+ Step 8190/37465 | Loss: 2.2446 | LR: 4.51e-04 | 28250.5ms/step | 0.7 samples/s
433
+ Step 8200/37465 | Loss: 2.3346 | LR: 4.51e-04 | 28245.6ms/step | 0.7 samples/s
434
+ Step 8210/37465 | Loss: 2.4666 | LR: 4.51e-04 | 28254.4ms/step | 0.7 samples/s
435
+ Step 8220/37465 | Loss: 2.3568 | LR: 4.51e-04 | 28252.4ms/step | 0.7 samples/s
436
+ Step 8230/37465 | Loss: 2.2838 | LR: 4.51e-04 | 28244.7ms/step | 0.7 samples/s
437
+ Step 8240/37465 | Loss: 2.2910 | LR: 4.50e-04 | 28249.7ms/step | 0.7 samples/s
438
+ Step 8250/37465 | Loss: 2.2859 | LR: 4.50e-04 | 28248.8ms/step | 0.7 samples/s
439
+ Step 8260/37465 | Loss: 2.5687 | LR: 4.50e-04 | 28255.1ms/step | 0.7 samples/s
440
+ Step 8270/37465 | Loss: 2.4251 | LR: 4.50e-04 | 28249.1ms/step | 0.7 samples/s
441
+ Step 8280/37465 | Loss: 2.1694 | LR: 4.50e-04 | 28248.8ms/step | 0.7 samples/s
442
+ Step 8290/37465 | Loss: 2.4229 | LR: 4.50e-04 | 28247.3ms/step | 0.7 samples/s
443
+ Step 8300/37465 | Loss: 2.2396 | LR: 4.50e-04 | 28252.5ms/step | 0.7 samples/s
444
+ Step 8310/37465 | Loss: 2.4142 | LR: 4.49e-04 | 28246.5ms/step | 0.7 samples/s
445
+ Step 8320/37465 | Loss: 2.4780 | LR: 4.49e-04 | 28250.6ms/step | 0.7 samples/s
446
+ Step 8330/37465 | Loss: 2.1195 | LR: 4.49e-04 | 28249.1ms/step | 0.7 samples/s
447
+ Step 8340/37465 | Loss: 2.4829 | LR: 4.49e-04 | 28245.3ms/step | 0.7 samples/s
448
+ Step 8350/37465 | Loss: 2.4091 | LR: 4.49e-04 | 28251.2ms/step | 0.7 samples/s
449
+ Step 8360/37465 | Loss: 2.0440 | LR: 4.49e-04 | 28249.2ms/step | 0.7 samples/s
450
+ Step 8370/37465 | Loss: 2.3666 | LR: 4.49e-04 | 28245.9ms/step | 0.7 samples/s
451
+ Step 8380/37465 | Loss: 2.1888 | LR: 4.49e-04 | 28247.0ms/step | 0.7 samples/s
452
+ Step 8390/37465 | Loss: 2.2704 | LR: 4.48e-04 | 28254.2ms/step | 0.7 samples/s
453
+ Step 8400/37465 | Loss: 2.2250 | LR: 4.48e-04 | 28250.0ms/step | 0.7 samples/s
454
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-8400
455
+ Step 8410/37465 | Loss: 2.3778 | LR: 4.48e-04 | 29167.1ms/step | 0.7 samples/s
456
+ Step 8420/37465 | Loss: 2.2435 | LR: 4.48e-04 | 28256.3ms/step | 0.7 samples/s
457
+ Step 8430/37465 | Loss: 2.3137 | LR: 4.48e-04 | 28248.6ms/step | 0.7 samples/s
458
+ Step 8440/37465 | Loss: 2.2650 | LR: 4.48e-04 | 28255.9ms/step | 0.7 samples/s
459
+ Step 8450/37465 | Loss: 2.1394 | LR: 4.48e-04 | 28249.5ms/step | 0.7 samples/s
460
+ Step 8460/37465 | Loss: 2.2003 | LR: 4.48e-04 | 28254.4ms/step | 0.7 samples/s
461
+ Step 8470/37465 | Loss: 2.2522 | LR: 4.47e-04 | 28248.8ms/step | 0.7 samples/s
462
+ Step 8480/37465 | Loss: 2.2528 | LR: 4.47e-04 | 28245.1ms/step | 0.7 samples/s
463
+ Step 8490/37465 | Loss: 2.3905 | LR: 4.47e-04 | 28247.5ms/step | 0.7 samples/s
464
+ Step 8500/37465 | Loss: 2.3215 | LR: 4.47e-04 | 28249.3ms/step | 0.7 samples/s
465
+ Validation at step 8500: Loss = 2.3238, Perplexity = 10.21
466
+ Step 8510/37465 | Loss: 2.2486 | LR: 4.47e-04 | 29917.7ms/step | 0.7 samples/s
467
+ Step 8520/37465 | Loss: 2.2742 | LR: 4.47e-04 | 28242.0ms/step | 0.7 samples/s
468
+ Step 8530/37465 | Loss: 2.1569 | LR: 4.47e-04 | 28245.5ms/step | 0.7 samples/s
469
+ Step 8540/37465 | Loss: 2.2703 | LR: 4.46e-04 | 28243.5ms/step | 0.7 samples/s
470
+ Step 8550/37465 | Loss: 2.2952 | LR: 4.46e-04 | 28243.9ms/step | 0.7 samples/s
471
+ Step 8560/37465 | Loss: 2.5951 | LR: 4.46e-04 | 28242.0ms/step | 0.7 samples/s
472
+ Step 8570/37465 | Loss: 2.2779 | LR: 4.46e-04 | 28243.8ms/step | 0.7 samples/s
473
+ Step 8580/37465 | Loss: 2.3204 | LR: 4.46e-04 | 28249.0ms/step | 0.7 samples/s
474
+ Step 8590/37465 | Loss: 2.1752 | LR: 4.46e-04 | 28244.7ms/step | 0.7 samples/s
475
+ Step 8600/37465 | Loss: 2.3792 | LR: 4.46e-04 | 28246.3ms/step | 0.7 samples/s
476
+ Step 8610/37465 | Loss: 2.6003 | LR: 4.46e-04 | 28243.3ms/step | 0.7 samples/s
477
+ Step 8620/37465 | Loss: 2.1397 | LR: 4.45e-04 | 28239.0ms/step | 0.7 samples/s
478
+ Step 8630/37465 | Loss: 2.3302 | LR: 4.45e-04 | 28244.1ms/step | 0.7 samples/s
479
+ Step 8640/37465 | Loss: 2.4079 | LR: 4.45e-04 | 28243.8ms/step | 0.7 samples/s
480
+ Step 8650/37465 | Loss: 2.2444 | LR: 4.45e-04 | 28243.3ms/step | 0.7 samples/s
481
+ Step 8660/37465 | Loss: 2.2380 | LR: 4.45e-04 | 28240.7ms/step | 0.7 samples/s
482
+ Step 8670/37465 | Loss: 2.3202 | LR: 4.45e-04 | 28240.5ms/step | 0.7 samples/s
483
+ Step 8680/37465 | Loss: 2.4565 | LR: 4.45e-04 | 28241.6ms/step | 0.7 samples/s
484
+ Step 8690/37465 | Loss: 2.2976 | LR: 4.44e-04 | 28242.9ms/step | 0.7 samples/s
485
+ Step 8700/37465 | Loss: 2.4527 | LR: 4.44e-04 | 28244.4ms/step | 0.7 samples/s
486
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l30k1_2b_resampled/run_20260708_112209/checkpoint-8700
487
+ Step 8710/37465 | Loss: 2.2391 | LR: 4.44e-04 | 29148.6ms/step | 0.7 samples/s
488
+ Step 8720/37465 | Loss: 2.2357 | LR: 4.44e-04 | 28244.1ms/step | 0.7 samples/s
489
+ Step 8730/37465 | Loss: 2.4762 | LR: 4.44e-04 | 28245.6ms/step | 0.7 samples/s
490
+ Step 8740/37465 | Loss: 2.2624 | LR: 4.44e-04 | 28240.7ms/step | 0.7 samples/s
491
+ Step 8750/37465 | Loss: 2.2417 | LR: 4.44e-04 | 28238.0ms/step | 0.7 samples/s
492
+ Step 8760/37465 | Loss: 2.3755 | LR: 4.44e-04 | 28242.7ms/step | 0.7 samples/s
493
+ Step 8770/37465 | Loss: 2.3873 | LR: 4.43e-04 | 28237.3ms/step | 0.7 samples/s
494
+ Step 8780/37465 | Loss: 2.1722 | LR: 4.43e-04 | 28243.7ms/step | 0.7 samples/s
495
+ Step 8790/37465 | Loss: 2.4269 | LR: 4.43e-04 | 28236.1ms/step | 0.7 samples/s
496
+ Step 8800/37465 | Loss: 2.3189 | LR: 4.43e-04 | 28235.2ms/step | 0.7 samples/s
497
+ Step 8810/37465 | Loss: 2.2542 | LR: 4.43e-04 | 28243.7ms/step | 0.7 samples/s
498
+ Step 8820/37465 | Loss: 2.3955 | LR: 4.43e-04 | 28239.9ms/step | 0.7 samples/s
499
+ Step 8830/37465 | Loss: 2.2250 | LR: 4.43e-04 | 28240.2ms/step | 0.7 samples/s
500
+ Step 8840/37465 | Loss: 2.1999 | LR: 4.42e-04 | 28237.8ms/step | 0.7 samples/s
501
+ Step 8850/37465 | Loss: 2.1886 | LR: 4.42e-04 | 28240.7ms/step | 0.7 samples/s
502
+ Step 8860/37465 | Loss: 2.3696 | LR: 4.42e-04 | 28239.7ms/step | 0.7 samples/s
503
+ Step 8870/37465 | Loss: 2.2762 | LR: 4.42e-04 | 28246.2ms/step | 0.7 samples/s
504
+ Step 8880/37465 | Loss: 2.4358 | LR: 4.42e-04 | 28237.9ms/step | 0.7 samples/s
505
+ Step 8890/37465 | Loss: 2.2100 | LR: 4.42e-04 | 28240.0ms/step | 0.7 samples/s
506
+ Step 8900/37465 | Loss: 2.0125 | LR: 4.42e-04 | 28235.1ms/step | 0.7 samples/s
507
+ Step 8910/37465 | Loss: 2.2455 | LR: 4.41e-04 | 28243.8ms/step | 0.7 samples/s
508
+ Step 8920/37465 | Loss: 2.4135 | LR: 4.41e-04 | 28240.2ms/step | 0.7 samples/s
509
+ Step 8930/37465 | Loss: 2.5532 | LR: 4.41e-04 | 28241.7ms/step | 0.7 samples/s
510
+ Step 8940/37465 | Loss: 2.3636 | LR: 4.41e-04 | 28235.1ms/step | 0.7 samples/s
511
+ Step 8950/37465 | Loss: 2.4623 | LR: 4.41e-04 | 28236.1ms/step | 0.7 samples/s
512
+ Step 8960/37465 | Loss: 2.4028 | LR: 4.41e-04 | 28238.4ms/step | 0.7 samples/s
513
+ Step 8970/37465 | Loss: 2.1772 | LR: 4.41e-04 | 28238.6ms/step | 0.7 samples/s
514
+ W0711 01:45:57.049000 3736 site-packages/torch/distributed/elastic/agent/server/api.py:739] Received 15 death signal, shutting down workers
515
+ W0711 01:45:57.052000 3736 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 3805 closing signal SIGTERM
516
+ W0711 01:45:57.054000 3736 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 3806 closing signal SIGTERM
517
+ W0711 01:45:57.057000 3736 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 3807 closing signal SIGTERM
518
+ W0711 01:45:57.059000 3736 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 3808 closing signal SIGTERM
519
+ Traceback (most recent call last):
520
+ File "/mloscratch/homes/navasard/conda/bin/torchrun", line 6, in <module>
521
+ sys.exit(main())
522
+ ~~~~^^
523
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 362, in wrapper
524
+ return f(*args, **kwargs)
525
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 990, in main
526
+ run(args)
527
+ ~~~^^^^^^
528
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 981, in run
529
+ elastic_launch(
530
+ ~~~~~~~~~~~~~~~
531
+ config=config,
532
+ ~~~~~~~~~~~~~~
533
+ entrypoint=cmd,
534
+ ~~~~~~~~~~~~~~~
535
+ )(*cmd_args)
536
+ ~^^^^^^^^^^^
537
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 170, in __call__
538
+ return launch_agent(self._config, self._entrypoint, list(args))
539
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 308, in launch_agent
540
+ result = agent.run()
541
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
542
+ result = f(*args, **kwargs)
543
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 731, in run
544
+ result = self._invoke_run(role)
545
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 908, in _invoke_run
546
+ time.sleep(monitor_interval)
547
+ ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
548
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
549
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
550
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 3736 got signal: 15
epfl_final/train_logs/train_moba_1p2b.log ADDED
The diff for this file is too large to render. See raw diff
 
epfl_final/train_logs/train_moba_1p2b_matched.log ADDED
@@ -0,0 +1,669 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ W0711 08:31:23.427000 151 site-packages/torch/distributed/run.py:851]
2
+ W0711 08:31:23.427000 151 site-packages/torch/distributed/run.py:851] *****************************************
3
+ W0711 08:31:23.427000 151 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
4
+ W0711 08:31:23.427000 151 site-packages/torch/distributed/run.py:851] *****************************************
5
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083136
6
+ Running config:
7
+ {
8
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
9
+ "model_dtype": "bfloat16",
10
+ "init_from_scratch": true,
11
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
12
+ "val_path": null,
13
+ "max_seq_length": 8192,
14
+ "num_workers": 8,
15
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083136",
16
+ "resume_from_checkpoint": null,
17
+ "force_new_run": true,
18
+ "num_epochs": 1,
19
+ "max_steps": null,
20
+ "per_device_batch_size": 2,
21
+ "gradient_accumulation_steps": 10,
22
+ "learning_rate": 0.0005,
23
+ "weight_decay": 0.01,
24
+ "warmup_steps": 750,
25
+ "lr_scheduler": "cosine",
26
+ "max_grad_norm": 1.0,
27
+ "save_steps": 1000,
28
+ "eval_steps": 250,
29
+ "eval_batches": 50,
30
+ "logging_steps": 10,
31
+ "seed": 42,
32
+ "verbose": true,
33
+ "checkpoint_activations": false,
34
+ "strategy": "ddp",
35
+ "mixed_precision": "bf16",
36
+ "wandb_enabled": true,
37
+ "wandb_project": "stochastic_sparsity",
38
+ "wandb_name": "1.2b moba 8k MATCHED",
39
+ "wandb_tags": [
40
+ "qwen3",
41
+ "1.2b",
42
+ "8k",
43
+ "moba",
44
+ "matched"
45
+ ],
46
+ "hidden_size": 1536,
47
+ "intermediate_size": 6144,
48
+ "num_attention_heads": 12,
49
+ "num_key_value_heads": 4,
50
+ "num_hidden_layers": null,
51
+ "head_dim": null,
52
+ "attention_type": "moba",
53
+ "sparse_block_size": 128,
54
+ "sparse_num_random_blocks": 1,
55
+ "sparse_mask_pool_size": 1000,
56
+ "sparse_val_dense_compare": false,
57
+ "sparse_layer_indices": null,
58
+ "sparse_mask_cache_dir": null,
59
+ "sparse_mask_seed": 0,
60
+ "dense_mode": false,
61
+ "dense_step_intervals": null,
62
+ "moba_block_size": 128,
63
+ "moba_top_k": 32,
64
+ "asentmax_alpha": 1.5,
65
+ "asentmax_learn_temp": true,
66
+ "asentmax_init_temp": 1.0
67
+ }
68
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
69
+ Checkpoint activations: False
70
+ Initializing model from scratch (random weights)...
71
+ Checkpoint activations: False
72
+ Checkpoint activations: False
73
+ Checkpoint activations: False
74
+
75
+
76
+ ================================================================================
77
+ MODEL ARCHITECTURE
78
+ ================================================================================
79
+ Model config:
80
+ vocab_size: 151936
81
+ hidden_size: 1536
82
+ num_hidden_layers: 28
83
+ num_attention_heads: 12
84
+ num_key_value_heads: 4
85
+ head_dim: 128
86
+ intermediate_size: 6144
87
+ max_position_embeddings: 32768
88
+ rope_theta: 1000000
89
+ attention_type: moba
90
+
91
+ Parameter count:
92
+ Total parameters: 1,202,352,640
93
+ Trainable parameters: 1,202,352,640
94
+ Non-trainable parameters: 0
95
+ Model size (BF16): 2.40 GB
96
+
97
+ --------------------------------------------------------------------------------
98
+ LAYER-BY-LAYER SUMMARY
99
+ --------------------------------------------------------------------------------
100
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
101
+
102
+ SOLUTION: Use torch.compile(flex_attention)(...)
103
+
104
+ If you want to debug your score_mod/mask_mod, you can set:
105
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
106
+
107
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
108
+ _warn_once(
109
+ ===========================================================================================================================================================
110
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
111
+ ===========================================================================================================================================================
112
+ Qwen3ForCausalLM [2, 8192] -- -- True
113
+ ├─Qwen3Model: 1-1 -- [2, 8192, 1536] -- True
114
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 1536] 233,373,696 True
115
+ │ └─ModuleList: 2-2 -- -- -- True
116
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
117
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
118
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
119
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
120
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
121
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
122
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
123
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
124
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
125
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
126
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
127
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
128
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
129
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
130
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
131
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
132
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
133
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
134
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
135
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
136
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
137
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
138
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
139
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
140
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
141
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
142
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
143
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
144
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 1536] [2, 8192, 1536] 1,536 True
145
+ ├─Linear: 1-2 [2, 8192, 1536] [2, 8192, 151936] 233,373,696 True
146
+ ===========================================================================================================================================================
147
+ Total params: 1,435,726,336
148
+ Trainable params: 1,435,726,336
149
+ Non-trainable params: 0
150
+ Total mult-adds (Units.GIGABYTES): 2.87
151
+ ===========================================================================================================================================================
152
+ Input size (MB): 0.13
153
+ Forward/backward pass size (MB): 52437.19
154
+ Params size (MB): 2871.45
155
+ Estimated Total Size (MB): 55308.77
156
+ ===========================================================================================================================================================
157
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
158
+ ================================================================================
159
+
160
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
161
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
162
+ Using pre-tokenized dataset (no runtime tokenization)
163
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
164
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
165
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
166
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
167
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
168
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
169
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
170
+ Dataset split: 3027764 train, 159356 validation
171
+ Training examples (packed, train split): 3027764
172
+ Validation examples (packed, val split): 159356
173
+ Per-device batch size: 2
174
+ World size (GPUs): 4
175
+ Gradient accumulation steps: 10
176
+ Effective batch size (seqs/step): 80
177
+ Sequence length: 8192
178
+ Tokens per optimizer step: 655,360
179
+ Micro-batches per epoch (per rank): 378470
180
+ Optimizer steps per epoch: 37847
181
+ Total optimizer steps: 37847
182
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
183
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
184
+ wandb: Tracking run with wandb version 0.26.1
185
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt-baselines/wandb/run-20260711_083217-cjxy1m86
186
+ wandb: Run `wandb offline` to turn off syncing.
187
+ wandb: Syncing run 1.2b moba 8k MATCHED
188
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
189
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/cjxy1m86
190
+ Starting training...
191
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
192
+ W0711 08:33:33.592000 151 site-packages/torch/distributed/elastic/agent/server/api.py:739] Received 15 death signal, shutting down workers
193
+ W0711 08:33:33.593000 151 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 220 closing signal SIGTERM
194
+ W0711 08:33:33.608000 151 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 221 closing signal SIGTERM
195
+ W0711 08:33:33.623000 151 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 222 closing signal SIGTERM
196
+ W0711 08:33:33.623000 151 site-packages/torch/distributed/elastic/multiprocessing/api.py:1012] Sending process 223 closing signal SIGTERM
197
+ Traceback (most recent call last):
198
+ File "/mloscratch/homes/navasard/conda/bin/torchrun", line 6, in <module>
199
+ sys.exit(main())
200
+ ~~~~^^
201
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 362, in wrapper
202
+ return f(*args, **kwargs)
203
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 990, in main
204
+ run(args)
205
+ ~~~^^^^^^
206
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/run.py", line 981, in run
207
+ elastic_launch(
208
+ ~~~~~~~~~~~~~~~
209
+ config=config,
210
+ ~~~~~~~~~~~~~~
211
+ entrypoint=cmd,
212
+ ~~~~~~~~~~~~~~~
213
+ )(*cmd_args)
214
+ ~^^^^^^^^^^^
215
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 170, in __call__
216
+ return launch_agent(self._config, self._entrypoint, list(args))
217
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/launcher/api.py", line 308, in launch_agent
218
+ result = agent.run()
219
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/metrics/api.py", line 134, in wrapper
220
+ result = f(*args, **kwargs)
221
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 731, in run
222
+ result = self._invoke_run(role)
223
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/agent/server/api.py", line 908, in _invoke_run
224
+ time.sleep(monitor_interval)
225
+ ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
226
+ File "/mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/distributed/elastic/multiprocessing/api.py", line 86, in _terminate_process_handler
227
+ raise SignalException(f"Process {os.getpid()} got signal: {sigval}", sigval=sigval)
228
+ torch.distributed.elastic.multiprocessing.api.SignalException: Process 151 got signal: 15
229
+ W0711 08:33:54.614000 2252 site-packages/torch/distributed/run.py:851]
230
+ W0711 08:33:54.614000 2252 site-packages/torch/distributed/run.py:851] *****************************************
231
+ W0711 08:33:54.614000 2252 site-packages/torch/distributed/run.py:851] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
232
+ W0711 08:33:54.614000 2252 site-packages/torch/distributed/run.py:851] *****************************************
233
+ New run: Checkpoints will be saved to /mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083403
234
+ Running config:
235
+ {
236
+ "model_path": "/mloscratch/homes/navasard/qwen3_06b_base",
237
+ "model_dtype": "bfloat16",
238
+ "init_from_scratch": true,
239
+ "train_path": "/mloscratch/homes/navasard/data/fineweb_large/tokenized",
240
+ "val_path": null,
241
+ "max_seq_length": 8192,
242
+ "num_workers": 8,
243
+ "output_dir": "/mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083403",
244
+ "resume_from_checkpoint": null,
245
+ "force_new_run": true,
246
+ "num_epochs": 1,
247
+ "max_steps": null,
248
+ "per_device_batch_size": 2,
249
+ "gradient_accumulation_steps": 10,
250
+ "learning_rate": 0.0005,
251
+ "weight_decay": 0.01,
252
+ "warmup_steps": 750,
253
+ "lr_scheduler": "cosine",
254
+ "max_grad_norm": 1.0,
255
+ "save_steps": 1000,
256
+ "eval_steps": 250,
257
+ "eval_batches": 50,
258
+ "logging_steps": 10,
259
+ "seed": 42,
260
+ "verbose": true,
261
+ "checkpoint_activations": false,
262
+ "strategy": "ddp",
263
+ "mixed_precision": "bf16",
264
+ "wandb_enabled": true,
265
+ "wandb_project": "stochastic_sparsity",
266
+ "wandb_name": "1.2b moba 8k MATCHED",
267
+ "wandb_tags": [
268
+ "qwen3",
269
+ "1.2b",
270
+ "8k",
271
+ "moba",
272
+ "matched"
273
+ ],
274
+ "hidden_size": 1536,
275
+ "intermediate_size": 6144,
276
+ "num_attention_heads": 12,
277
+ "num_key_value_heads": 4,
278
+ "num_hidden_layers": null,
279
+ "head_dim": null,
280
+ "attention_type": "moba",
281
+ "sparse_block_size": 128,
282
+ "sparse_num_random_blocks": 1,
283
+ "sparse_mask_pool_size": 1000,
284
+ "sparse_val_dense_compare": false,
285
+ "sparse_layer_indices": null,
286
+ "sparse_mask_cache_dir": null,
287
+ "sparse_mask_seed": 0,
288
+ "dense_mode": false,
289
+ "dense_step_intervals": null,
290
+ "moba_block_size": 128,
291
+ "moba_top_k": 32,
292
+ "asentmax_alpha": 1.5,
293
+ "asentmax_learn_temp": true,
294
+ "asentmax_init_temp": 1.0
295
+ }
296
+ Loading tokenizer from /mloscratch/homes/navasard/qwen3_06b_base...
297
+ Checkpoint activations: False
298
+ Checkpoint activations: False
299
+ Initializing model from scratch (random weights)...
300
+ Checkpoint activations: False
301
+
302
+
303
+ ================================================================================
304
+ MODEL ARCHITECTURE
305
+ ================================================================================
306
+ Model config:
307
+ vocab_size: 151936
308
+ hidden_size: 1536
309
+ num_hidden_layers: 28
310
+ num_attention_heads: 12
311
+ num_key_value_heads: 4
312
+ head_dim: 128
313
+ intermediate_size: 6144
314
+ max_position_embeddings: 32768
315
+ rope_theta: 1000000
316
+ attention_type: moba
317
+
318
+ Parameter count:
319
+ Total parameters: 1,202,352,640
320
+ Trainable parameters: 1,202,352,640
321
+ Non-trainable parameters: 0
322
+ Model size (BF16): 2.40 GB
323
+
324
+ --------------------------------------------------------------------------------
325
+ LAYER-BY-LAYER SUMMARY
326
+ --------------------------------------------------------------------------------
327
+ /mloscratch/homes/navasard/conda/lib/python3.13/site-packages/torch/nn/attention/flex_attention.py:1704: UserWarning: flex_attention called without torch.compile() - this will use an unfused implementation that materializes the full scores matrix instead of generating a fused kernel.
328
+
329
+ SOLUTION: Use torch.compile(flex_attention)(...)
330
+
331
+ If you want to debug your score_mod/mask_mod, you can set:
332
+ torch.nn.attention.flex_attention._FLEX_ATTENTION_DISABLE_COMPILE_DEBUG = True
333
+
334
+ This will allow you to use print statements or breakpoints. Note: This doesn't work with the backwards pass and may produce incorrect results.
335
+ _warn_once(
336
+ ===========================================================================================================================================================
337
+ Layer (type:depth-idx) Input Shape Output Shape Param # Trainable
338
+ ===========================================================================================================================================================
339
+ Qwen3ForCausalLM [2, 8192] -- -- True
340
+ ├─Qwen3Model: 1-1 -- [2, 8192, 1536] -- True
341
+ │ └─Embedding: 2-1 [2, 8192] [2, 8192, 1536] 233,373,696 True
342
+ │ └─ModuleList: 2-2 -- -- -- True
343
+ │ │ └─Qwen3DecoderLayer: 3-1 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
344
+ │ │ └─Qwen3DecoderLayer: 3-2 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
345
+ │ │ └─Qwen3DecoderLayer: 3-3 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
346
+ │ │ └─Qwen3DecoderLayer: 3-4 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
347
+ │ │ └─Qwen3DecoderLayer: 3-5 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
348
+ │ │ └─Qwen3DecoderLayer: 3-6 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
349
+ │ │ └─Qwen3DecoderLayer: 3-7 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
350
+ │ │ └─Qwen3DecoderLayer: 3-8 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
351
+ │ │ └─Qwen3DecoderLayer: 3-9 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
352
+ │ │ └─Qwen3DecoderLayer: 3-10 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
353
+ │ │ └─Qwen3DecoderLayer: 3-11 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
354
+ │ │ └─Qwen3DecoderLayer: 3-12 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
355
+ │ │ └─Qwen3DecoderLayer: 3-13 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
356
+ │ │ └─Qwen3DecoderLayer: 3-14 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
357
+ │ │ └─Qwen3DecoderLayer: 3-15 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
358
+ │ │ └─Qwen3DecoderLayer: 3-16 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
359
+ │ │ └─Qwen3DecoderLayer: 3-17 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
360
+ │ │ └─Qwen3DecoderLayer: 3-18 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
361
+ │ │ └─Qwen3DecoderLayer: 3-19 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
362
+ │ │ └─Qwen3DecoderLayer: 3-20 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
363
+ │ │ └─Qwen3DecoderLayer: 3-21 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
364
+ │ │ └─Qwen3DecoderLayer: 3-22 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
365
+ │ │ └─Qwen3DecoderLayer: 3-23 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
366
+ │ │ └─Qwen3DecoderLayer: 3-24 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
367
+ │ │ └─Qwen3DecoderLayer: 3-25 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
368
+ │ │ └─Qwen3DecoderLayer: 3-26 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
369
+ │ │ └─Qwen3DecoderLayer: 3-27 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
370
+ │ │ └─Qwen3DecoderLayer: 3-28 [2, 8192, 1536] [2, 8192, 1536] 34,606,336 True
371
+ │ └─Qwen3RMSNorm: 2-3 [2, 8192, 1536] [2, 8192, 1536] 1,536 True
372
+ ├─Linear: 1-2 [2, 8192, 1536] [2, 8192, 151936] 233,373,696 True
373
+ ===========================================================================================================================================================
374
+ Total params: 1,435,726,336
375
+ Trainable params: 1,435,726,336
376
+ Non-trainable params: 0
377
+ Total mult-adds (Units.GIGABYTES): 2.87
378
+ ===========================================================================================================================================================
379
+ Input size (MB): 0.13
380
+ Forward/backward pass size (MB): 52437.19
381
+ Params size (MB): 2871.45
382
+ Estimated Total Size (MB): 55308.77
383
+ ===========================================================================================================================================================
384
+ NOTE: torchinfo double-counts tied embed_tokens/lm_head weight (233,373,696 params). True unique parameter count: 1,202,352,640 (1202.4M)
385
+ ================================================================================
386
+
387
+ Loading dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
388
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
389
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
390
+ Using pre-tokenized dataset (no runtime tokenization)
391
+ Loading pre-tokenized HF dataset from /mloscratch/homes/navasard/data/fineweb_large/tokenized...
392
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
393
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
394
+ Loaded 12748481 pre-tokenized examples (stored_len=2048, pack_factor=4, packed_examples=3187120)
395
+ Dataset split: 3027764 train, 159356 validation
396
+ Training examples (packed, train split): 3027764
397
+ Validation examples (packed, val split): 159356
398
+ Per-device batch size: 2
399
+ World size (GPUs): 3
400
+ Gradient accumulation steps: 10
401
+ Effective batch size (seqs/step): 60
402
+ Sequence length: 8192
403
+ Tokens per optimizer step: 491,520
404
+ Micro-batches per epoch (per rank): 504627
405
+ Optimizer steps per epoch: 50462
406
+ Total optimizer steps: 50462
407
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.
408
+ wandb: Currently logged in as: ruben-navasardyan4869 (ruben-navasardyan4869-epfl) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
409
+ wandb: Tracking run with wandb version 0.26.1
410
+ wandb: Run data is saved locally in /mloscratch/homes/navasard/sparse/SparseAtt-baselines/wandb/run-20260711_083448-np2dm5av
411
+ wandb: Run `wandb offline` to turn off syncing.
412
+ wandb: Syncing run 1.2b moba 8k MATCHED
413
+ wandb: ⭐️ View project at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity
414
+ wandb: 🚀 View run at https://wandb.ai/ruben-navasardyan4869-epfl/stochastic_sparsity/runs/np2dm5av
415
+ Starting training...
416
+ Switching attention mode for step 1: sparse_stochastic (configured sparse attention)
417
+ Step 10/50462 | Loss: 12.2712 | LR: 6.67e-06 | 12968.6ms/step | 4.6 samples/s
418
+ Step 20/50462 | Loss: 11.9930 | LR: 1.33e-05 | 3571.4ms/step | 16.8 samples/s
419
+ Step 30/50462 | Loss: 11.1397 | LR: 2.00e-05 | 3579.3ms/step | 16.8 samples/s
420
+ Step 40/50462 | Loss: 10.2173 | LR: 2.67e-05 | 3572.9ms/step | 16.8 samples/s
421
+ Step 50/50462 | Loss: 9.7769 | LR: 3.33e-05 | 3566.9ms/step | 16.8 samples/s
422
+ Step 60/50462 | Loss: 9.2959 | LR: 4.00e-05 | 3560.8ms/step | 16.9 samples/s
423
+ Step 70/50462 | Loss: 8.7899 | LR: 4.67e-05 | 3570.3ms/step | 16.8 samples/s
424
+ Step 80/50462 | Loss: 8.3037 | LR: 5.33e-05 | 3567.6ms/step | 16.8 samples/s
425
+ Step 90/50462 | Loss: 7.8821 | LR: 6.00e-05 | 3566.0ms/step | 16.8 samples/s
426
+ Step 100/50462 | Loss: 7.5261 | LR: 6.67e-05 | 3573.5ms/step | 16.8 samples/s
427
+ Step 110/50462 | Loss: 7.2710 | LR: 7.33e-05 | 3579.1ms/step | 16.8 samples/s
428
+ Step 120/50462 | Loss: 7.1058 | LR: 8.00e-05 | 3579.1ms/step | 16.8 samples/s
429
+ Step 130/50462 | Loss: 6.9950 | LR: 8.67e-05 | 3582.0ms/step | 16.8 samples/s
430
+ Step 140/50462 | Loss: 6.8790 | LR: 9.33e-05 | 3588.8ms/step | 16.7 samples/s
431
+ Step 150/50462 | Loss: 6.7455 | LR: 1.00e-04 | 3597.5ms/step | 16.7 samples/s
432
+ Step 160/50462 | Loss: 6.6286 | LR: 1.07e-04 | 3600.3ms/step | 16.7 samples/s
433
+ Step 170/50462 | Loss: 6.5159 | LR: 1.13e-04 | 3599.2ms/step | 16.7 samples/s
434
+ Step 180/50462 | Loss: 6.4271 | LR: 1.20e-04 | 3592.4ms/step | 16.7 samples/s
435
+ Step 190/50462 | Loss: 6.3586 | LR: 1.27e-04 | 3593.7ms/step | 16.7 samples/s
436
+ Step 200/50462 | Loss: 6.2810 | LR: 1.33e-04 | 3591.4ms/step | 16.7 samples/s
437
+ Step 210/50462 | Loss: 6.1988 | LR: 1.40e-04 | 3591.1ms/step | 16.7 samples/s
438
+ Step 220/50462 | Loss: 6.1356 | LR: 1.47e-04 | 3589.5ms/step | 16.7 samples/s
439
+ Step 230/50462 | Loss: 6.1218 | LR: 1.53e-04 | 3591.2ms/step | 16.7 samples/s
440
+ Step 240/50462 | Loss: 6.0742 | LR: 1.60e-04 | 3590.5ms/step | 16.7 samples/s
441
+ Step 250/50462 | Loss: 6.0059 | LR: 1.67e-04 | 3586.2ms/step | 16.7 samples/s
442
+ Validation at step 250: Loss = 5.9593, Perplexity = 387.33
443
+ Step 260/50462 | Loss: 5.9316 | LR: 1.73e-04 | 14395.9ms/step | 4.2 samples/s
444
+ Step 270/50462 | Loss: 5.9353 | LR: 1.80e-04 | 3580.0ms/step | 16.8 samples/s
445
+ Step 280/50462 | Loss: 5.8424 | LR: 1.87e-04 | 3590.2ms/step | 16.7 samples/s
446
+ Step 290/50462 | Loss: 5.7822 | LR: 1.93e-04 | 3594.1ms/step | 16.7 samples/s
447
+ Step 300/50462 | Loss: 5.7254 | LR: 2.00e-04 | 3600.4ms/step | 16.7 samples/s
448
+ Step 310/50462 | Loss: 5.6998 | LR: 2.07e-04 | 3595.1ms/step | 16.7 samples/s
449
+ Step 320/50462 | Loss: 5.6249 | LR: 2.13e-04 | 3598.1ms/step | 16.7 samples/s
450
+ Step 330/50462 | Loss: 5.5989 | LR: 2.20e-04 | 3597.8ms/step | 16.7 samples/s
451
+ Step 340/50462 | Loss: 5.5498 | LR: 2.27e-04 | 3598.5ms/step | 16.7 samples/s
452
+ Step 350/50462 | Loss: 5.4828 | LR: 2.33e-04 | 3601.6ms/step | 16.7 samples/s
453
+ Step 360/50462 | Loss: 5.4261 | LR: 2.40e-04 | 3599.5ms/step | 16.7 samples/s
454
+ Step 370/50462 | Loss: 5.3679 | LR: 2.47e-04 | 3601.4ms/step | 16.7 samples/s
455
+ Step 380/50462 | Loss: 5.3380 | LR: 2.53e-04 | 3603.7ms/step | 16.6 samples/s
456
+ Step 390/50462 | Loss: 5.2916 | LR: 2.60e-04 | 3597.7ms/step | 16.7 samples/s
457
+ Step 400/50462 | Loss: 5.2466 | LR: 2.67e-04 | 3595.8ms/step | 16.7 samples/s
458
+ Step 410/50462 | Loss: 5.2134 | LR: 2.73e-04 | 3600.0ms/step | 16.7 samples/s
459
+ Step 420/50462 | Loss: 5.1941 | LR: 2.80e-04 | 3598.2ms/step | 16.7 samples/s
460
+ Step 430/50462 | Loss: 5.1166 | LR: 2.87e-04 | 3598.1ms/step | 16.7 samples/s
461
+ Step 440/50462 | Loss: 5.0694 | LR: 2.93e-04 | 3598.0ms/step | 16.7 samples/s
462
+ Step 450/50462 | Loss: 5.0540 | LR: 3.00e-04 | 3600.0ms/step | 16.7 samples/s
463
+ Step 460/50462 | Loss: 5.0197 | LR: 3.07e-04 | 3597.6ms/step | 16.7 samples/s
464
+ Step 470/50462 | Loss: 4.9741 | LR: 3.13e-04 | 3602.0ms/step | 16.7 samples/s
465
+ Step 480/50462 | Loss: 4.9311 | LR: 3.20e-04 | 3599.7ms/step | 16.7 samples/s
466
+ Step 490/50462 | Loss: 4.8841 | LR: 3.27e-04 | 3598.3ms/step | 16.7 samples/s
467
+ Step 500/50462 | Loss: 4.9094 | LR: 3.33e-04 | 3599.8ms/step | 16.7 samples/s
468
+ Validation at step 500: Loss = 4.8570, Perplexity = 128.64
469
+ Step 510/50462 | Loss: 4.8544 | LR: 3.40e-04 | 5608.8ms/step | 10.7 samples/s
470
+ Step 520/50462 | Loss: 4.8026 | LR: 3.47e-04 | 3597.5ms/step | 16.7 samples/s
471
+ Step 530/50462 | Loss: 4.7795 | LR: 3.53e-04 | 3601.8ms/step | 16.7 samples/s
472
+ Step 540/50462 | Loss: 4.7071 | LR: 3.60e-04 | 3599.9ms/step | 16.7 samples/s
473
+ Step 550/50462 | Loss: 4.7569 | LR: 3.67e-04 | 3600.3ms/step | 16.7 samples/s
474
+ Step 560/50462 | Loss: 4.7164 | LR: 3.73e-04 | 3598.0ms/step | 16.7 samples/s
475
+ Step 570/50462 | Loss: 4.6124 | LR: 3.80e-04 | 3600.2ms/step | 16.7 samples/s
476
+ Step 580/50462 | Loss: 4.5380 | LR: 3.87e-04 | 3604.7ms/step | 16.6 samples/s
477
+ Step 590/50462 | Loss: 4.6199 | LR: 3.93e-04 | 3602.9ms/step | 16.7 samples/s
478
+ Step 600/50462 | Loss: 4.6552 | LR: 4.00e-04 | 3601.8ms/step | 16.7 samples/s
479
+ Step 610/50462 | Loss: 4.5168 | LR: 4.07e-04 | 3600.2ms/step | 16.7 samples/s
480
+ Step 620/50462 | Loss: 4.4920 | LR: 4.13e-04 | 3600.4ms/step | 16.7 samples/s
481
+ Step 630/50462 | Loss: 4.4789 | LR: 4.20e-04 | 3599.4ms/step | 16.7 samples/s
482
+ Step 640/50462 | Loss: 4.4302 | LR: 4.27e-04 | 3600.3ms/step | 16.7 samples/s
483
+ Step 650/50462 | Loss: 4.3546 | LR: 4.33e-04 | 3599.6ms/step | 16.7 samples/s
484
+ Step 660/50462 | Loss: 4.3508 | LR: 4.40e-04 | 3598.3ms/step | 16.7 samples/s
485
+ Step 670/50462 | Loss: 4.4010 | LR: 4.47e-04 | 3600.3ms/step | 16.7 samples/s
486
+ Step 680/50462 | Loss: 4.3196 | LR: 4.53e-04 | 3599.8ms/step | 16.7 samples/s
487
+ Step 690/50462 | Loss: 4.2209 | LR: 4.60e-04 | 3600.0ms/step | 16.7 samples/s
488
+ Step 700/50462 | Loss: 4.2721 | LR: 4.67e-04 | 3597.7ms/step | 16.7 samples/s
489
+ Step 710/50462 | Loss: 4.2820 | LR: 4.73e-04 | 3600.0ms/step | 16.7 samples/s
490
+ Step 720/50462 | Loss: 4.2123 | LR: 4.80e-04 | 3599.8ms/step | 16.7 samples/s
491
+ Step 730/50462 | Loss: 4.1674 | LR: 4.87e-04 | 3600.5ms/step | 16.7 samples/s
492
+ Step 740/50462 | Loss: 4.1267 | LR: 4.93e-04 | 3599.8ms/step | 16.7 samples/s
493
+ Step 750/50462 | Loss: 4.1854 | LR: 5.00e-04 | 3599.9ms/step | 16.7 samples/s
494
+ Validation at step 750: Loss = 4.1339, Perplexity = 62.42
495
+ Step 760/50462 | Loss: 4.0912 | LR: 5.00e-04 | 5608.0ms/step | 10.7 samples/s
496
+ Step 770/50462 | Loss: 4.0943 | LR: 5.00e-04 | 3597.8ms/step | 16.7 samples/s
497
+ Step 780/50462 | Loss: 4.0769 | LR: 5.00e-04 | 3600.3ms/step | 16.7 samples/s
498
+ Step 790/50462 | Loss: 4.0613 | LR: 5.00e-04 | 3608.5ms/step | 16.6 samples/s
499
+ Step 800/50462 | Loss: 3.9934 | LR: 5.00e-04 | 3602.9ms/step | 16.7 samples/s
500
+ Step 810/50462 | Loss: 4.0156 | LR: 5.00e-04 | 3600.6ms/step | 16.7 samples/s
501
+ Step 820/50462 | Loss: 3.9963 | LR: 5.00e-04 | 3600.2ms/step | 16.7 samples/s
502
+ Step 830/50462 | Loss: 3.9618 | LR: 5.00e-04 | 3599.6ms/step | 16.7 samples/s
503
+ Step 840/50462 | Loss: 3.9328 | LR: 5.00e-04 | 3600.0ms/step | 16.7 samples/s
504
+ Step 850/50462 | Loss: 3.9050 | LR: 5.00e-04 | 3604.2ms/step | 16.6 samples/s
505
+ Step 860/50462 | Loss: 3.8963 | LR: 5.00e-04 | 3599.4ms/step | 16.7 samples/s
506
+ Step 870/50462 | Loss: 3.8750 | LR: 5.00e-04 | 3600.5ms/step | 16.7 samples/s
507
+ Step 880/50462 | Loss: 3.8397 | LR: 5.00e-04 | 3600.0ms/step | 16.7 samples/s
508
+ Step 890/50462 | Loss: 3.8519 | LR: 5.00e-04 | 3599.8ms/step | 16.7 samples/s
509
+ Step 900/50462 | Loss: 3.8371 | LR: 5.00e-04 | 3601.9ms/step | 16.7 samples/s
510
+ Step 910/50462 | Loss: 3.8082 | LR: 5.00e-04 | 3600.8ms/step | 16.7 samples/s
511
+ Step 920/50462 | Loss: 3.7720 | LR: 5.00e-04 | 3601.3ms/step | 16.7 samples/s
512
+ Step 930/50462 | Loss: 3.8192 | LR: 5.00e-04 | 3599.8ms/step | 16.7 samples/s
513
+ Step 940/50462 | Loss: 3.7628 | LR: 5.00e-04 | 3600.3ms/step | 16.7 samples/s
514
+ Step 950/50462 | Loss: 3.7498 | LR: 5.00e-04 | 3597.6ms/step | 16.7 samples/s
515
+ Step 960/50462 | Loss: 3.7532 | LR: 5.00e-04 | 3597.8ms/step | 16.7 samples/s
516
+ Step 970/50462 | Loss: 3.7323 | LR: 5.00e-04 | 3598.0ms/step | 16.7 samples/s
517
+ Step 980/50462 | Loss: 3.7033 | LR: 5.00e-04 | 3600.3ms/step | 16.7 samples/s
518
+ Step 990/50462 | Loss: 3.7081 | LR: 5.00e-04 | 3598.0ms/step | 16.7 samples/s
519
+ Step 1000/50462 | Loss: 3.7120 | LR: 5.00e-04 | 3599.2ms/step | 16.7 samples/s
520
+ Validation at step 1000: Loss = 3.7141, Perplexity = 41.02
521
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083403/checkpoint-1000
522
+ Step 1010/50462 | Loss: 3.6907 | LR: 5.00e-04 | 6598.2ms/step | 9.1 samples/s
523
+ Step 1020/50462 | Loss: 3.6956 | LR: 5.00e-04 | 3595.8ms/step | 16.7 samples/s
524
+ Step 1030/50462 | Loss: 3.6859 | LR: 5.00e-04 | 3597.8ms/step | 16.7 samples/s
525
+ Step 1040/50462 | Loss: 3.6855 | LR: 5.00e-04 | 3597.9ms/step | 16.7 samples/s
526
+ Step 1050/50462 | Loss: 3.6536 | LR: 5.00e-04 | 3596.3ms/step | 16.7 samples/s
527
+ Step 1060/50462 | Loss: 3.6436 | LR: 5.00e-04 | 3599.9ms/step | 16.7 samples/s
528
+ Step 1070/50462 | Loss: 3.6381 | LR: 5.00e-04 | 3596.5ms/step | 16.7 samples/s
529
+ Step 1080/50462 | Loss: 3.6411 | LR: 5.00e-04 | 3598.0ms/step | 16.7 samples/s
530
+ Step 1090/50462 | Loss: 3.6170 | LR: 5.00e-04 | 3599.9ms/step | 16.7 samples/s
531
+ Step 1100/50462 | Loss: 3.6264 | LR: 5.00e-04 | 3595.3ms/step | 16.7 samples/s
532
+ Step 1110/50462 | Loss: 3.6353 | LR: 5.00e-04 | 3594.7ms/step | 16.7 samples/s
533
+ Step 1120/50462 | Loss: 3.5931 | LR: 5.00e-04 | 3600.1ms/step | 16.7 samples/s
534
+ Step 1130/50462 | Loss: 3.6077 | LR: 5.00e-04 | 3601.6ms/step | 16.7 samples/s
535
+ Step 1140/50462 | Loss: 3.5691 | LR: 5.00e-04 | 3598.5ms/step | 16.7 samples/s
536
+ Step 1150/50462 | Loss: 3.5363 | LR: 5.00e-04 | 3599.9ms/step | 16.7 samples/s
537
+ Step 1160/50462 | Loss: 3.5617 | LR: 5.00e-04 | 3597.8ms/step | 16.7 samples/s
538
+ Step 1170/50462 | Loss: 3.5569 | LR: 5.00e-04 | 3594.9ms/step | 16.7 samples/s
539
+ Step 1180/50462 | Loss: 3.5224 | LR: 5.00e-04 | 3594.2ms/step | 16.7 samples/s
540
+ Step 1190/50462 | Loss: 3.5387 | LR: 5.00e-04 | 3590.8ms/step | 16.7 samples/s
541
+ Step 1200/50462 | Loss: 3.5554 | LR: 5.00e-04 | 3591.6ms/step | 16.7 samples/s
542
+ Step 1210/50462 | Loss: 3.5518 | LR: 5.00e-04 | 3591.6ms/step | 16.7 samples/s
543
+ Step 1220/50462 | Loss: 3.5126 | LR: 5.00e-04 | 3597.1ms/step | 16.7 samples/s
544
+ Step 1230/50462 | Loss: 3.4851 | LR: 5.00e-04 | 3599.2ms/step | 16.7 samples/s
545
+ Step 1240/50462 | Loss: 3.5415 | LR: 5.00e-04 | 3598.6ms/step | 16.7 samples/s
546
+ Step 1250/50462 | Loss: 3.5026 | LR: 5.00e-04 | 3599.4ms/step | 16.7 samples/s
547
+ Validation at step 1250: Loss = 3.5093, Perplexity = 33.43
548
+ Step 1260/50462 | Loss: 3.5206 | LR: 5.00e-04 | 5604.4ms/step | 10.7 samples/s
549
+ Step 1270/50462 | Loss: 3.4876 | LR: 5.00e-04 | 3597.3ms/step | 16.7 samples/s
550
+ Step 1280/50462 | Loss: 3.4640 | LR: 5.00e-04 | 3591.8ms/step | 16.7 samples/s
551
+ Step 1290/50462 | Loss: 3.4695 | LR: 5.00e-04 | 3594.3ms/step | 16.7 samples/s
552
+ Step 1300/50462 | Loss: 3.4633 | LR: 5.00e-04 | 3592.3ms/step | 16.7 samples/s
553
+ Step 1310/50462 | Loss: 3.4739 | LR: 5.00e-04 | 3593.6ms/step | 16.7 samples/s
554
+ Step 1320/50462 | Loss: 3.4637 | LR: 5.00e-04 | 3589.2ms/step | 16.7 samples/s
555
+ Step 1330/50462 | Loss: 3.4476 | LR: 5.00e-04 | 3582.4ms/step | 16.7 samples/s
556
+ Step 1340/50462 | Loss: 3.4441 | LR: 5.00e-04 | 3577.4ms/step | 16.8 samples/s
557
+ Step 1350/50462 | Loss: 3.4234 | LR: 5.00e-04 | 3584.4ms/step | 16.7 samples/s
558
+ Step 1360/50462 | Loss: 3.4439 | LR: 5.00e-04 | 3586.6ms/step | 16.7 samples/s
559
+ Step 1370/50462 | Loss: 3.4225 | LR: 5.00e-04 | 3584.9ms/step | 16.7 samples/s
560
+ Step 1380/50462 | Loss: 3.4582 | LR: 5.00e-04 | 3584.0ms/step | 16.7 samples/s
561
+ Step 1390/50462 | Loss: 3.4324 | LR: 5.00e-04 | 3585.2ms/step | 16.7 samples/s
562
+ Step 1400/50462 | Loss: 3.4035 | LR: 5.00e-04 | 3587.8ms/step | 16.7 samples/s
563
+ Step 1410/50462 | Loss: 3.4300 | LR: 5.00e-04 | 3595.6ms/step | 16.7 samples/s
564
+ Step 1420/50462 | Loss: 3.4085 | LR: 5.00e-04 | 3592.7ms/step | 16.7 samples/s
565
+ Step 1430/50462 | Loss: 3.3840 | LR: 5.00e-04 | 3591.7ms/step | 16.7 samples/s
566
+ Step 1440/50462 | Loss: 3.4178 | LR: 5.00e-04 | 3588.2ms/step | 16.7 samples/s
567
+ Step 1450/50462 | Loss: 3.3829 | LR: 5.00e-04 | 3584.7ms/step | 16.7 samples/s
568
+ Step 1460/50462 | Loss: 3.3911 | LR: 5.00e-04 | 3577.6ms/step | 16.8 samples/s
569
+ Step 1470/50462 | Loss: 3.3637 | LR: 5.00e-04 | 3576.0ms/step | 16.8 samples/s
570
+ Step 1480/50462 | Loss: 3.4023 | LR: 5.00e-04 | 3580.3ms/step | 16.8 samples/s
571
+ Step 1490/50462 | Loss: 3.3860 | LR: 5.00e-04 | 3584.9ms/step | 16.7 samples/s
572
+ Step 1500/50462 | Loss: 3.3518 | LR: 5.00e-04 | 3574.9ms/step | 16.8 samples/s
573
+ Validation at step 1500: Loss = 3.3874, Perplexity = 29.59
574
+ Step 1510/50462 | Loss: 3.3837 | LR: 5.00e-04 | 5570.7ms/step | 10.8 samples/s
575
+ Step 1520/50462 | Loss: 3.3587 | LR: 5.00e-04 | 3581.8ms/step | 16.8 samples/s
576
+ Step 1530/50462 | Loss: 3.3830 | LR: 5.00e-04 | 3582.0ms/step | 16.8 samples/s
577
+ Step 1540/50462 | Loss: 3.3505 | LR: 5.00e-04 | 3583.8ms/step | 16.7 samples/s
578
+ Step 1550/50462 | Loss: 3.3593 | LR: 5.00e-04 | 3590.7ms/step | 16.7 samples/s
579
+ Step 1560/50462 | Loss: 3.3496 | LR: 5.00e-04 | 3589.5ms/step | 16.7 samples/s
580
+ Step 1570/50462 | Loss: 3.3834 | LR: 5.00e-04 | 3577.9ms/step | 16.8 samples/s
581
+ Step 1580/50462 | Loss: 3.3455 | LR: 5.00e-04 | 3568.6ms/step | 16.8 samples/s
582
+ Step 1590/50462 | Loss: 3.3703 | LR: 5.00e-04 | 3576.1ms/step | 16.8 samples/s
583
+ Step 1600/50462 | Loss: 3.3566 | LR: 5.00e-04 | 3582.4ms/step | 16.7 samples/s
584
+ Step 1610/50462 | Loss: 3.3219 | LR: 5.00e-04 | 3586.3ms/step | 16.7 samples/s
585
+ Step 1620/50462 | Loss: 3.3366 | LR: 5.00e-04 | 3590.1ms/step | 16.7 samples/s
586
+ Step 1630/50462 | Loss: 3.3573 | LR: 5.00e-04 | 3593.1ms/step | 16.7 samples/s
587
+ Step 1640/50462 | Loss: 3.3332 | LR: 5.00e-04 | 3593.8ms/step | 16.7 samples/s
588
+ Step 1650/50462 | Loss: 3.2924 | LR: 5.00e-04 | 3598.6ms/step | 16.7 samples/s
589
+ Step 1660/50462 | Loss: 3.3095 | LR: 5.00e-04 | 3598.0ms/step | 16.7 samples/s
590
+ Step 1670/50462 | Loss: 3.3341 | LR: 5.00e-04 | 3597.0ms/step | 16.7 samples/s
591
+ Step 1680/50462 | Loss: 3.3081 | LR: 5.00e-04 | 3598.8ms/step | 16.7 samples/s
592
+ Step 1690/50462 | Loss: 3.3121 | LR: 5.00e-04 | 3600.0ms/step | 16.7 samples/s
593
+ Step 1700/50462 | Loss: 3.3180 | LR: 5.00e-04 | 3595.9ms/step | 16.7 samples/s
594
+ Step 1710/50462 | Loss: 3.3349 | LR: 5.00e-04 | 3595.7ms/step | 16.7 samples/s
595
+ Step 1720/50462 | Loss: 3.2958 | LR: 5.00e-04 | 3598.0ms/step | 16.7 samples/s
596
+ Step 1730/50462 | Loss: 3.2953 | LR: 5.00e-04 | 3596.2ms/step | 16.7 samples/s
597
+ Step 1740/50462 | Loss: 3.3261 | LR: 5.00e-04 | 3597.7ms/step | 16.7 samples/s
598
+ Step 1750/50462 | Loss: 3.3392 | LR: 5.00e-04 | 3601.0ms/step | 16.7 samples/s
599
+ Validation at step 1750: Loss = 3.3021, Perplexity = 27.17
600
+ Step 1760/50462 | Loss: 3.3127 | LR: 4.99e-04 | 5609.9ms/step | 10.7 samples/s
601
+ Step 1770/50462 | Loss: 3.2974 | LR: 4.99e-04 | 3599.5ms/step | 16.7 samples/s
602
+ Step 1780/50462 | Loss: 3.2681 | LR: 4.99e-04 | 3604.2ms/step | 16.6 samples/s
603
+ Step 1790/50462 | Loss: 3.2669 | LR: 4.99e-04 | 3600.3ms/step | 16.7 samples/s
604
+ Step 1800/50462 | Loss: 3.2636 | LR: 4.99e-04 | 3603.3ms/step | 16.7 samples/s
605
+ Step 1810/50462 | Loss: 3.2759 | LR: 4.99e-04 | 3602.6ms/step | 16.7 samples/s
606
+ Step 1820/50462 | Loss: 3.2543 | LR: 4.99e-04 | 3606.1ms/step | 16.6 samples/s
607
+ Step 1830/50462 | Loss: 3.2597 | LR: 4.99e-04 | 3608.0ms/step | 16.6 samples/s
608
+ Step 1840/50462 | Loss: 3.2552 | LR: 4.99e-04 | 3619.5ms/step | 16.6 samples/s
609
+ Step 1850/50462 | Loss: 3.2674 | LR: 4.99e-04 | 3608.9ms/step | 16.6 samples/s
610
+ Step 1860/50462 | Loss: 3.2454 | LR: 4.99e-04 | 3606.5ms/step | 16.6 samples/s
611
+ Step 1870/50462 | Loss: 3.2896 | LR: 4.99e-04 | 3603.3ms/step | 16.7 samples/s
612
+ Step 1880/50462 | Loss: 3.2655 | LR: 4.99e-04 | 3609.7ms/step | 16.6 samples/s
613
+ Step 1890/50462 | Loss: 3.2332 | LR: 4.99e-04 | 3607.9ms/step | 16.6 samples/s
614
+ Step 1900/50462 | Loss: 3.2347 | LR: 4.99e-04 | 3605.3ms/step | 16.6 samples/s
615
+ Step 1910/50462 | Loss: 3.2692 | LR: 4.99e-04 | 3602.0ms/step | 16.7 samples/s
616
+ Step 1920/50462 | Loss: 3.2690 | LR: 4.99e-04 | 3606.8ms/step | 16.6 samples/s
617
+ Step 1930/50462 | Loss: 3.2722 | LR: 4.99e-04 | 3604.1ms/step | 16.6 samples/s
618
+ Step 1940/50462 | Loss: 3.2589 | LR: 4.99e-04 | 3614.1ms/step | 16.6 samples/s
619
+ Step 1950/50462 | Loss: 3.2590 | LR: 4.99e-04 | 3618.4ms/step | 16.6 samples/s
620
+ Step 1960/50462 | Loss: 3.2497 | LR: 4.99e-04 | 3604.8ms/step | 16.6 samples/s
621
+ Step 1970/50462 | Loss: 3.2488 | LR: 4.99e-04 | 3618.7ms/step | 16.6 samples/s
622
+ Step 1980/50462 | Loss: 3.2423 | LR: 4.99e-04 | 3615.7ms/step | 16.6 samples/s
623
+ Step 1990/50462 | Loss: 3.2648 | LR: 4.99e-04 | 3601.6ms/step | 16.7 samples/s
624
+ Step 2000/50462 | Loss: 3.2666 | LR: 4.99e-04 | 3602.0ms/step | 16.7 samples/s
625
+ Validation at step 2000: Loss = 3.2394, Perplexity = 25.52
626
+ Saved checkpoint to /mloscratch/homes/navasard/sparse/checkpoints/l8k1_2b_moba_matched/run_20260711_083403/checkpoint-2000
627
+ Step 2010/50462 | Loss: 3.2475 | LR: 4.99e-04 | 6769.6ms/step | 8.9 samples/s
628
+ Step 2020/50462 | Loss: 3.2483 | LR: 4.99e-04 | 3592.9ms/step | 16.7 samples/s
629
+ Step 2030/50462 | Loss: 3.2196 | LR: 4.99e-04 | 3599.0ms/step | 16.7 samples/s
630
+ Step 2040/50462 | Loss: 3.2304 | LR: 4.99e-04 | 3600.3ms/step | 16.7 samples/s
631
+ Step 2050/50462 | Loss: 3.1998 | LR: 4.99e-04 | 3603.8ms/step | 16.6 samples/s
632
+ Step 2060/50462 | Loss: 3.2041 | LR: 4.99e-04 | 3602.0ms/step | 16.7 samples/s
633
+ Step 2070/50462 | Loss: 3.2204 | LR: 4.99e-04 | 3602.2ms/step | 16.7 samples/s
634
+ Step 2080/50462 | Loss: 3.2100 | LR: 4.99e-04 | 3599.6ms/step | 16.7 samples/s
635
+ Step 2090/50462 | Loss: 3.2129 | LR: 4.99e-04 | 3599.8ms/step | 16.7 samples/s
636
+ Step 2100/50462 | Loss: 3.2001 | LR: 4.99e-04 | 3598.7ms/step | 16.7 samples/s
637
+ Step 2110/50462 | Loss: 3.2484 | LR: 4.99e-04 | 3602.2ms/step | 16.7 samples/s
638
+ Step 2120/50462 | Loss: 3.2341 | LR: 4.99e-04 | 3599.5ms/step | 16.7 samples/s
639
+ Step 2130/50462 | Loss: 3.1982 | LR: 4.99e-04 | 3604.1ms/step | 16.6 samples/s
640
+ Step 2140/50462 | Loss: 3.1818 | LR: 4.99e-04 | 3599.4ms/step | 16.7 samples/s
641
+ Step 2150/50462 | Loss: 3.1864 | LR: 4.99e-04 | 3600.3ms/step | 16.7 samples/s
642
+ Step 2160/50462 | Loss: 3.1998 | LR: 4.99e-04 | 3604.2ms/step | 16.6 samples/s
643
+ Step 2170/50462 | Loss: 3.1867 | LR: 4.99e-04 | 3600.0ms/step | 16.7 samples/s
644
+ Step 2180/50462 | Loss: 3.2105 | LR: 4.99e-04 | 3599.2ms/step | 16.7 samples/s
645
+ Step 2190/50462 | Loss: 3.1839 | LR: 4.99e-04 | 3600.5ms/step | 16.7 samples/s
646
+ Step 2200/50462 | Loss: 3.1821 | LR: 4.99e-04 | 3608.4ms/step | 16.6 samples/s
647
+ Step 2210/50462 | Loss: 3.1918 | LR: 4.99e-04 | 3610.3ms/step | 16.6 samples/s
648
+ Step 2220/50462 | Loss: 3.1735 | LR: 4.99e-04 | 3610.1ms/step | 16.6 samples/s
649
+ Step 2230/50462 | Loss: 3.1899 | LR: 4.99e-04 | 3613.1ms/step | 16.6 samples/s
650
+ Step 2240/50462 | Loss: 3.1827 | LR: 4.99e-04 | 3602.4ms/step | 16.7 samples/s
651
+ Step 2250/50462 | Loss: 3.2222 | LR: 4.99e-04 | 3599.7ms/step | 16.7 samples/s
652
+ Validation at step 2250: Loss = 3.1891, Perplexity = 24.27
653
+ Step 2260/50462 | Loss: 3.1850 | LR: 4.99e-04 | 5615.7ms/step | 10.7 samples/s
654
+ Step 2270/50462 | Loss: 3.1964 | LR: 4.99e-04 | 3600.5ms/step | 16.7 samples/s
655
+ Step 2280/50462 | Loss: 3.1485 | LR: 4.99e-04 | 3601.5ms/step | 16.7 samples/s
656
+ Step 2290/50462 | Loss: 3.1513 | LR: 4.99e-04 | 3606.4ms/step | 16.6 samples/s
657
+ Step 2300/50462 | Loss: 3.1533 | LR: 4.99e-04 | 3602.5ms/step | 16.7 samples/s
658
+ Step 2310/50462 | Loss: 3.1740 | LR: 4.99e-04 | 3604.0ms/step | 16.6 samples/s
659
+ Step 2320/50462 | Loss: 3.1694 | LR: 4.99e-04 | 3599.5ms/step | 16.7 samples/s
660
+ Step 2330/50462 | Loss: 3.1301 | LR: 4.99e-04 | 3601.6ms/step | 16.7 samples/s
661
+ Step 2340/50462 | Loss: 3.1658 | LR: 4.99e-04 | 3600.2ms/step | 16.7 samples/s
662
+ Step 2350/50462 | Loss: 3.1394 | LR: 4.99e-04 | 3603.7ms/step | 16.6 samples/s
663
+ Step 2360/50462 | Loss: 3.1387 | LR: 4.99e-04 | 3600.6ms/step | 16.7 samples/s
664
+ Step 2370/50462 | Loss: 3.1607 | LR: 4.99e-04 | 3601.2ms/step | 16.7 samples/s
665
+ Step 2380/50462 | Loss: 3.1080 | LR: 4.99e-04 | 3600.1ms/step | 16.7 samples/s
666
+ Step 2390/50462 | Loss: 3.1344 | LR: 4.99e-04 | 3600.0ms/step | 16.7 samples/s
667
+ Step 2400/50462 | Loss: 3.1579 | LR: 4.99e-04 | 3599.9ms/step | 16.7 samples/s
668
+ Step 2410/50462 | Loss: 3.1229 | LR: 4.99e-04 | 3598.2ms/step | 16.7 samples/s
669
+ Step 2420/50462 | Loss: 3.1621 | LR: 4.99e-04 | 3599.7ms/step | 16.7 samples/s
epfl_final/train_logs/watchdog_generic.sh ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Persistent in-pod training watchdog.
3
+ # Relaunches torchrun (auto-resumes from latest checkpoint) ONLY when the run is
4
+ # truly dead: GPU compute apps == 0 AND no matching train procs, sustained.
5
+ # Exits (stops watching) once the run has completed.
6
+ # Args: JOB CONFIG OUTPUT_DIR PROC_PAT TOTAL [NPROC]
7
+ set -u
8
+ JOB="$1"; CFG="$2"; OUTDIR="$3"; PROC_PAT="$4"; TOTAL="$5"; NPROC="${6:-4}"
9
+ BASE=/mloscratch/homes/navasard/sparse
10
+ SPA="$BASE/SparseAtt"
11
+ TR=/mloscratch/homes/navasard/conda/bin/torchrun
12
+ export HF_HOME=/mloscratch/homes/navasard/hf_cache
13
+ WLOG="$BASE/train_logs/wd_${JOB}.watch.log"
14
+ RUNLOG="$BASE/train_logs/wd_${JOB}.run.log"
15
+ LOCK="$BASE/train_logs/wd_${JOB}.lock"
16
+ DOWN_THRESHOLD=10 # x30s = 5 min sustained-dead before relaunch
17
+
18
+ log(){ echo "$(date -u +%Y-%m-%dT%H:%M:%SZ) $*" >> "$WLOG"; }
19
+
20
+ # ---- singleton guard ----
21
+ if [ -f "$LOCK" ]; then
22
+ oldpid=$(cat "$LOCK" 2>/dev/null || true)
23
+ if [ -n "${oldpid:-}" ] && kill -0 "$oldpid" 2>/dev/null; then
24
+ log "duplicate start: watchdog already running pid=$oldpid; exiting"; exit 0
25
+ fi
26
+ fi
27
+ echo $$ > "$LOCK"
28
+ log "=== watchdog start pid=$$ job=$JOB cfg=$CFG total=$TOTAL nproc=$NPROC ==="
29
+
30
+ latest_ckpt_step(){
31
+ ls -1d "$OUTDIR"/run_*/checkpoint-* 2>/dev/null \
32
+ | sed -E 's#.*/checkpoint-##' | grep -E '^[0-9]+$' | sort -n | tail -1
33
+ }
34
+
35
+ is_complete(){
36
+ # 1) explicit completion marker in any of this job's run logs
37
+ if grep -qs "Training complete!" "$BASE"/train_logs/*"${JOB}"*.log 2>/dev/null; then return 0; fi
38
+ # 2) a checkpoint at/after the final step exists
39
+ local s; s=$(latest_ckpt_step)
40
+ if [ -n "${s:-}" ] && [ "$s" -ge "$TOTAL" ] 2>/dev/null; then return 0; fi
41
+ return 1
42
+ }
43
+
44
+ n_procs(){ pgrep -f "$PROC_PAT" 2>/dev/null | grep -c '[0-9]'; }
45
+ n_gpu_apps(){ nvidia-smi --query-compute-apps=pid --format=csv,noheader 2>/dev/null | grep -c '[0-9]'; }
46
+
47
+ relaunch(){
48
+ cd "$SPA" || { log "ERR cd $SPA failed"; return 1; }
49
+ log "RELAUNCH torchrun nproc=$NPROC cfg=$CFG (latest ckpt step=$(latest_ckpt_step))"
50
+ setsid nohup "$TR" --standalone --nproc_per_node="$NPROC" train.py --config "$CFG" \
51
+ >> "$RUNLOG" 2>&1 < /dev/null &
52
+ sleep 240
53
+ if [ "$(n_procs)" -ge 1 ] && { [ "$(n_gpu_apps)" -ge 1 ] \
54
+ || grep -qE "Step [0-9]+/|Resuming from checkpoint|Starting training|New run:" "$RUNLOG" 2>/dev/null; }; then
55
+ log "RELAUNCH OK (procs=$(n_procs) gpu_apps=$(n_gpu_apps))"; return 0
56
+ fi
57
+ log "RELAUNCH FAILED (procs=$(n_procs) gpu_apps=$(n_gpu_apps)); runlog tail:"
58
+ tail -n 8 "$RUNLOG" >> "$WLOG" 2>/dev/null
59
+ return 1
60
+ }
61
+
62
+ zero=0
63
+ while true; do
64
+ if is_complete; then log "COMPLETE detected (ckpt step=$(latest_ckpt_step)); watchdog exiting"; rm -f "$LOCK"; exit 0; fi
65
+ procs=$(n_procs); apps=$(n_gpu_apps)
66
+ if [ "$procs" -eq 0 ] && [ "$apps" -eq 0 ]; then zero=$((zero+1)); else zero=0; fi
67
+ if [ "$zero" -ge "$DOWN_THRESHOLD" ]; then
68
+ log "SUSTAINED DEAD (${DOWN_THRESHOLD}x30s: procs=0 gpu_apps=0)"
69
+ if is_complete; then log "actually complete; exit"; rm -f "$LOCK"; exit 0; fi
70
+ ok=0
71
+ for a in 1 2 3; do
72
+ if relaunch; then ok=1; break; fi
73
+ log "relaunch attempt $a failed; retry in 60s"; sleep 60
74
+ done
75
+ [ "$ok" -eq 1 ] && log "recovered" || log "!!! RELAUNCH EXHAUSTED - manual action needed !!!"
76
+ zero=0
77
+ fi
78
+ sleep 30
79
+ done
epfl_final/train_logs/wd_dense30k.watch.log ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 2026-07-11T17:46:42Z === watchdog start pid=3542 job=dense30k cfg=configs/train_config_30k_dense_b128.json total=37465 nproc=4 ===
2
+ 2026-07-12T20:22:03Z COMPLETE detected (ckpt step=37465); watchdog exiting
epfl_final/train_logs/wd_fixed30k.watch.log ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 2026-07-13T03:17:36Z === watchdog start pid=252 job=fixed30k cfg=configs/train_config_30k_fixed_b128.json total=37465 nproc=4 ===
2
+ 2026-07-15T21:44:30Z COMPLETE detected (ckpt step=37465); watchdog exiting
epfl_final/train_logs/wd_resampled30k.watch.log ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 2026-07-11T17:47:03Z === watchdog start pid=6813 job=resampled30k cfg=configs/train_config_30k_resampled_b128.json total=37465 nproc=4 ===
2
+ 2026-07-13T19:12:57Z COMPLETE detected (ckpt step=37465); watchdog exiting