Skip to content

Commit e5b4492

Browse files
fix: adapt test_config.json to new format
1 parent 47b3941 commit e5b4492

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

scripts/test_config.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,18 @@
211211
"use_distributed_optimizer": true
212212
}
213213
},
214+
{
215+
"id": "3_distopt_zero2",
216+
"args": {
217+
"dtype": "float32",
218+
"nthread_per_process": 8,
219+
"num_iteration": 10,
220+
"batch_size": 10,
221+
"total_batch_size": 5120,
222+
"use_distributed_optimizer": true,
223+
"zero_stage": 2
224+
}
225+
},
214226
{
215227
"id": "3_bfloat16_distopt",
216228
"args": {
@@ -222,6 +234,18 @@
222234
"use_distributed_optimizer": true
223235
}
224236
},
237+
{
238+
"id": "3_bfloat16_distopt_zero2",
239+
"args": {
240+
"dtype": "bfloat16",
241+
"nthread_per_process": 8,
242+
"num_iteration": 10,
243+
"batch_size": 10,
244+
"total_batch_size": 5120,
245+
"use_distributed_optimizer": true,
246+
"zero_stage": 2
247+
}
248+
},
225249
{
226250
"id": "4_distopt",
227251
"args": {
@@ -234,6 +258,19 @@
234258
"use_distributed_optimizer": true
235259
}
236260
},
261+
{
262+
"id": "4_distopt_zero2",
263+
"args": {
264+
"dtype": "float32",
265+
"nthread_per_process": 8,
266+
"num_iteration": 10,
267+
"batch_size": 40,
268+
"total_batch_size": 5120,
269+
"tensor_parallel": 4,
270+
"use_distributed_optimizer": true,
271+
"zero_stage": 2
272+
}
273+
},
237274
{
238275
"id": "4_bfloat16_distopt",
239276
"args": {
@@ -246,6 +283,19 @@
246283
"use_distributed_optimizer": true
247284
}
248285
},
286+
{
287+
"id": "4_bfloat16_distopt_zero2",
288+
"args": {
289+
"dtype": "bfloat16",
290+
"nthread_per_process": 8,
291+
"num_iteration": 10,
292+
"batch_size": 40,
293+
"total_batch_size": 5120,
294+
"tensor_parallel": 4,
295+
"use_distributed_optimizer": true,
296+
"zero_stage": 2
297+
}
298+
},
249299
{
250300
"id": "5_distopt",
251301
"args": {
@@ -259,6 +309,20 @@
259309
"use_distributed_optimizer": true
260310
}
261311
},
312+
{
313+
"id": "5_distopt_zero2",
314+
"args": {
315+
"dtype": "float32",
316+
"nthread_per_process": 8,
317+
"num_iteration": 10,
318+
"batch_size": 40,
319+
"total_batch_size": 5120,
320+
"tensor_parallel": 4,
321+
"sequence_parallel": true,
322+
"use_distributed_optimizer": true,
323+
"zero_stage": 2
324+
}
325+
},
262326
{
263327
"id": "5_bfloat16_distopt",
264328
"args": {
@@ -272,6 +336,20 @@
272336
"use_distributed_optimizer": true
273337
}
274338
},
339+
{
340+
"id": "5_bfloat16_distopt_zero2",
341+
"args": {
342+
"dtype": "bfloat16",
343+
"nthread_per_process": 8,
344+
"num_iteration": 10,
345+
"batch_size": 40,
346+
"total_batch_size": 5120,
347+
"tensor_parallel": 4,
348+
"sequence_parallel": true,
349+
"use_distributed_optimizer": true,
350+
"zero_stage": 2
351+
}
352+
},
275353
{
276354
"id": "8_distopt",
277355
"args": {

0 commit comments

Comments
 (0)