File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ for ((id=0; id<num_basic_compile_commands; ++id)); do
522522
523523 for (( ti= 0 ; ti< num_tests; ++ ti)) ; do
524524 test_id=$( jq -r " .test_groups[$gi ].tests[$ti ].id" " $CONFIG_FILE " )
525- nproc_per_node=" $( jq -r " .test_groups[$gi ].tests[ $ti ].args .nproc_per_node // empty" " $CONFIG_FILE " ) "
525+ nproc_per_node=" $( jq -r " .test_groups[$gi ].launcher_args .nproc_per_node // empty" " $CONFIG_FILE " ) "
526526 : " ${nproc_per_node:= ${INFINI_NPROC_PER_NODE:- 1} } "
527527 if tag_enabled_for_model " $group_tag " " $GPT2_TEST_GROUPS " ; then
528528 LORA_WEIGHTS_DIR=" $GPT2_LORA_WEIGHTS_DIR "
Original file line number Diff line number Diff line change 898898 },
899899 {
900900 "tag" : " 8_proc" ,
901+ "launcher_args" : {
902+ "nproc_per_node" : 8
903+ },
901904 "tests" : [
902905 {
903906 "id" : " 3" ,
904907 "args" : {
905908 "dtype" : " float32" ,
906- "nproc_per_node" : 8 ,
907909 "nthread_per_process" : 1 ,
908910 "num_iteration" : 10 ,
909911 "batch_size" : 10 ,
914916 "id" : " 3_bfloat16" ,
915917 "args" : {
916918 "dtype" : " bfloat16" ,
917- "nproc_per_node" : 8 ,
918919 "nthread_per_process" : 1 ,
919920 "num_iteration" : 10 ,
920921 "batch_size" : 10 ,
925926 "id" : " 4" ,
926927 "args" : {
927928 "dtype" : " float32" ,
928- "nproc_per_node" : 8 ,
929929 "nthread_per_process" : 1 ,
930930 "num_iteration" : 10 ,
931931 "batch_size" : 40 ,
937937 "id" : " 4_bfloat16" ,
938938 "args" : {
939939 "dtype" : " bfloat16" ,
940- "nproc_per_node" : 8 ,
941940 "nthread_per_process" : 1 ,
942941 "num_iteration" : 10 ,
943942 "batch_size" : 40 ,
949948 "id" : " 5" ,
950949 "args" : {
951950 "dtype" : " float32" ,
952- "nproc_per_node" : 8 ,
953951 "nthread_per_process" : 1 ,
954952 "num_iteration" : 10 ,
955953 "batch_size" : 40 ,
962960 "id" : " 5_bfloat16" ,
963961 "args" : {
964962 "dtype" : " bfloat16" ,
965- "nproc_per_node" : 8 ,
966963 "nthread_per_process" : 1 ,
967964 "num_iteration" : 10 ,
968965 "batch_size" : 40 ,
975972 "id" : " 6" ,
976973 "args" : {
977974 "dtype" : " float32" ,
978- "nproc_per_node" : 8 ,
979975 "nthread_per_process" : 1 ,
980976 "num_iteration" : 10 ,
981977 "batch_size" : 10 ,
987983 "id" : " 6_bfloat16" ,
988984 "args" : {
989985 "dtype" : " bfloat16" ,
990- "nproc_per_node" : 8 ,
991986 "nthread_per_process" : 1 ,
992987 "num_iteration" : 10 ,
993988 "batch_size" : 10 ,
999994 "id" : " 8" ,
1000995 "args" : {
1001996 "dtype" : " float32" ,
1002- "nproc_per_node" : 8 ,
1003997 "nthread_per_process" : 1 ,
1004998 "num_iteration" : 10 ,
1005999 "batch_size" : 40 ,
10141008 "id" : " 8_bfloat16" ,
10151009 "args" : {
10161010 "dtype" : " bfloat16" ,
1017- "nproc_per_node" : 8 ,
10181011 "nthread_per_process" : 1 ,
10191012 "num_iteration" : 10 ,
10201013 "batch_size" : 40 ,
You can’t perform that action at this time.
0 commit comments