Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +36 -0
- generation_config.json +8 -0
- latest +1 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +299 -0
- rng_state_0.pth +3 -0
- rng_state_1.pth +3 -0
- rng_state_2.pth +3 -0
- rng_state_3.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +23 -0
- tokenizer.json +3 -0
- tokenizer_config.json +47 -0
- trainer_state.json +2414 -0
- training_args.bin +3 -0
- zero_to_fp32.py +760 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ArceeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 128000,
|
| 8 |
+
"eos_token_id": 128001,
|
| 9 |
+
"head_dim": 128,
|
| 10 |
+
"hidden_act": "relu2",
|
| 11 |
+
"hidden_size": 2560,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 18432,
|
| 14 |
+
"max_position_embeddings": 65536,
|
| 15 |
+
"mlp_bias": false,
|
| 16 |
+
"model_type": "arcee",
|
| 17 |
+
"num_attention_heads": 20,
|
| 18 |
+
"num_hidden_layers": 36,
|
| 19 |
+
"num_key_value_heads": 4,
|
| 20 |
+
"rms_norm_eps": 1e-05,
|
| 21 |
+
"rope_scaling": {
|
| 22 |
+
"beta_fast": 32.0,
|
| 23 |
+
"beta_slow": 1.0,
|
| 24 |
+
"factor": 20.0,
|
| 25 |
+
"mscale": 1.0,
|
| 26 |
+
"original_max_position_embeddings": 4096,
|
| 27 |
+
"rope_type": "yarn",
|
| 28 |
+
"type": "yarn"
|
| 29 |
+
},
|
| 30 |
+
"rope_theta": 10000.0,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"torch_dtype": "bfloat16",
|
| 33 |
+
"transformers_version": "4.55.0",
|
| 34 |
+
"use_cache": false,
|
| 35 |
+
"vocab_size": 128004
|
| 36 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 128000,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 128001,
|
| 6 |
+
"transformers_version": "4.55.0",
|
| 7 |
+
"use_cache": false
|
| 8 |
+
}
|
latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step238
|
model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:657e3aacd08d18144f553bab26bcbffb71920cd668ac2e29e047fd811b956a50
|
| 3 |
+
size 4965240752
|
model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0f31983fddea56d5ab63f637d88eb28b5bf59b936e5bf3617937b5f559b7e70
|
| 3 |
+
size 4273162352
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 186880,
|
| 4 |
+
"total_size": 9238369280
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00002-of-00002.safetensors",
|
| 8 |
+
"model.embed_tokens.weight": "model-00001-of-00002.safetensors",
|
| 9 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 10 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 17 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 18 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 19 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 20 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 21 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 22 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 23 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 24 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 25 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 26 |
+
"model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 27 |
+
"model.layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 28 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 29 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 30 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 31 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 32 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 33 |
+
"model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 34 |
+
"model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 35 |
+
"model.layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 36 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 37 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 38 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 39 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 40 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 41 |
+
"model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 42 |
+
"model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 43 |
+
"model.layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 44 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 45 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 46 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 47 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 48 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 49 |
+
"model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 50 |
+
"model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 51 |
+
"model.layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 52 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 53 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 54 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 55 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 56 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 57 |
+
"model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 58 |
+
"model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 59 |
+
"model.layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 60 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 61 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 62 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 63 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 64 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 65 |
+
"model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 66 |
+
"model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 67 |
+
"model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 68 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 69 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 70 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 71 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 72 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 73 |
+
"model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 74 |
+
"model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 75 |
+
"model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 76 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 77 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 78 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 79 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 80 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 81 |
+
"model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 82 |
+
"model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 83 |
+
"model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 84 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 85 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 86 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 87 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 88 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 89 |
+
"model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 90 |
+
"model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 91 |
+
"model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 92 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 93 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 94 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 95 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 96 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 97 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 98 |
+
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 99 |
+
"model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 100 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 101 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 102 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 103 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 104 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 105 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 106 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 107 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 108 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 109 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 110 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 111 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 112 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 113 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 114 |
+
"model.layers.20.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 115 |
+
"model.layers.20.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 116 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 117 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 118 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 119 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 120 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 121 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 122 |
+
"model.layers.21.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 123 |
+
"model.layers.21.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 124 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 125 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 126 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 127 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 128 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 129 |
+
"model.layers.22.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 130 |
+
"model.layers.22.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 131 |
+
"model.layers.22.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 132 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 133 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 134 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 135 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 136 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 137 |
+
"model.layers.23.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 138 |
+
"model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 139 |
+
"model.layers.23.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 140 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 141 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 142 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 143 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 144 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 145 |
+
"model.layers.24.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 146 |
+
"model.layers.24.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 147 |
+
"model.layers.24.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 148 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 149 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 150 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 151 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 152 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 153 |
+
"model.layers.25.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 154 |
+
"model.layers.25.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 155 |
+
"model.layers.25.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 156 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 157 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 158 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 159 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 160 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 161 |
+
"model.layers.26.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 162 |
+
"model.layers.26.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 163 |
+
"model.layers.26.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 164 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 165 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 166 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 167 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 168 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 169 |
+
"model.layers.27.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 170 |
+
"model.layers.27.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 171 |
+
"model.layers.27.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 172 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 173 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 174 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 175 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 176 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 177 |
+
"model.layers.28.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 178 |
+
"model.layers.28.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 179 |
+
"model.layers.28.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 180 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 181 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 182 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 183 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 184 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 185 |
+
"model.layers.29.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 186 |
+
"model.layers.29.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 187 |
+
"model.layers.29.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 188 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 189 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 190 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 191 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 192 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 193 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 194 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 195 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 196 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 197 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 198 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 199 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 200 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 201 |
+
"model.layers.30.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 202 |
+
"model.layers.30.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 203 |
+
"model.layers.30.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 204 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 205 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 206 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 207 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 208 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 209 |
+
"model.layers.31.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 210 |
+
"model.layers.31.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 211 |
+
"model.layers.31.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 212 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 213 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 214 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 215 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 216 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 217 |
+
"model.layers.32.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 218 |
+
"model.layers.32.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 219 |
+
"model.layers.32.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 220 |
+
"model.layers.32.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 221 |
+
"model.layers.32.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 222 |
+
"model.layers.32.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 223 |
+
"model.layers.32.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 224 |
+
"model.layers.32.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 225 |
+
"model.layers.33.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 226 |
+
"model.layers.33.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 227 |
+
"model.layers.33.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 228 |
+
"model.layers.33.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 229 |
+
"model.layers.33.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 230 |
+
"model.layers.33.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 231 |
+
"model.layers.33.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 232 |
+
"model.layers.33.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 233 |
+
"model.layers.34.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 234 |
+
"model.layers.34.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 235 |
+
"model.layers.34.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 236 |
+
"model.layers.34.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 237 |
+
"model.layers.34.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 238 |
+
"model.layers.34.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 239 |
+
"model.layers.34.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 240 |
+
"model.layers.34.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 241 |
+
"model.layers.35.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 242 |
+
"model.layers.35.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 243 |
+
"model.layers.35.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 244 |
+
"model.layers.35.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 245 |
+
"model.layers.35.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 246 |
+
"model.layers.35.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 247 |
+
"model.layers.35.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 248 |
+
"model.layers.35.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 249 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 250 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 251 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 252 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 253 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 254 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 255 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 256 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 257 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 258 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 259 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 260 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 261 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 262 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 263 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 264 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 265 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 266 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 267 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 268 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 269 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 270 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 271 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 272 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 273 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 274 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 275 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 276 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 277 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 278 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 279 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 280 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 281 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 282 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 283 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 284 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 285 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 286 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 287 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 288 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 289 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 290 |
+
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 291 |
+
"model.layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 292 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 293 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 294 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 295 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 296 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 297 |
+
"model.norm.weight": "model-00002-of-00002.safetensors"
|
| 298 |
+
}
|
| 299 |
+
}
|
rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9892a41432d4e48929c5376b8225d5373bb9afe9f14665fbcb3934dc45cb330a
|
| 3 |
+
size 15429
|
rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6f3949e2b25ad05905da16bc2d58aeadc9a9f1db0b0e97a04ceb63467acff1d
|
| 3 |
+
size 15429
|
rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c3812c5e7f13c9d32f97d83cd625428061b1c9486e869caffd453d83ac07ceb
|
| 3 |
+
size 15429
|
rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eda756b33768639c1e1932ae00c5d43269de5705c09162bc09acdf71d3533c0
|
| 3 |
+
size 15429
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2167771333f3651d3a9e822987a7a5fc9e8592122c6e569de0f5445a8d9b3690
|
| 3 |
+
size 1465
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin_of_text|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|end_of_text|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|end_of_text|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f7e8b61d1cb49d927a5f5aaeecdac9cb173cccb3ec1897cb5d7bb08bda54907
|
| 3 |
+
size 17157913
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"128000": {
|
| 4 |
+
"content": "<|begin_of_text|>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"128001": {
|
| 12 |
+
"content": "<|end_of_text|>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"128002": {
|
| 20 |
+
"content": "<|im_start|>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"128003": {
|
| 28 |
+
"content": "<|im_end|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"bos_token": "<|begin_of_text|>",
|
| 37 |
+
"clean_up_tokenization_spaces": true,
|
| 38 |
+
"eos_token": "<|end_of_text|>",
|
| 39 |
+
"extra_special_tokens": {},
|
| 40 |
+
"model_input_names": [
|
| 41 |
+
"input_ids",
|
| 42 |
+
"attention_mask"
|
| 43 |
+
],
|
| 44 |
+
"model_max_length": 65536,
|
| 45 |
+
"pad_token": "<|end_of_text|>",
|
| 46 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
| 47 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,2414 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.5002627430373096,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 238,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.0021019442984760903,
|
| 14 |
+
"grad_norm": 0.7624253401313755,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 2.2955,
|
| 17 |
+
"memory/device_mem_reserved(gib)": 68.22,
|
| 18 |
+
"memory/max_mem_active(gib)": 63.52,
|
| 19 |
+
"memory/max_mem_allocated(gib)": 62.82,
|
| 20 |
+
"step": 1
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.004203888596952181,
|
| 24 |
+
"grad_norm": 0.7189116302541813,
|
| 25 |
+
"learning_rate": 2e-08,
|
| 26 |
+
"loss": 2.2824,
|
| 27 |
+
"memory/device_mem_reserved(gib)": 68.31,
|
| 28 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 29 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 30 |
+
"step": 2
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.006305832895428271,
|
| 34 |
+
"grad_norm": 0.8431595274838072,
|
| 35 |
+
"learning_rate": 4e-08,
|
| 36 |
+
"loss": 2.3101,
|
| 37 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 38 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 39 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 40 |
+
"step": 3
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"epoch": 0.008407777193904361,
|
| 44 |
+
"grad_norm": 0.8637289443313003,
|
| 45 |
+
"learning_rate": 6e-08,
|
| 46 |
+
"loss": 2.3514,
|
| 47 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 48 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 49 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 50 |
+
"step": 4
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.010509721492380452,
|
| 54 |
+
"grad_norm": 0.8128827491990301,
|
| 55 |
+
"learning_rate": 8e-08,
|
| 56 |
+
"loss": 2.3621,
|
| 57 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 58 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 59 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 60 |
+
"step": 5
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 0.012611665790856543,
|
| 64 |
+
"grad_norm": 0.9504830158009488,
|
| 65 |
+
"learning_rate": 1e-07,
|
| 66 |
+
"loss": 2.4108,
|
| 67 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 68 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 69 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 70 |
+
"step": 6
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"epoch": 0.014713610089332634,
|
| 74 |
+
"grad_norm": 0.9140479063802851,
|
| 75 |
+
"learning_rate": 1.2e-07,
|
| 76 |
+
"loss": 2.2224,
|
| 77 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 78 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 79 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 80 |
+
"step": 7
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.016815554387808723,
|
| 84 |
+
"grad_norm": 0.8632210617655338,
|
| 85 |
+
"learning_rate": 1.4e-07,
|
| 86 |
+
"loss": 2.3589,
|
| 87 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 88 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 89 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 90 |
+
"step": 8
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"epoch": 0.018917498686284815,
|
| 94 |
+
"grad_norm": 0.8747745167339828,
|
| 95 |
+
"learning_rate": 1.6e-07,
|
| 96 |
+
"loss": 2.2411,
|
| 97 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 98 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 99 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 100 |
+
"step": 9
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.021019442984760904,
|
| 104 |
+
"grad_norm": 0.7739481898974889,
|
| 105 |
+
"learning_rate": 1.8e-07,
|
| 106 |
+
"loss": 2.2522,
|
| 107 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 108 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 109 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 110 |
+
"step": 10
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 0.023121387283236993,
|
| 114 |
+
"grad_norm": 0.8301921811025426,
|
| 115 |
+
"learning_rate": 2e-07,
|
| 116 |
+
"loss": 2.3565,
|
| 117 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 118 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 119 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 120 |
+
"step": 11
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"epoch": 0.025223331581713086,
|
| 124 |
+
"grad_norm": 0.7677035533090953,
|
| 125 |
+
"learning_rate": 2.1999999999999998e-07,
|
| 126 |
+
"loss": 2.2208,
|
| 127 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 128 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 129 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 130 |
+
"step": 12
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 0.027325275880189175,
|
| 134 |
+
"grad_norm": 0.7834629656153209,
|
| 135 |
+
"learning_rate": 2.4e-07,
|
| 136 |
+
"loss": 2.2526,
|
| 137 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 138 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 139 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 140 |
+
"step": 13
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"epoch": 0.029427220178665267,
|
| 144 |
+
"grad_norm": 0.776588932490268,
|
| 145 |
+
"learning_rate": 2.6e-07,
|
| 146 |
+
"loss": 2.2727,
|
| 147 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 148 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 149 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 150 |
+
"step": 14
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.03152916447714135,
|
| 154 |
+
"grad_norm": 0.7753598356301531,
|
| 155 |
+
"learning_rate": 2.8e-07,
|
| 156 |
+
"loss": 2.3564,
|
| 157 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 158 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 159 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 160 |
+
"step": 15
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"epoch": 0.033631108775617445,
|
| 164 |
+
"grad_norm": 0.7165697716264268,
|
| 165 |
+
"learning_rate": 3e-07,
|
| 166 |
+
"loss": 2.3331,
|
| 167 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 168 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 169 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 170 |
+
"step": 16
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 0.03573305307409354,
|
| 174 |
+
"grad_norm": 0.729205845829164,
|
| 175 |
+
"learning_rate": 3.2e-07,
|
| 176 |
+
"loss": 2.322,
|
| 177 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 178 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 179 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 180 |
+
"step": 17
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"epoch": 0.03783499737256963,
|
| 184 |
+
"grad_norm": 0.8495080537327478,
|
| 185 |
+
"learning_rate": 3.4000000000000003e-07,
|
| 186 |
+
"loss": 2.4952,
|
| 187 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 188 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 189 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 190 |
+
"step": 18
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"epoch": 0.039936941671045716,
|
| 194 |
+
"grad_norm": 0.7578372584471679,
|
| 195 |
+
"learning_rate": 3.6e-07,
|
| 196 |
+
"loss": 2.3132,
|
| 197 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 198 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 199 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 200 |
+
"step": 19
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.04203888596952181,
|
| 204 |
+
"grad_norm": 0.6681608647353537,
|
| 205 |
+
"learning_rate": 3.7999999999999996e-07,
|
| 206 |
+
"loss": 2.3086,
|
| 207 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 208 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 209 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 210 |
+
"step": 20
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 0.0441408302679979,
|
| 214 |
+
"grad_norm": 0.7042221303721394,
|
| 215 |
+
"learning_rate": 4e-07,
|
| 216 |
+
"loss": 2.3644,
|
| 217 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 218 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 219 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 220 |
+
"step": 21
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.046242774566473986,
|
| 224 |
+
"grad_norm": 0.725951911870576,
|
| 225 |
+
"learning_rate": 4.1999999999999995e-07,
|
| 226 |
+
"loss": 2.3208,
|
| 227 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 228 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 229 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 230 |
+
"step": 22
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"epoch": 0.04834471886495008,
|
| 234 |
+
"grad_norm": 0.6347256826610295,
|
| 235 |
+
"learning_rate": 4.3999999999999997e-07,
|
| 236 |
+
"loss": 2.328,
|
| 237 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 238 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 239 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 240 |
+
"step": 23
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"epoch": 0.05044666316342617,
|
| 244 |
+
"grad_norm": 0.5682080423503054,
|
| 245 |
+
"learning_rate": 4.6e-07,
|
| 246 |
+
"loss": 2.2008,
|
| 247 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 248 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 249 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 250 |
+
"step": 24
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 0.05254860746190226,
|
| 254 |
+
"grad_norm": 0.5787647024012217,
|
| 255 |
+
"learning_rate": 4.8e-07,
|
| 256 |
+
"loss": 2.2841,
|
| 257 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 258 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 259 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 260 |
+
"step": 25
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 0.05465055176037835,
|
| 264 |
+
"grad_norm": 0.5807941293103913,
|
| 265 |
+
"learning_rate": 5e-07,
|
| 266 |
+
"loss": 2.2661,
|
| 267 |
+
"memory/device_mem_reserved(gib)": 68.94,
|
| 268 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 269 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 270 |
+
"step": 26
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"epoch": 0.05675249605885444,
|
| 274 |
+
"grad_norm": 0.5238787661221586,
|
| 275 |
+
"learning_rate": 5.2e-07,
|
| 276 |
+
"loss": 2.292,
|
| 277 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 278 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 279 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 280 |
+
"step": 27
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"epoch": 0.058854440357330534,
|
| 284 |
+
"grad_norm": 0.6607378470156829,
|
| 285 |
+
"learning_rate": 5.4e-07,
|
| 286 |
+
"loss": 2.346,
|
| 287 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 288 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 289 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 290 |
+
"step": 28
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.06095638465580662,
|
| 294 |
+
"grad_norm": 0.5949442201958344,
|
| 295 |
+
"learning_rate": 5.6e-07,
|
| 296 |
+
"loss": 2.2856,
|
| 297 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 298 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 299 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 300 |
+
"step": 29
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"epoch": 0.0630583289542827,
|
| 304 |
+
"grad_norm": 0.6213907595973902,
|
| 305 |
+
"learning_rate": 5.8e-07,
|
| 306 |
+
"loss": 2.3527,
|
| 307 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 308 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 309 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 310 |
+
"step": 30
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"epoch": 0.0651602732527588,
|
| 314 |
+
"grad_norm": 0.6574213245120029,
|
| 315 |
+
"learning_rate": 6e-07,
|
| 316 |
+
"loss": 2.2896,
|
| 317 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 318 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 319 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 320 |
+
"step": 31
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"epoch": 0.06726221755123489,
|
| 324 |
+
"grad_norm": 0.7904069125236015,
|
| 325 |
+
"learning_rate": 6.2e-07,
|
| 326 |
+
"loss": 2.4192,
|
| 327 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 328 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 329 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 330 |
+
"step": 32
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"epoch": 0.06936416184971098,
|
| 334 |
+
"grad_norm": 0.6912774106481298,
|
| 335 |
+
"learning_rate": 6.4e-07,
|
| 336 |
+
"loss": 2.3085,
|
| 337 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 338 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 339 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 340 |
+
"step": 33
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"epoch": 0.07146610614818708,
|
| 344 |
+
"grad_norm": 0.6819796440725628,
|
| 345 |
+
"learning_rate": 6.6e-07,
|
| 346 |
+
"loss": 2.2756,
|
| 347 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 348 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 349 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 350 |
+
"step": 34
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"epoch": 0.07356805044666316,
|
| 354 |
+
"grad_norm": 0.7580978517321655,
|
| 355 |
+
"learning_rate": 6.800000000000001e-07,
|
| 356 |
+
"loss": 2.3645,
|
| 357 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 358 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 359 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 360 |
+
"step": 35
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 0.07566999474513926,
|
| 364 |
+
"grad_norm": 0.6791446776516942,
|
| 365 |
+
"learning_rate": 7e-07,
|
| 366 |
+
"loss": 2.2628,
|
| 367 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 368 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 369 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 370 |
+
"step": 36
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"epoch": 0.07777193904361535,
|
| 374 |
+
"grad_norm": 0.569840280711906,
|
| 375 |
+
"learning_rate": 7.2e-07,
|
| 376 |
+
"loss": 2.2602,
|
| 377 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 378 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 379 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 380 |
+
"step": 37
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"epoch": 0.07987388334209143,
|
| 384 |
+
"grad_norm": 0.5498888556096215,
|
| 385 |
+
"learning_rate": 7.4e-07,
|
| 386 |
+
"loss": 2.3167,
|
| 387 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 388 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 389 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 390 |
+
"step": 38
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"epoch": 0.08197582764056753,
|
| 394 |
+
"grad_norm": 0.5268765090754575,
|
| 395 |
+
"learning_rate": 7.599999999999999e-07,
|
| 396 |
+
"loss": 2.2378,
|
| 397 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 398 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 399 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 400 |
+
"step": 39
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"epoch": 0.08407777193904362,
|
| 404 |
+
"grad_norm": 0.4848125502462646,
|
| 405 |
+
"learning_rate": 7.799999999999999e-07,
|
| 406 |
+
"loss": 2.2882,
|
| 407 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 408 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 409 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 410 |
+
"step": 40
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"epoch": 0.0861797162375197,
|
| 414 |
+
"grad_norm": 0.5814992292096023,
|
| 415 |
+
"learning_rate": 8e-07,
|
| 416 |
+
"loss": 2.3471,
|
| 417 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 418 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 419 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 420 |
+
"step": 41
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"epoch": 0.0882816605359958,
|
| 424 |
+
"grad_norm": 0.6166392360245904,
|
| 425 |
+
"learning_rate": 8.199999999999999e-07,
|
| 426 |
+
"loss": 2.441,
|
| 427 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 428 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 429 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 430 |
+
"step": 42
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 0.09038360483447189,
|
| 434 |
+
"grad_norm": 0.6377322312855411,
|
| 435 |
+
"learning_rate": 8.399999999999999e-07,
|
| 436 |
+
"loss": 2.3912,
|
| 437 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 438 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 439 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 440 |
+
"step": 43
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"epoch": 0.09248554913294797,
|
| 444 |
+
"grad_norm": 0.5055719418643514,
|
| 445 |
+
"learning_rate": 8.599999999999999e-07,
|
| 446 |
+
"loss": 2.2561,
|
| 447 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 448 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 449 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 450 |
+
"step": 44
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"epoch": 0.09458749343142407,
|
| 454 |
+
"grad_norm": 0.49178646668795084,
|
| 455 |
+
"learning_rate": 8.799999999999999e-07,
|
| 456 |
+
"loss": 2.2599,
|
| 457 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 458 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 459 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 460 |
+
"step": 45
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"epoch": 0.09668943772990016,
|
| 464 |
+
"grad_norm": 0.47537370207387974,
|
| 465 |
+
"learning_rate": 9e-07,
|
| 466 |
+
"loss": 2.3064,
|
| 467 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 468 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 469 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 470 |
+
"step": 46
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"epoch": 0.09879138202837624,
|
| 474 |
+
"grad_norm": 0.5089053853006482,
|
| 475 |
+
"learning_rate": 9.2e-07,
|
| 476 |
+
"loss": 2.391,
|
| 477 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 478 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 479 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 480 |
+
"step": 47
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"epoch": 0.10089332632685234,
|
| 484 |
+
"grad_norm": 0.4728302009023318,
|
| 485 |
+
"learning_rate": 9.399999999999999e-07,
|
| 486 |
+
"loss": 2.3139,
|
| 487 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 488 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 489 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 490 |
+
"step": 48
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"epoch": 0.10299527062532843,
|
| 494 |
+
"grad_norm": 0.4974785018291372,
|
| 495 |
+
"learning_rate": 9.6e-07,
|
| 496 |
+
"loss": 2.3599,
|
| 497 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 498 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 499 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 500 |
+
"step": 49
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"epoch": 0.10509721492380451,
|
| 504 |
+
"grad_norm": 0.5140106787374947,
|
| 505 |
+
"learning_rate": 9.8e-07,
|
| 506 |
+
"loss": 2.4427,
|
| 507 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 508 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 509 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 510 |
+
"step": 50
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"epoch": 0.10719915922228061,
|
| 514 |
+
"grad_norm": 0.5361457578321233,
|
| 515 |
+
"learning_rate": 1e-06,
|
| 516 |
+
"loss": 2.3295,
|
| 517 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 518 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 519 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 520 |
+
"step": 51
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"epoch": 0.1093011035207567,
|
| 524 |
+
"grad_norm": 0.49844160829734835,
|
| 525 |
+
"learning_rate": 9.999863397100894e-07,
|
| 526 |
+
"loss": 2.2672,
|
| 527 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 528 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 529 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 530 |
+
"step": 52
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"epoch": 0.11140304781923278,
|
| 534 |
+
"grad_norm": 0.5385578770440957,
|
| 535 |
+
"learning_rate": 9.999453595867715e-07,
|
| 536 |
+
"loss": 2.3261,
|
| 537 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 538 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 539 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 540 |
+
"step": 53
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"epoch": 0.11350499211770888,
|
| 544 |
+
"grad_norm": 0.497092836247932,
|
| 545 |
+
"learning_rate": 9.998770618692484e-07,
|
| 546 |
+
"loss": 2.3326,
|
| 547 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 548 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 549 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 550 |
+
"step": 54
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"epoch": 0.11560693641618497,
|
| 554 |
+
"grad_norm": 0.539870187568986,
|
| 555 |
+
"learning_rate": 9.997814502893856e-07,
|
| 556 |
+
"loss": 2.2381,
|
| 557 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 558 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 559 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 560 |
+
"step": 55
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"epoch": 0.11770888071466107,
|
| 564 |
+
"grad_norm": 0.5073884711048833,
|
| 565 |
+
"learning_rate": 9.996585300715115e-07,
|
| 566 |
+
"loss": 2.3122,
|
| 567 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 568 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 569 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 570 |
+
"step": 56
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 0.11981082501313715,
|
| 574 |
+
"grad_norm": 0.5162826315178152,
|
| 575 |
+
"learning_rate": 9.99508307932129e-07,
|
| 576 |
+
"loss": 2.2719,
|
| 577 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 578 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 579 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 580 |
+
"step": 57
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"epoch": 0.12191276931161324,
|
| 584 |
+
"grad_norm": 0.5135640558488429,
|
| 585 |
+
"learning_rate": 9.9933079207955e-07,
|
| 586 |
+
"loss": 2.4354,
|
| 587 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 588 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 589 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 590 |
+
"step": 58
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"epoch": 0.12401471361008934,
|
| 594 |
+
"grad_norm": 0.48495138081284994,
|
| 595 |
+
"learning_rate": 9.991259922134465e-07,
|
| 596 |
+
"loss": 2.2913,
|
| 597 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 598 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 599 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 600 |
+
"step": 59
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"epoch": 0.1261166579085654,
|
| 604 |
+
"grad_norm": 0.5031121760605395,
|
| 605 |
+
"learning_rate": 9.98893919524321e-07,
|
| 606 |
+
"loss": 2.293,
|
| 607 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 608 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 609 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 610 |
+
"step": 60
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"epoch": 0.1282186022070415,
|
| 614 |
+
"grad_norm": 0.4053272758920918,
|
| 615 |
+
"learning_rate": 9.98634586692894e-07,
|
| 616 |
+
"loss": 2.2873,
|
| 617 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 618 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 619 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 620 |
+
"step": 61
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"epoch": 0.1303205465055176,
|
| 624 |
+
"grad_norm": 0.4532646932853173,
|
| 625 |
+
"learning_rate": 9.983480078894123e-07,
|
| 626 |
+
"loss": 2.3065,
|
| 627 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 628 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 629 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 630 |
+
"step": 62
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"epoch": 0.13242249080399368,
|
| 634 |
+
"grad_norm": 0.4496821436560576,
|
| 635 |
+
"learning_rate": 9.98034198772874e-07,
|
| 636 |
+
"loss": 2.2886,
|
| 637 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 638 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 639 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 640 |
+
"step": 63
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"epoch": 0.13452443510246978,
|
| 644 |
+
"grad_norm": 0.48430661978532813,
|
| 645 |
+
"learning_rate": 9.976931764901733e-07,
|
| 646 |
+
"loss": 2.3404,
|
| 647 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 648 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 649 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 650 |
+
"step": 64
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"epoch": 0.13662637940094588,
|
| 654 |
+
"grad_norm": 0.5163168950805126,
|
| 655 |
+
"learning_rate": 9.97324959675163e-07,
|
| 656 |
+
"loss": 2.286,
|
| 657 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 658 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 659 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 660 |
+
"step": 65
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"epoch": 0.13872832369942195,
|
| 664 |
+
"grad_norm": 0.4385342628062273,
|
| 665 |
+
"learning_rate": 9.969295684476368e-07,
|
| 666 |
+
"loss": 2.2923,
|
| 667 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 668 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 669 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 670 |
+
"step": 66
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"epoch": 0.14083026799789805,
|
| 674 |
+
"grad_norm": 0.4476245967273303,
|
| 675 |
+
"learning_rate": 9.9650702441223e-07,
|
| 676 |
+
"loss": 2.2454,
|
| 677 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 678 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 679 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 680 |
+
"step": 67
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"epoch": 0.14293221229637415,
|
| 684 |
+
"grad_norm": 0.4493507785126621,
|
| 685 |
+
"learning_rate": 9.960573506572389e-07,
|
| 686 |
+
"loss": 2.3361,
|
| 687 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 688 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 689 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 690 |
+
"step": 68
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"epoch": 0.14503415659485025,
|
| 694 |
+
"grad_norm": 0.4676473798188462,
|
| 695 |
+
"learning_rate": 9.955805717533585e-07,
|
| 696 |
+
"loss": 2.3795,
|
| 697 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 698 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 699 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 700 |
+
"step": 69
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"epoch": 0.14713610089332632,
|
| 704 |
+
"grad_norm": 0.5003504816633514,
|
| 705 |
+
"learning_rate": 9.950767137523416e-07,
|
| 706 |
+
"loss": 2.3638,
|
| 707 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 708 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 709 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 710 |
+
"step": 70
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 0.14923804519180242,
|
| 714 |
+
"grad_norm": 0.41298653135277646,
|
| 715 |
+
"learning_rate": 9.94545804185573e-07,
|
| 716 |
+
"loss": 2.2986,
|
| 717 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 718 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 719 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 720 |
+
"step": 71
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"epoch": 0.15133998949027852,
|
| 724 |
+
"grad_norm": 0.48549576119983434,
|
| 725 |
+
"learning_rate": 9.939878720625673e-07,
|
| 726 |
+
"loss": 2.3772,
|
| 727 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 728 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 729 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 730 |
+
"step": 72
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"epoch": 0.1534419337887546,
|
| 734 |
+
"grad_norm": 0.37069853589006974,
|
| 735 |
+
"learning_rate": 9.93402947869383e-07,
|
| 736 |
+
"loss": 2.2609,
|
| 737 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 738 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 739 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 740 |
+
"step": 73
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"epoch": 0.1555438780872307,
|
| 744 |
+
"grad_norm": 0.3822824223589903,
|
| 745 |
+
"learning_rate": 9.927910635669561e-07,
|
| 746 |
+
"loss": 2.3263,
|
| 747 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 748 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 749 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 750 |
+
"step": 74
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"epoch": 0.1576458223857068,
|
| 754 |
+
"grad_norm": 0.4645424064190486,
|
| 755 |
+
"learning_rate": 9.921522525893547e-07,
|
| 756 |
+
"loss": 2.421,
|
| 757 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 758 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 759 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 760 |
+
"step": 75
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"epoch": 0.15974776668418286,
|
| 764 |
+
"grad_norm": 0.40728550126377283,
|
| 765 |
+
"learning_rate": 9.91486549841951e-07,
|
| 766 |
+
"loss": 2.3488,
|
| 767 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 768 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 769 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 770 |
+
"step": 76
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"epoch": 0.16184971098265896,
|
| 774 |
+
"grad_norm": 0.39534534329560483,
|
| 775 |
+
"learning_rate": 9.907939916995152e-07,
|
| 776 |
+
"loss": 2.2277,
|
| 777 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 778 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 779 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 780 |
+
"step": 77
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"epoch": 0.16395165528113506,
|
| 784 |
+
"grad_norm": 0.3994213467776548,
|
| 785 |
+
"learning_rate": 9.900746160042272e-07,
|
| 786 |
+
"loss": 2.3751,
|
| 787 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 788 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 789 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 790 |
+
"step": 78
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"epoch": 0.16605359957961113,
|
| 794 |
+
"grad_norm": 0.3952978443639354,
|
| 795 |
+
"learning_rate": 9.893284620636098e-07,
|
| 796 |
+
"loss": 2.3407,
|
| 797 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 798 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 799 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 800 |
+
"step": 79
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"epoch": 0.16815554387808723,
|
| 804 |
+
"grad_norm": 0.3847266788854899,
|
| 805 |
+
"learning_rate": 9.88555570648379e-07,
|
| 806 |
+
"loss": 2.2882,
|
| 807 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 808 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 809 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 810 |
+
"step": 80
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"epoch": 0.17025748817656333,
|
| 814 |
+
"grad_norm": 0.3942404109616697,
|
| 815 |
+
"learning_rate": 9.877559839902183e-07,
|
| 816 |
+
"loss": 2.3809,
|
| 817 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 818 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 819 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 820 |
+
"step": 81
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"epoch": 0.1723594324750394,
|
| 824 |
+
"grad_norm": 0.3726144315608755,
|
| 825 |
+
"learning_rate": 9.869297457794698e-07,
|
| 826 |
+
"loss": 2.2965,
|
| 827 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 828 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 829 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 830 |
+
"step": 82
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"epoch": 0.1744613767735155,
|
| 834 |
+
"grad_norm": 0.4044669149844896,
|
| 835 |
+
"learning_rate": 9.860769011627474e-07,
|
| 836 |
+
"loss": 2.3778,
|
| 837 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 838 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 839 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 840 |
+
"step": 83
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"epoch": 0.1765633210719916,
|
| 844 |
+
"grad_norm": 0.44263984303122605,
|
| 845 |
+
"learning_rate": 9.851974967404702e-07,
|
| 846 |
+
"loss": 2.3655,
|
| 847 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 848 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 849 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 850 |
+
"step": 84
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 0.17866526537046767,
|
| 854 |
+
"grad_norm": 0.3800348736088796,
|
| 855 |
+
"learning_rate": 9.842915805643156e-07,
|
| 856 |
+
"loss": 2.2951,
|
| 857 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 858 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 859 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 860 |
+
"step": 85
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"epoch": 0.18076720966894377,
|
| 864 |
+
"grad_norm": 0.38644114608168073,
|
| 865 |
+
"learning_rate": 9.833592021345937e-07,
|
| 866 |
+
"loss": 2.3567,
|
| 867 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 868 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 869 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 870 |
+
"step": 86
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"epoch": 0.18286915396741987,
|
| 874 |
+
"grad_norm": 0.5360672745714498,
|
| 875 |
+
"learning_rate": 9.824004123975434e-07,
|
| 876 |
+
"loss": 2.3769,
|
| 877 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 878 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 879 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 880 |
+
"step": 87
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"epoch": 0.18497109826589594,
|
| 884 |
+
"grad_norm": 0.3826183850679395,
|
| 885 |
+
"learning_rate": 9.814152637425477e-07,
|
| 886 |
+
"loss": 2.2676,
|
| 887 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 888 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 889 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 890 |
+
"step": 88
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"epoch": 0.18707304256437204,
|
| 894 |
+
"grad_norm": 0.3874657198676833,
|
| 895 |
+
"learning_rate": 9.804038099992716e-07,
|
| 896 |
+
"loss": 2.2044,
|
| 897 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 898 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 899 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 900 |
+
"step": 89
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"epoch": 0.18917498686284814,
|
| 904 |
+
"grad_norm": 0.42284650951618596,
|
| 905 |
+
"learning_rate": 9.793661064347204e-07,
|
| 906 |
+
"loss": 2.2791,
|
| 907 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 908 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 909 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 910 |
+
"step": 90
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"epoch": 0.19127693116132422,
|
| 914 |
+
"grad_norm": 0.4012146632153047,
|
| 915 |
+
"learning_rate": 9.783022097502203e-07,
|
| 916 |
+
"loss": 2.2554,
|
| 917 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 918 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 919 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 920 |
+
"step": 91
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"epoch": 0.19337887545980031,
|
| 924 |
+
"grad_norm": 0.37104574503246424,
|
| 925 |
+
"learning_rate": 9.772121780783201e-07,
|
| 926 |
+
"loss": 2.2696,
|
| 927 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 928 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 929 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 930 |
+
"step": 92
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"epoch": 0.19548081975827641,
|
| 934 |
+
"grad_norm": 0.4115506199685101,
|
| 935 |
+
"learning_rate": 9.76096070979614e-07,
|
| 936 |
+
"loss": 2.292,
|
| 937 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 938 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 939 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 940 |
+
"step": 93
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"epoch": 0.19758276405675249,
|
| 944 |
+
"grad_norm": 0.4949212386577297,
|
| 945 |
+
"learning_rate": 9.749539494394885e-07,
|
| 946 |
+
"loss": 2.3154,
|
| 947 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 948 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 949 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 950 |
+
"step": 94
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"epoch": 0.19968470835522859,
|
| 954 |
+
"grad_norm": 0.5305093079330326,
|
| 955 |
+
"learning_rate": 9.737858758647889e-07,
|
| 956 |
+
"loss": 2.3967,
|
| 957 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 958 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 959 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 960 |
+
"step": 95
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"epoch": 0.20178665265370468,
|
| 964 |
+
"grad_norm": 0.39802845026570083,
|
| 965 |
+
"learning_rate": 9.725919140804098e-07,
|
| 966 |
+
"loss": 2.3833,
|
| 967 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 968 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 969 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 970 |
+
"step": 96
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"epoch": 0.20388859695218076,
|
| 974 |
+
"grad_norm": 0.392517153138478,
|
| 975 |
+
"learning_rate": 9.713721293258078e-07,
|
| 976 |
+
"loss": 2.3458,
|
| 977 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 978 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 979 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 980 |
+
"step": 97
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"epoch": 0.20599054125065686,
|
| 984 |
+
"grad_norm": 0.38285765355194634,
|
| 985 |
+
"learning_rate": 9.70126588251436e-07,
|
| 986 |
+
"loss": 2.2321,
|
| 987 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 988 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 989 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 990 |
+
"step": 98
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"epoch": 0.20809248554913296,
|
| 994 |
+
"grad_norm": 0.42890083185292094,
|
| 995 |
+
"learning_rate": 9.688553589151037e-07,
|
| 996 |
+
"loss": 2.2823,
|
| 997 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 998 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 999 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1000 |
+
"step": 99
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"epoch": 0.21019442984760903,
|
| 1004 |
+
"grad_norm": 0.3788992789108253,
|
| 1005 |
+
"learning_rate": 9.675585107782555e-07,
|
| 1006 |
+
"loss": 2.2955,
|
| 1007 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1008 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1009 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1010 |
+
"step": 100
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"epoch": 0.21229637414608513,
|
| 1014 |
+
"grad_norm": 0.40025954957804155,
|
| 1015 |
+
"learning_rate": 9.66236114702178e-07,
|
| 1016 |
+
"loss": 2.3454,
|
| 1017 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1018 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1019 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1020 |
+
"step": 101
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"epoch": 0.21439831844456123,
|
| 1024 |
+
"grad_norm": 0.4040329751371346,
|
| 1025 |
+
"learning_rate": 9.648882429441256e-07,
|
| 1026 |
+
"loss": 2.3362,
|
| 1027 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1028 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1029 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1030 |
+
"step": 102
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"epoch": 0.2165002627430373,
|
| 1034 |
+
"grad_norm": 0.35667806143435715,
|
| 1035 |
+
"learning_rate": 9.635149691533747e-07,
|
| 1036 |
+
"loss": 2.3089,
|
| 1037 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1038 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1039 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1040 |
+
"step": 103
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"epoch": 0.2186022070415134,
|
| 1044 |
+
"grad_norm": 0.42503183804867145,
|
| 1045 |
+
"learning_rate": 9.621163683671978e-07,
|
| 1046 |
+
"loss": 2.3024,
|
| 1047 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1048 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1049 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1050 |
+
"step": 104
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"epoch": 0.2207041513399895,
|
| 1054 |
+
"grad_norm": 0.3833710476470682,
|
| 1055 |
+
"learning_rate": 9.606925170067636e-07,
|
| 1056 |
+
"loss": 2.2944,
|
| 1057 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1058 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1059 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1060 |
+
"step": 105
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"epoch": 0.22280609563846557,
|
| 1064 |
+
"grad_norm": 0.38645757625412946,
|
| 1065 |
+
"learning_rate": 9.592434928729615e-07,
|
| 1066 |
+
"loss": 2.2595,
|
| 1067 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1068 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1069 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1070 |
+
"step": 106
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"epoch": 0.22490803993694167,
|
| 1074 |
+
"grad_norm": 0.37424692884672933,
|
| 1075 |
+
"learning_rate": 9.577693751421505e-07,
|
| 1076 |
+
"loss": 2.3025,
|
| 1077 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1078 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1079 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1080 |
+
"step": 107
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"epoch": 0.22700998423541777,
|
| 1084 |
+
"grad_norm": 0.3776781851494623,
|
| 1085 |
+
"learning_rate": 9.562702443618331e-07,
|
| 1086 |
+
"loss": 2.2724,
|
| 1087 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1088 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1089 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1090 |
+
"step": 108
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"epoch": 0.22911192853389384,
|
| 1094 |
+
"grad_norm": 0.392564325121222,
|
| 1095 |
+
"learning_rate": 9.547461824462533e-07,
|
| 1096 |
+
"loss": 2.3737,
|
| 1097 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1098 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1099 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1100 |
+
"step": 109
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"epoch": 0.23121387283236994,
|
| 1104 |
+
"grad_norm": 0.3480699195596026,
|
| 1105 |
+
"learning_rate": 9.531972726719215e-07,
|
| 1106 |
+
"loss": 2.2591,
|
| 1107 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1108 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1109 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1110 |
+
"step": 110
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"epoch": 0.23331581713084604,
|
| 1114 |
+
"grad_norm": 0.3563697131151561,
|
| 1115 |
+
"learning_rate": 9.516235996730644e-07,
|
| 1116 |
+
"loss": 2.3639,
|
| 1117 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1118 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1119 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1120 |
+
"step": 111
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"epoch": 0.23541776142932214,
|
| 1124 |
+
"grad_norm": 0.4943435915920374,
|
| 1125 |
+
"learning_rate": 9.500252494369991e-07,
|
| 1126 |
+
"loss": 2.3605,
|
| 1127 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1128 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1129 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1130 |
+
"step": 112
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"epoch": 0.2375197057277982,
|
| 1134 |
+
"grad_norm": 0.3975018845059572,
|
| 1135 |
+
"learning_rate": 9.484023092994364e-07,
|
| 1136 |
+
"loss": 2.4139,
|
| 1137 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1138 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1139 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1140 |
+
"step": 113
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"epoch": 0.2396216500262743,
|
| 1144 |
+
"grad_norm": 0.37314820478206834,
|
| 1145 |
+
"learning_rate": 9.467548679397071e-07,
|
| 1146 |
+
"loss": 2.293,
|
| 1147 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1148 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1149 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1150 |
+
"step": 114
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"epoch": 0.2417235943247504,
|
| 1154 |
+
"grad_norm": 0.39240855452269136,
|
| 1155 |
+
"learning_rate": 9.450830153759176e-07,
|
| 1156 |
+
"loss": 2.3568,
|
| 1157 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1158 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1159 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1160 |
+
"step": 115
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"epoch": 0.24382553862322648,
|
| 1164 |
+
"grad_norm": 0.36202032847414545,
|
| 1165 |
+
"learning_rate": 9.433868429600309e-07,
|
| 1166 |
+
"loss": 2.36,
|
| 1167 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1168 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1169 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1170 |
+
"step": 116
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"epoch": 0.24592748292170258,
|
| 1174 |
+
"grad_norm": 0.3852500669591038,
|
| 1175 |
+
"learning_rate": 9.416664433728748e-07,
|
| 1176 |
+
"loss": 2.335,
|
| 1177 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1178 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1179 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1180 |
+
"step": 117
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"epoch": 0.24802942722017868,
|
| 1184 |
+
"grad_norm": 0.35255828976101133,
|
| 1185 |
+
"learning_rate": 9.399219106190775e-07,
|
| 1186 |
+
"loss": 2.3367,
|
| 1187 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1188 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1189 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1190 |
+
"step": 118
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"epoch": 0.2501313715186548,
|
| 1194 |
+
"grad_norm": 0.4145689168519548,
|
| 1195 |
+
"learning_rate": 9.381533400219317e-07,
|
| 1196 |
+
"loss": 2.3807,
|
| 1197 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1198 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1199 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1200 |
+
"step": 119
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"epoch": 0.2522333158171308,
|
| 1204 |
+
"grad_norm": 0.3638037446306906,
|
| 1205 |
+
"learning_rate": 9.363608282181861e-07,
|
| 1206 |
+
"loss": 2.2441,
|
| 1207 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1208 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1209 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1210 |
+
"step": 120
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"epoch": 0.2543352601156069,
|
| 1214 |
+
"grad_norm": 0.3892269635122991,
|
| 1215 |
+
"learning_rate": 9.345444731527641e-07,
|
| 1216 |
+
"loss": 2.3285,
|
| 1217 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1218 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1219 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1220 |
+
"step": 121
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"epoch": 0.256437204414083,
|
| 1224 |
+
"grad_norm": 0.3848382071231666,
|
| 1225 |
+
"learning_rate": 9.327043740734128e-07,
|
| 1226 |
+
"loss": 2.2713,
|
| 1227 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1228 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1229 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1230 |
+
"step": 122
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"epoch": 0.2585391487125591,
|
| 1234 |
+
"grad_norm": 0.3602411460013298,
|
| 1235 |
+
"learning_rate": 9.308406315252798e-07,
|
| 1236 |
+
"loss": 2.32,
|
| 1237 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1238 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1239 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1240 |
+
"step": 123
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"epoch": 0.2606410930110352,
|
| 1244 |
+
"grad_norm": 0.36833348877975325,
|
| 1245 |
+
"learning_rate": 9.289533473454192e-07,
|
| 1246 |
+
"loss": 2.1967,
|
| 1247 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1248 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1249 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1250 |
+
"step": 124
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"epoch": 0.2627430373095113,
|
| 1254 |
+
"grad_norm": 0.3585772049526573,
|
| 1255 |
+
"learning_rate": 9.270426246572272e-07,
|
| 1256 |
+
"loss": 2.3642,
|
| 1257 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1258 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1259 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1260 |
+
"step": 125
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"epoch": 0.26484498160798736,
|
| 1264 |
+
"grad_norm": 0.34020805834208123,
|
| 1265 |
+
"learning_rate": 9.251085678648071e-07,
|
| 1266 |
+
"loss": 2.237,
|
| 1267 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1268 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1269 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1270 |
+
"step": 126
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"epoch": 0.26694692590646346,
|
| 1274 |
+
"grad_norm": 0.38311234004852174,
|
| 1275 |
+
"learning_rate": 9.23151282647265e-07,
|
| 1276 |
+
"loss": 2.2439,
|
| 1277 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1278 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1279 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1280 |
+
"step": 127
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"epoch": 0.26904887020493956,
|
| 1284 |
+
"grad_norm": 0.40490379874064303,
|
| 1285 |
+
"learning_rate": 9.211708759529346e-07,
|
| 1286 |
+
"loss": 2.3447,
|
| 1287 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1288 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1289 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1290 |
+
"step": 128
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"epoch": 0.27115081450341566,
|
| 1294 |
+
"grad_norm": 0.38814226346705333,
|
| 1295 |
+
"learning_rate": 9.191674559935347e-07,
|
| 1296 |
+
"loss": 2.2642,
|
| 1297 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1298 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1299 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1300 |
+
"step": 129
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"epoch": 0.27325275880189176,
|
| 1304 |
+
"grad_norm": 0.392535018684069,
|
| 1305 |
+
"learning_rate": 9.171411322382551e-07,
|
| 1306 |
+
"loss": 2.4222,
|
| 1307 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1308 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1309 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1310 |
+
"step": 130
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"epoch": 0.27535470310036786,
|
| 1314 |
+
"grad_norm": 0.36293069595975763,
|
| 1315 |
+
"learning_rate": 9.150920154077753e-07,
|
| 1316 |
+
"loss": 2.2375,
|
| 1317 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1318 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1319 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1320 |
+
"step": 131
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"epoch": 0.2774566473988439,
|
| 1324 |
+
"grad_norm": 0.3827224228744126,
|
| 1325 |
+
"learning_rate": 9.130202174682153e-07,
|
| 1326 |
+
"loss": 2.3121,
|
| 1327 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1328 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1329 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1330 |
+
"step": 132
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"epoch": 0.27955859169732,
|
| 1334 |
+
"grad_norm": 0.39154739093650776,
|
| 1335 |
+
"learning_rate": 9.109258516250171e-07,
|
| 1336 |
+
"loss": 2.3246,
|
| 1337 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1338 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1339 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1340 |
+
"step": 133
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"epoch": 0.2816605359957961,
|
| 1344 |
+
"grad_norm": 0.35430283896633147,
|
| 1345 |
+
"learning_rate": 9.08809032316759e-07,
|
| 1346 |
+
"loss": 2.2922,
|
| 1347 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1348 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1349 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1350 |
+
"step": 134
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"epoch": 0.2837624802942722,
|
| 1354 |
+
"grad_norm": 0.39840449294712393,
|
| 1355 |
+
"learning_rate": 9.066698752089028e-07,
|
| 1356 |
+
"loss": 2.34,
|
| 1357 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1358 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1359 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1360 |
+
"step": 135
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"epoch": 0.2858644245927483,
|
| 1364 |
+
"grad_norm": 0.3657527770786503,
|
| 1365 |
+
"learning_rate": 9.045084971874737e-07,
|
| 1366 |
+
"loss": 2.3127,
|
| 1367 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1368 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1369 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1370 |
+
"step": 136
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"epoch": 0.2879663688912244,
|
| 1374 |
+
"grad_norm": 0.40390275500061623,
|
| 1375 |
+
"learning_rate": 9.02325016352673e-07,
|
| 1376 |
+
"loss": 2.2761,
|
| 1377 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1378 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1379 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1380 |
+
"step": 137
|
| 1381 |
+
},
|
| 1382 |
+
{
|
| 1383 |
+
"epoch": 0.2900683131897005,
|
| 1384 |
+
"grad_norm": 0.3486049947257035,
|
| 1385 |
+
"learning_rate": 9.001195520124255e-07,
|
| 1386 |
+
"loss": 2.2909,
|
| 1387 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1388 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1389 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1390 |
+
"step": 138
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"epoch": 0.29217025748817654,
|
| 1394 |
+
"grad_norm": 0.369271223650673,
|
| 1395 |
+
"learning_rate": 8.978922246758606e-07,
|
| 1396 |
+
"loss": 2.3146,
|
| 1397 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1398 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1399 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1400 |
+
"step": 139
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"epoch": 0.29427220178665264,
|
| 1404 |
+
"grad_norm": 0.34559908408986584,
|
| 1405 |
+
"learning_rate": 8.956431560467266e-07,
|
| 1406 |
+
"loss": 2.3861,
|
| 1407 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1408 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1409 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1410 |
+
"step": 140
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"epoch": 0.29637414608512874,
|
| 1414 |
+
"grad_norm": 0.40663130251420515,
|
| 1415 |
+
"learning_rate": 8.933724690167416e-07,
|
| 1416 |
+
"loss": 2.3351,
|
| 1417 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1418 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1419 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1420 |
+
"step": 141
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"epoch": 0.29847609038360484,
|
| 1424 |
+
"grad_norm": 0.36345254242299446,
|
| 1425 |
+
"learning_rate": 8.910802876588781e-07,
|
| 1426 |
+
"loss": 2.2782,
|
| 1427 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1428 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1429 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1430 |
+
"step": 142
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"epoch": 0.30057803468208094,
|
| 1434 |
+
"grad_norm": 0.38393881395986873,
|
| 1435 |
+
"learning_rate": 8.887667372205838e-07,
|
| 1436 |
+
"loss": 2.2808,
|
| 1437 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1438 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1439 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1440 |
+
"step": 143
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"epoch": 0.30267997898055704,
|
| 1444 |
+
"grad_norm": 0.35972360098945216,
|
| 1445 |
+
"learning_rate": 8.864319441169372e-07,
|
| 1446 |
+
"loss": 2.2753,
|
| 1447 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1448 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1449 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1450 |
+
"step": 144
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"epoch": 0.3047819232790331,
|
| 1454 |
+
"grad_norm": 0.4197014359486705,
|
| 1455 |
+
"learning_rate": 8.840760359237411e-07,
|
| 1456 |
+
"loss": 2.3163,
|
| 1457 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1458 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1459 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1460 |
+
"step": 145
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"epoch": 0.3068838675775092,
|
| 1464 |
+
"grad_norm": 0.3698464136493578,
|
| 1465 |
+
"learning_rate": 8.816991413705514e-07,
|
| 1466 |
+
"loss": 2.3585,
|
| 1467 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1468 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1469 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1470 |
+
"step": 146
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"epoch": 0.3089858118759853,
|
| 1474 |
+
"grad_norm": 0.38628726944167563,
|
| 1475 |
+
"learning_rate": 8.793013903336427e-07,
|
| 1476 |
+
"loss": 2.2954,
|
| 1477 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1478 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1479 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1480 |
+
"step": 147
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"epoch": 0.3110877561744614,
|
| 1484 |
+
"grad_norm": 0.33899721461114324,
|
| 1485 |
+
"learning_rate": 8.768829138289122e-07,
|
| 1486 |
+
"loss": 2.2799,
|
| 1487 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1488 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1489 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1490 |
+
"step": 148
|
| 1491 |
+
},
|
| 1492 |
+
{
|
| 1493 |
+
"epoch": 0.3131897004729375,
|
| 1494 |
+
"grad_norm": 0.39286568836433555,
|
| 1495 |
+
"learning_rate": 8.744438440047206e-07,
|
| 1496 |
+
"loss": 2.3867,
|
| 1497 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1498 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1499 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1500 |
+
"step": 149
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"epoch": 0.3152916447714136,
|
| 1504 |
+
"grad_norm": 0.36680644419068636,
|
| 1505 |
+
"learning_rate": 8.719843141346717e-07,
|
| 1506 |
+
"loss": 2.2539,
|
| 1507 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1508 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1509 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1510 |
+
"step": 150
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"epoch": 0.3173935890698896,
|
| 1514 |
+
"grad_norm": 0.4226555891529418,
|
| 1515 |
+
"learning_rate": 8.695044586103295e-07,
|
| 1516 |
+
"loss": 2.4062,
|
| 1517 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1518 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1519 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1520 |
+
"step": 151
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"epoch": 0.3194955333683657,
|
| 1524 |
+
"grad_norm": 0.343763121119237,
|
| 1525 |
+
"learning_rate": 8.67004412933876e-07,
|
| 1526 |
+
"loss": 2.2993,
|
| 1527 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1528 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1529 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1530 |
+
"step": 152
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"epoch": 0.3215974776668418,
|
| 1534 |
+
"grad_norm": 0.34716852552812194,
|
| 1535 |
+
"learning_rate": 8.644843137107057e-07,
|
| 1536 |
+
"loss": 2.3404,
|
| 1537 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1538 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1539 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1540 |
+
"step": 153
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"epoch": 0.3236994219653179,
|
| 1544 |
+
"grad_norm": 0.3968883598563259,
|
| 1545 |
+
"learning_rate": 8.619442986419629e-07,
|
| 1546 |
+
"loss": 2.3012,
|
| 1547 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1548 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1549 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1550 |
+
"step": 154
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"epoch": 0.325801366263794,
|
| 1554 |
+
"grad_norm": 0.33889705699000894,
|
| 1555 |
+
"learning_rate": 8.593845065170163e-07,
|
| 1556 |
+
"loss": 2.2621,
|
| 1557 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1558 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1559 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1560 |
+
"step": 155
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"epoch": 0.3279033105622701,
|
| 1564 |
+
"grad_norm": 0.351512969072057,
|
| 1565 |
+
"learning_rate": 8.568050772058761e-07,
|
| 1566 |
+
"loss": 2.357,
|
| 1567 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1568 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1569 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1570 |
+
"step": 156
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"epoch": 0.33000525486074617,
|
| 1574 |
+
"grad_norm": 0.3668822383961036,
|
| 1575 |
+
"learning_rate": 8.542061516515511e-07,
|
| 1576 |
+
"loss": 2.3499,
|
| 1577 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1578 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1579 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1580 |
+
"step": 157
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"epoch": 0.33210719915922227,
|
| 1584 |
+
"grad_norm": 0.3813104081247767,
|
| 1585 |
+
"learning_rate": 8.515878718623473e-07,
|
| 1586 |
+
"loss": 2.3762,
|
| 1587 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1588 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1589 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1590 |
+
"step": 158
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"epoch": 0.33420914345769837,
|
| 1594 |
+
"grad_norm": 0.3555623840160132,
|
| 1595 |
+
"learning_rate": 8.489503809041087e-07,
|
| 1596 |
+
"loss": 2.2511,
|
| 1597 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1598 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1599 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1600 |
+
"step": 159
|
| 1601 |
+
},
|
| 1602 |
+
{
|
| 1603 |
+
"epoch": 0.33631108775617446,
|
| 1604 |
+
"grad_norm": 0.3426684159571787,
|
| 1605 |
+
"learning_rate": 8.462938228923999e-07,
|
| 1606 |
+
"loss": 2.3354,
|
| 1607 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1608 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1609 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1610 |
+
"step": 160
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"epoch": 0.33841303205465056,
|
| 1614 |
+
"grad_norm": 0.3491214060448838,
|
| 1615 |
+
"learning_rate": 8.436183429846313e-07,
|
| 1616 |
+
"loss": 2.2395,
|
| 1617 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1618 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1619 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1620 |
+
"step": 161
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"epoch": 0.34051497635312666,
|
| 1624 |
+
"grad_norm": 0.4563165572220967,
|
| 1625 |
+
"learning_rate": 8.409240873721276e-07,
|
| 1626 |
+
"loss": 2.3872,
|
| 1627 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1628 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1629 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1630 |
+
"step": 162
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"epoch": 0.3426169206516027,
|
| 1634 |
+
"grad_norm": 0.33319192852547314,
|
| 1635 |
+
"learning_rate": 8.382112032721398e-07,
|
| 1636 |
+
"loss": 2.3122,
|
| 1637 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1638 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1639 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1640 |
+
"step": 163
|
| 1641 |
+
},
|
| 1642 |
+
{
|
| 1643 |
+
"epoch": 0.3447188649500788,
|
| 1644 |
+
"grad_norm": 0.38388679911113793,
|
| 1645 |
+
"learning_rate": 8.354798389198012e-07,
|
| 1646 |
+
"loss": 2.3693,
|
| 1647 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1648 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1649 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1650 |
+
"step": 164
|
| 1651 |
+
},
|
| 1652 |
+
{
|
| 1653 |
+
"epoch": 0.3468208092485549,
|
| 1654 |
+
"grad_norm": 0.39313380831692907,
|
| 1655 |
+
"learning_rate": 8.327301435600272e-07,
|
| 1656 |
+
"loss": 2.3085,
|
| 1657 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1658 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1659 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1660 |
+
"step": 165
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"epoch": 0.348922753547031,
|
| 1664 |
+
"grad_norm": 0.41915800484281546,
|
| 1665 |
+
"learning_rate": 8.299622674393614e-07,
|
| 1666 |
+
"loss": 2.3851,
|
| 1667 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1668 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1669 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1670 |
+
"step": 166
|
| 1671 |
+
},
|
| 1672 |
+
{
|
| 1673 |
+
"epoch": 0.3510246978455071,
|
| 1674 |
+
"grad_norm": 0.35317676640002343,
|
| 1675 |
+
"learning_rate": 8.271763617977641e-07,
|
| 1676 |
+
"loss": 2.2271,
|
| 1677 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1678 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1679 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1680 |
+
"step": 167
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"epoch": 0.3531266421439832,
|
| 1684 |
+
"grad_norm": 0.3528294909167197,
|
| 1685 |
+
"learning_rate": 8.243725788603508e-07,
|
| 1686 |
+
"loss": 2.3087,
|
| 1687 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1688 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1689 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1690 |
+
"step": 168
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"epoch": 0.35522858644245925,
|
| 1694 |
+
"grad_norm": 0.38320812537843413,
|
| 1695 |
+
"learning_rate": 8.215510718290723e-07,
|
| 1696 |
+
"loss": 2.2441,
|
| 1697 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1698 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1699 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1700 |
+
"step": 169
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"epoch": 0.35733053074093535,
|
| 1704 |
+
"grad_norm": 0.403856066195845,
|
| 1705 |
+
"learning_rate": 8.187119948743449e-07,
|
| 1706 |
+
"loss": 2.3326,
|
| 1707 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1708 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1709 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1710 |
+
"step": 170
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"epoch": 0.35943247503941145,
|
| 1714 |
+
"grad_norm": 0.35785694946938973,
|
| 1715 |
+
"learning_rate": 8.158555031266254e-07,
|
| 1716 |
+
"loss": 2.332,
|
| 1717 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1718 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1719 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1720 |
+
"step": 171
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"epoch": 0.36153441933788755,
|
| 1724 |
+
"grad_norm": 0.34400894235353774,
|
| 1725 |
+
"learning_rate": 8.129817526679357e-07,
|
| 1726 |
+
"loss": 2.2897,
|
| 1727 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1728 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1729 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1730 |
+
"step": 172
|
| 1731 |
+
},
|
| 1732 |
+
{
|
| 1733 |
+
"epoch": 0.36363636363636365,
|
| 1734 |
+
"grad_norm": 0.4126959309133071,
|
| 1735 |
+
"learning_rate": 8.100909005233334e-07,
|
| 1736 |
+
"loss": 2.3507,
|
| 1737 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1738 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1739 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1740 |
+
"step": 173
|
| 1741 |
+
},
|
| 1742 |
+
{
|
| 1743 |
+
"epoch": 0.36573830793483975,
|
| 1744 |
+
"grad_norm": 0.42717818377517935,
|
| 1745 |
+
"learning_rate": 8.071831046523318e-07,
|
| 1746 |
+
"loss": 2.3917,
|
| 1747 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1748 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1749 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1750 |
+
"step": 174
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"epoch": 0.3678402522333158,
|
| 1754 |
+
"grad_norm": 0.3579933408679328,
|
| 1755 |
+
"learning_rate": 8.042585239402697e-07,
|
| 1756 |
+
"loss": 2.2518,
|
| 1757 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1758 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1759 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1760 |
+
"step": 175
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"epoch": 0.3699421965317919,
|
| 1764 |
+
"grad_norm": 0.39551576662619,
|
| 1765 |
+
"learning_rate": 8.013173181896282e-07,
|
| 1766 |
+
"loss": 2.4125,
|
| 1767 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1768 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1769 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1770 |
+
"step": 176
|
| 1771 |
+
},
|
| 1772 |
+
{
|
| 1773 |
+
"epoch": 0.372044140830268,
|
| 1774 |
+
"grad_norm": 0.365049869078283,
|
| 1775 |
+
"learning_rate": 7.983596481113005e-07,
|
| 1776 |
+
"loss": 2.2727,
|
| 1777 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1778 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1779 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1780 |
+
"step": 177
|
| 1781 |
+
},
|
| 1782 |
+
{
|
| 1783 |
+
"epoch": 0.3741460851287441,
|
| 1784 |
+
"grad_norm": 0.4011873410931577,
|
| 1785 |
+
"learning_rate": 7.953856753158094e-07,
|
| 1786 |
+
"loss": 2.3436,
|
| 1787 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1788 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1789 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1790 |
+
"step": 178
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"epoch": 0.3762480294272202,
|
| 1794 |
+
"grad_norm": 0.3842765318105432,
|
| 1795 |
+
"learning_rate": 7.923955623044775e-07,
|
| 1796 |
+
"loss": 2.3529,
|
| 1797 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1798 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1799 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1800 |
+
"step": 179
|
| 1801 |
+
},
|
| 1802 |
+
{
|
| 1803 |
+
"epoch": 0.3783499737256963,
|
| 1804 |
+
"grad_norm": 0.3554244239833299,
|
| 1805 |
+
"learning_rate": 7.893894724605468e-07,
|
| 1806 |
+
"loss": 2.2397,
|
| 1807 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1808 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1809 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1810 |
+
"step": 180
|
| 1811 |
+
},
|
| 1812 |
+
{
|
| 1813 |
+
"epoch": 0.3804519180241724,
|
| 1814 |
+
"grad_norm": 0.4463726239175773,
|
| 1815 |
+
"learning_rate": 7.863675700402526e-07,
|
| 1816 |
+
"loss": 2.3635,
|
| 1817 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1818 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1819 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1820 |
+
"step": 181
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"epoch": 0.38255386232264843,
|
| 1824 |
+
"grad_norm": 0.36826384823166514,
|
| 1825 |
+
"learning_rate": 7.833300201638474e-07,
|
| 1826 |
+
"loss": 2.3262,
|
| 1827 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1828 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1829 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1830 |
+
"step": 182
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"epoch": 0.38465580662112453,
|
| 1834 |
+
"grad_norm": 0.40131324496051124,
|
| 1835 |
+
"learning_rate": 7.802769888065789e-07,
|
| 1836 |
+
"loss": 2.3718,
|
| 1837 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1838 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1839 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1840 |
+
"step": 183
|
| 1841 |
+
},
|
| 1842 |
+
{
|
| 1843 |
+
"epoch": 0.38675775091960063,
|
| 1844 |
+
"grad_norm": 0.3849897857523413,
|
| 1845 |
+
"learning_rate": 7.772086427896211e-07,
|
| 1846 |
+
"loss": 2.2332,
|
| 1847 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1848 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1849 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1850 |
+
"step": 184
|
| 1851 |
+
},
|
| 1852 |
+
{
|
| 1853 |
+
"epoch": 0.38885969521807673,
|
| 1854 |
+
"grad_norm": 0.36493755016771345,
|
| 1855 |
+
"learning_rate": 7.741251497709583e-07,
|
| 1856 |
+
"loss": 2.3377,
|
| 1857 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1858 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1859 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1860 |
+
"step": 185
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"epoch": 0.39096163951655283,
|
| 1864 |
+
"grad_norm": 0.35102308079227,
|
| 1865 |
+
"learning_rate": 7.710266782362247e-07,
|
| 1866 |
+
"loss": 2.3105,
|
| 1867 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1868 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1869 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1870 |
+
"step": 186
|
| 1871 |
+
},
|
| 1872 |
+
{
|
| 1873 |
+
"epoch": 0.3930635838150289,
|
| 1874 |
+
"grad_norm": 0.38998005813653297,
|
| 1875 |
+
"learning_rate": 7.679133974894982e-07,
|
| 1876 |
+
"loss": 2.3349,
|
| 1877 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1878 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1879 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1880 |
+
"step": 187
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"epoch": 0.39516552811350497,
|
| 1884 |
+
"grad_norm": 0.379125931962091,
|
| 1885 |
+
"learning_rate": 7.647854776440495e-07,
|
| 1886 |
+
"loss": 2.2724,
|
| 1887 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1888 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1889 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1890 |
+
"step": 188
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"epoch": 0.39726747241198107,
|
| 1894 |
+
"grad_norm": 0.3947787843638888,
|
| 1895 |
+
"learning_rate": 7.616430896130455e-07,
|
| 1896 |
+
"loss": 2.337,
|
| 1897 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1898 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1899 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1900 |
+
"step": 189
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"epoch": 0.39936941671045717,
|
| 1904 |
+
"grad_norm": 0.37487637035067606,
|
| 1905 |
+
"learning_rate": 7.584864051002126e-07,
|
| 1906 |
+
"loss": 2.3746,
|
| 1907 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1908 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1909 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1910 |
+
"step": 190
|
| 1911 |
+
},
|
| 1912 |
+
{
|
| 1913 |
+
"epoch": 0.40147136100893327,
|
| 1914 |
+
"grad_norm": 0.366432821290813,
|
| 1915 |
+
"learning_rate": 7.553155965904534e-07,
|
| 1916 |
+
"loss": 2.3042,
|
| 1917 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1918 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1919 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1920 |
+
"step": 191
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"epoch": 0.40357330530740937,
|
| 1924 |
+
"grad_norm": 0.34566325498775646,
|
| 1925 |
+
"learning_rate": 7.521308373404217e-07,
|
| 1926 |
+
"loss": 2.2799,
|
| 1927 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1928 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1929 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1930 |
+
"step": 192
|
| 1931 |
+
},
|
| 1932 |
+
{
|
| 1933 |
+
"epoch": 0.40567524960588547,
|
| 1934 |
+
"grad_norm": 0.360571812024321,
|
| 1935 |
+
"learning_rate": 7.489323013690561e-07,
|
| 1936 |
+
"loss": 2.1848,
|
| 1937 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1938 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1939 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1940 |
+
"step": 193
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"epoch": 0.4077771939043615,
|
| 1944 |
+
"grad_norm": 0.38102049467871574,
|
| 1945 |
+
"learning_rate": 7.457201634480712e-07,
|
| 1946 |
+
"loss": 2.3506,
|
| 1947 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1948 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1949 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1950 |
+
"step": 194
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"epoch": 0.4098791382028376,
|
| 1954 |
+
"grad_norm": 0.4157458990557322,
|
| 1955 |
+
"learning_rate": 7.424945990924079e-07,
|
| 1956 |
+
"loss": 2.2602,
|
| 1957 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1958 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1959 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1960 |
+
"step": 195
|
| 1961 |
+
},
|
| 1962 |
+
{
|
| 1963 |
+
"epoch": 0.4119810825013137,
|
| 1964 |
+
"grad_norm": 0.3815988927632132,
|
| 1965 |
+
"learning_rate": 7.392557845506432e-07,
|
| 1966 |
+
"loss": 2.39,
|
| 1967 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1968 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1969 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1970 |
+
"step": 196
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"epoch": 0.4140830267997898,
|
| 1974 |
+
"grad_norm": 0.3575553199145919,
|
| 1975 |
+
"learning_rate": 7.360038967953597e-07,
|
| 1976 |
+
"loss": 2.3257,
|
| 1977 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1978 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1979 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1980 |
+
"step": 197
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"epoch": 0.4161849710982659,
|
| 1984 |
+
"grad_norm": 0.37179609481335857,
|
| 1985 |
+
"learning_rate": 7.327391135134749e-07,
|
| 1986 |
+
"loss": 2.3281,
|
| 1987 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1988 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1989 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 1990 |
+
"step": 198
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"epoch": 0.418286915396742,
|
| 1994 |
+
"grad_norm": 0.35686209920084183,
|
| 1995 |
+
"learning_rate": 7.294616130965336e-07,
|
| 1996 |
+
"loss": 2.2884,
|
| 1997 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 1998 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 1999 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2000 |
+
"step": 199
|
| 2001 |
+
},
|
| 2002 |
+
{
|
| 2003 |
+
"epoch": 0.42038885969521805,
|
| 2004 |
+
"grad_norm": 0.3966932403444605,
|
| 2005 |
+
"learning_rate": 7.261715746309593e-07,
|
| 2006 |
+
"loss": 2.3668,
|
| 2007 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 2008 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2009 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2010 |
+
"step": 200
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"epoch": 0.42249080399369415,
|
| 2014 |
+
"grad_norm": 0.37119910362955255,
|
| 2015 |
+
"learning_rate": 7.228691778882692e-07,
|
| 2016 |
+
"loss": 2.216,
|
| 2017 |
+
"memory/device_mem_reserved(gib)": 69.0,
|
| 2018 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2019 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2020 |
+
"step": 201
|
| 2021 |
+
},
|
| 2022 |
+
{
|
| 2023 |
+
"epoch": 0.42459274829217025,
|
| 2024 |
+
"grad_norm": 0.34835664991688975,
|
| 2025 |
+
"learning_rate": 7.195546033152506e-07,
|
| 2026 |
+
"loss": 2.3013,
|
| 2027 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2028 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2029 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2030 |
+
"step": 202
|
| 2031 |
+
},
|
| 2032 |
+
{
|
| 2033 |
+
"epoch": 0.42669469259064635,
|
| 2034 |
+
"grad_norm": 0.36756486717782244,
|
| 2035 |
+
"learning_rate": 7.162280320241019e-07,
|
| 2036 |
+
"loss": 2.2983,
|
| 2037 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2038 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2039 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2040 |
+
"step": 203
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"epoch": 0.42879663688912245,
|
| 2044 |
+
"grad_norm": 0.3580849549174155,
|
| 2045 |
+
"learning_rate": 7.128896457825363e-07,
|
| 2046 |
+
"loss": 2.2168,
|
| 2047 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2048 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2049 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2050 |
+
"step": 204
|
| 2051 |
+
},
|
| 2052 |
+
{
|
| 2053 |
+
"epoch": 0.43089858118759855,
|
| 2054 |
+
"grad_norm": 0.38919198730377413,
|
| 2055 |
+
"learning_rate": 7.095396270038492e-07,
|
| 2056 |
+
"loss": 2.3673,
|
| 2057 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2058 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2059 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2060 |
+
"step": 205
|
| 2061 |
+
},
|
| 2062 |
+
{
|
| 2063 |
+
"epoch": 0.4330005254860746,
|
| 2064 |
+
"grad_norm": 0.45321125836545045,
|
| 2065 |
+
"learning_rate": 7.061781587369518e-07,
|
| 2066 |
+
"loss": 2.2495,
|
| 2067 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2068 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2069 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2070 |
+
"step": 206
|
| 2071 |
+
},
|
| 2072 |
+
{
|
| 2073 |
+
"epoch": 0.4351024697845507,
|
| 2074 |
+
"grad_norm": 0.3390158068246942,
|
| 2075 |
+
"learning_rate": 7.028054246563678e-07,
|
| 2076 |
+
"loss": 2.2959,
|
| 2077 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2078 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2079 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2080 |
+
"step": 207
|
| 2081 |
+
},
|
| 2082 |
+
{
|
| 2083 |
+
"epoch": 0.4372044140830268,
|
| 2084 |
+
"grad_norm": 0.3932391160329032,
|
| 2085 |
+
"learning_rate": 6.99421609052199e-07,
|
| 2086 |
+
"loss": 2.3348,
|
| 2087 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2088 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2089 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2090 |
+
"step": 208
|
| 2091 |
+
},
|
| 2092 |
+
{
|
| 2093 |
+
"epoch": 0.4393063583815029,
|
| 2094 |
+
"grad_norm": 0.35196191595880966,
|
| 2095 |
+
"learning_rate": 6.960268968200538e-07,
|
| 2096 |
+
"loss": 2.3416,
|
| 2097 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2098 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2099 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2100 |
+
"step": 209
|
| 2101 |
+
},
|
| 2102 |
+
{
|
| 2103 |
+
"epoch": 0.441408302679979,
|
| 2104 |
+
"grad_norm": 0.3970691259787115,
|
| 2105 |
+
"learning_rate": 6.92621473450945e-07,
|
| 2106 |
+
"loss": 2.3328,
|
| 2107 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2108 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2109 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2110 |
+
"step": 210
|
| 2111 |
+
},
|
| 2112 |
+
{
|
| 2113 |
+
"epoch": 0.4435102469784551,
|
| 2114 |
+
"grad_norm": 0.3362178241906251,
|
| 2115 |
+
"learning_rate": 6.892055250211551e-07,
|
| 2116 |
+
"loss": 2.2666,
|
| 2117 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2118 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2119 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2120 |
+
"step": 211
|
| 2121 |
+
},
|
| 2122 |
+
{
|
| 2123 |
+
"epoch": 0.44561219127693114,
|
| 2124 |
+
"grad_norm": 0.3370093871143424,
|
| 2125 |
+
"learning_rate": 6.857792381820672e-07,
|
| 2126 |
+
"loss": 2.3654,
|
| 2127 |
+
"memory/device_mem_reserved(gib)": 69.04,
|
| 2128 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2129 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2130 |
+
"step": 212
|
| 2131 |
+
},
|
| 2132 |
+
{
|
| 2133 |
+
"epoch": 0.44771413557540723,
|
| 2134 |
+
"grad_norm": 0.3439137104265468,
|
| 2135 |
+
"learning_rate": 6.823428001499676e-07,
|
| 2136 |
+
"loss": 2.3236,
|
| 2137 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2138 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2139 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2140 |
+
"step": 213
|
| 2141 |
+
},
|
| 2142 |
+
{
|
| 2143 |
+
"epoch": 0.44981607987388333,
|
| 2144 |
+
"grad_norm": 0.363363512278423,
|
| 2145 |
+
"learning_rate": 6.788963986958152e-07,
|
| 2146 |
+
"loss": 2.3153,
|
| 2147 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2148 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2149 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2150 |
+
"step": 214
|
| 2151 |
+
},
|
| 2152 |
+
{
|
| 2153 |
+
"epoch": 0.45191802417235943,
|
| 2154 |
+
"grad_norm": 0.3550856155819428,
|
| 2155 |
+
"learning_rate": 6.754402221349825e-07,
|
| 2156 |
+
"loss": 2.3337,
|
| 2157 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2158 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2159 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2160 |
+
"step": 215
|
| 2161 |
+
},
|
| 2162 |
+
{
|
| 2163 |
+
"epoch": 0.45401996847083553,
|
| 2164 |
+
"grad_norm": 0.43364470288014306,
|
| 2165 |
+
"learning_rate": 6.71974459316964e-07,
|
| 2166 |
+
"loss": 2.3817,
|
| 2167 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2168 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2169 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2170 |
+
"step": 216
|
| 2171 |
+
},
|
| 2172 |
+
{
|
| 2173 |
+
"epoch": 0.45612191276931163,
|
| 2174 |
+
"grad_norm": 0.3594186404992842,
|
| 2175 |
+
"learning_rate": 6.684992996150598e-07,
|
| 2176 |
+
"loss": 2.282,
|
| 2177 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2178 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2179 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2180 |
+
"step": 217
|
| 2181 |
+
},
|
| 2182 |
+
{
|
| 2183 |
+
"epoch": 0.4582238570677877,
|
| 2184 |
+
"grad_norm": 0.348193721582919,
|
| 2185 |
+
"learning_rate": 6.650149329160257e-07,
|
| 2186 |
+
"loss": 2.3266,
|
| 2187 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2188 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2189 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2190 |
+
"step": 218
|
| 2191 |
+
},
|
| 2192 |
+
{
|
| 2193 |
+
"epoch": 0.4603258013662638,
|
| 2194 |
+
"grad_norm": 0.36563818617010935,
|
| 2195 |
+
"learning_rate": 6.615215496096986e-07,
|
| 2196 |
+
"loss": 2.2706,
|
| 2197 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2198 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2199 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2200 |
+
"step": 219
|
| 2201 |
+
},
|
| 2202 |
+
{
|
| 2203 |
+
"epoch": 0.4624277456647399,
|
| 2204 |
+
"grad_norm": 0.3766707141167757,
|
| 2205 |
+
"learning_rate": 6.580193405785938e-07,
|
| 2206 |
+
"loss": 2.2786,
|
| 2207 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2208 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2209 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2210 |
+
"step": 220
|
| 2211 |
+
},
|
| 2212 |
+
{
|
| 2213 |
+
"epoch": 0.464529689963216,
|
| 2214 |
+
"grad_norm": 0.37040693778721345,
|
| 2215 |
+
"learning_rate": 6.545084971874736e-07,
|
| 2216 |
+
"loss": 2.3041,
|
| 2217 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2218 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2219 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2220 |
+
"step": 221
|
| 2221 |
+
},
|
| 2222 |
+
{
|
| 2223 |
+
"epoch": 0.4666316342616921,
|
| 2224 |
+
"grad_norm": 0.3814375380964394,
|
| 2225 |
+
"learning_rate": 6.509892112728928e-07,
|
| 2226 |
+
"loss": 2.2896,
|
| 2227 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2228 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2229 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2230 |
+
"step": 222
|
| 2231 |
+
},
|
| 2232 |
+
{
|
| 2233 |
+
"epoch": 0.4687335785601682,
|
| 2234 |
+
"grad_norm": 0.38809585401355357,
|
| 2235 |
+
"learning_rate": 6.474616751327142e-07,
|
| 2236 |
+
"loss": 2.407,
|
| 2237 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2238 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2239 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2240 |
+
"step": 223
|
| 2241 |
+
},
|
| 2242 |
+
{
|
| 2243 |
+
"epoch": 0.4708355228586443,
|
| 2244 |
+
"grad_norm": 0.3450197035654617,
|
| 2245 |
+
"learning_rate": 6.439260815156038e-07,
|
| 2246 |
+
"loss": 2.3212,
|
| 2247 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2248 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2249 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2250 |
+
"step": 224
|
| 2251 |
+
},
|
| 2252 |
+
{
|
| 2253 |
+
"epoch": 0.4729374671571203,
|
| 2254 |
+
"grad_norm": 0.3638524400528564,
|
| 2255 |
+
"learning_rate": 6.403826236104965e-07,
|
| 2256 |
+
"loss": 2.3958,
|
| 2257 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2258 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2259 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2260 |
+
"step": 225
|
| 2261 |
+
},
|
| 2262 |
+
{
|
| 2263 |
+
"epoch": 0.4750394114555964,
|
| 2264 |
+
"grad_norm": 11.416588328761524,
|
| 2265 |
+
"learning_rate": 6.368314950360415e-07,
|
| 2266 |
+
"loss": 2.4091,
|
| 2267 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2268 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2269 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2270 |
+
"step": 226
|
| 2271 |
+
},
|
| 2272 |
+
{
|
| 2273 |
+
"epoch": 0.4771413557540725,
|
| 2274 |
+
"grad_norm": 0.38009234188930396,
|
| 2275 |
+
"learning_rate": 6.33272889830022e-07,
|
| 2276 |
+
"loss": 2.3481,
|
| 2277 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2278 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2279 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2280 |
+
"step": 227
|
| 2281 |
+
},
|
| 2282 |
+
{
|
| 2283 |
+
"epoch": 0.4792433000525486,
|
| 2284 |
+
"grad_norm": 0.3874884323158228,
|
| 2285 |
+
"learning_rate": 6.297070024387534e-07,
|
| 2286 |
+
"loss": 2.2936,
|
| 2287 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2288 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2289 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2290 |
+
"step": 228
|
| 2291 |
+
},
|
| 2292 |
+
{
|
| 2293 |
+
"epoch": 0.4813452443510247,
|
| 2294 |
+
"grad_norm": 0.3875050817077963,
|
| 2295 |
+
"learning_rate": 6.261340277064578e-07,
|
| 2296 |
+
"loss": 2.2781,
|
| 2297 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2298 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2299 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2300 |
+
"step": 229
|
| 2301 |
+
},
|
| 2302 |
+
{
|
| 2303 |
+
"epoch": 0.4834471886495008,
|
| 2304 |
+
"grad_norm": 0.35862524615310853,
|
| 2305 |
+
"learning_rate": 6.225541608646179e-07,
|
| 2306 |
+
"loss": 2.317,
|
| 2307 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2308 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2309 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2310 |
+
"step": 230
|
| 2311 |
+
},
|
| 2312 |
+
{
|
| 2313 |
+
"epoch": 0.48554913294797686,
|
| 2314 |
+
"grad_norm": 0.3684856860526338,
|
| 2315 |
+
"learning_rate": 6.189675975213093e-07,
|
| 2316 |
+
"loss": 2.2496,
|
| 2317 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2318 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2319 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2320 |
+
"step": 231
|
| 2321 |
+
},
|
| 2322 |
+
{
|
| 2323 |
+
"epoch": 0.48765107724645296,
|
| 2324 |
+
"grad_norm": 0.3592072791824982,
|
| 2325 |
+
"learning_rate": 6.153745336505124e-07,
|
| 2326 |
+
"loss": 2.3916,
|
| 2327 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2328 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2329 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2330 |
+
"step": 232
|
| 2331 |
+
},
|
| 2332 |
+
{
|
| 2333 |
+
"epoch": 0.48975302154492906,
|
| 2334 |
+
"grad_norm": 0.3492976591005929,
|
| 2335 |
+
"learning_rate": 6.117751655814037e-07,
|
| 2336 |
+
"loss": 2.3432,
|
| 2337 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2338 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2339 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2340 |
+
"step": 233
|
| 2341 |
+
},
|
| 2342 |
+
{
|
| 2343 |
+
"epoch": 0.49185496584340516,
|
| 2344 |
+
"grad_norm": 0.39657164130018213,
|
| 2345 |
+
"learning_rate": 6.081696899876281e-07,
|
| 2346 |
+
"loss": 2.2399,
|
| 2347 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2348 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2349 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2350 |
+
"step": 234
|
| 2351 |
+
},
|
| 2352 |
+
{
|
| 2353 |
+
"epoch": 0.49395691014188126,
|
| 2354 |
+
"grad_norm": 0.33918396528061745,
|
| 2355 |
+
"learning_rate": 6.045583038765537e-07,
|
| 2356 |
+
"loss": 2.2886,
|
| 2357 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2358 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2359 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2360 |
+
"step": 235
|
| 2361 |
+
},
|
| 2362 |
+
{
|
| 2363 |
+
"epoch": 0.49605885444035736,
|
| 2364 |
+
"grad_norm": 0.3812617838396709,
|
| 2365 |
+
"learning_rate": 6.009412045785051e-07,
|
| 2366 |
+
"loss": 2.3345,
|
| 2367 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2368 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2369 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2370 |
+
"step": 236
|
| 2371 |
+
},
|
| 2372 |
+
{
|
| 2373 |
+
"epoch": 0.4981607987388334,
|
| 2374 |
+
"grad_norm": 0.35316898092715904,
|
| 2375 |
+
"learning_rate": 5.973185897359827e-07,
|
| 2376 |
+
"loss": 2.3495,
|
| 2377 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2378 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2379 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2380 |
+
"step": 237
|
| 2381 |
+
},
|
| 2382 |
+
{
|
| 2383 |
+
"epoch": 0.5002627430373096,
|
| 2384 |
+
"grad_norm": 0.35687689358418945,
|
| 2385 |
+
"learning_rate": 5.936906572928624e-07,
|
| 2386 |
+
"loss": 2.3206,
|
| 2387 |
+
"memory/device_mem_reserved(gib)": 69.1,
|
| 2388 |
+
"memory/max_mem_active(gib)": 63.57,
|
| 2389 |
+
"memory/max_mem_allocated(gib)": 62.86,
|
| 2390 |
+
"step": 238
|
| 2391 |
+
}
|
| 2392 |
+
],
|
| 2393 |
+
"logging_steps": 1,
|
| 2394 |
+
"max_steps": 475,
|
| 2395 |
+
"num_input_tokens_seen": 0,
|
| 2396 |
+
"num_train_epochs": 1,
|
| 2397 |
+
"save_steps": 238,
|
| 2398 |
+
"stateful_callbacks": {
|
| 2399 |
+
"TrainerControl": {
|
| 2400 |
+
"args": {
|
| 2401 |
+
"should_epoch_stop": false,
|
| 2402 |
+
"should_evaluate": false,
|
| 2403 |
+
"should_log": false,
|
| 2404 |
+
"should_save": true,
|
| 2405 |
+
"should_training_stop": false
|
| 2406 |
+
},
|
| 2407 |
+
"attributes": {}
|
| 2408 |
+
}
|
| 2409 |
+
},
|
| 2410 |
+
"total_flos": 7.365676632322867e+17,
|
| 2411 |
+
"train_batch_size": 4,
|
| 2412 |
+
"trial_name": null,
|
| 2413 |
+
"trial_params": null
|
| 2414 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:841cfbb6b5cef1df538288e0b332863b7380582685cc768f5302c09eddd9f463
|
| 3 |
+
size 9169
|
zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|