Skip to content

Commit

Permalink
[micro_perf] rename half to float16, reduce ccl ops test cases num.
Browse files Browse the repository at this point in the history
  • Loading branch information
suisiyuan committed Oct 1, 2024
1 parent 95d6053 commit c4b3f70
Show file tree
Hide file tree
Showing 36 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/add.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/allgather.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/allreduce.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
6 changes: 3 additions & 3 deletions byte_micro_perf/workloads/alltoall.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
],
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/batch_gemm.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dtype": [
"float32",
"bfloat16",
"half",
"float16",
"int8"
]
}
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/broadcast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/cast.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/cos.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/device2host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/div.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/exp.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/exponential.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/gather.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dtype": [
"float32",
"float16",
"bfloat16"
"bfloat16",
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/gelu.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/gemm.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dtype": [
"float32",
"bfloat16",
"half",
"float16",
"int8"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/gemv.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dtype": [
"float32",
"bfloat16",
"half",
"float16",
"int8"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/group_gemm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dtype": [
"float32",
"bfloat16",
"half",
"float16",
"int8"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/host2device.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/index_add.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dtype": [
"float32",
"half",
"bfloat16"
"bfloat16",
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/layernorm.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/log.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/mul.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
6 changes: 3 additions & 3 deletions byte_micro_perf/workloads/p2p.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
],
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/reduce_max.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/reduce_min.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/reduce_sum.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/reducescatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"input_shape_groups": {
"inputs": [
[
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608],
[8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152],
[1024]
]
]
},
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
],
"group": [
2,
Expand Down
4 changes: 2 additions & 2 deletions byte_micro_perf/workloads/scatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dtype": [
"float32",
"float16",
"bfloat16"
"bfloat16",
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/silu.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/sin.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/softmax.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/sort.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/sqrt.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/sub.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/swiglu.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dtype": [
"float32",
"bfloat16",
"half"
"float16"
]
}
2 changes: 1 addition & 1 deletion byte_micro_perf/workloads/unique.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dtype": [
"float32",
"half",
"float16",
"int32"
]
}

0 comments on commit c4b3f70

Please sign in to comment.