From f75bc161977dce3241e3817914b6b7c709418613 Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Wed, 18 Oct 2023 11:46:03 +0800 Subject: [PATCH 1/5] [Fix](bangc-ops): the type of op_type use enum instead of string --- mlu_op_test.proto | 89 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 1 deletion(-) diff --git a/mlu_op_test.proto b/mlu_op_test.proto index abc16f7..58926cb 100755 --- a/mlu_op_test.proto +++ b/mlu_op_test.proto @@ -229,6 +229,93 @@ message SeqData { optional RandomData random_data = 14; } +enum OpType { + ABS = 100; + ACTIVE_ROTATED_FILTER_FORWARD = 101; + ADDN = 102; + BALL_QUERY = 200; + BBOX_OVERLAPS = 201; + BORDER_ALIGN_BACKWARD = 202; + BORDER_ALIGN_FORWARD = 203; + BOX_IOU_ROTATED = 204; + CARAFE_BACKWARD = 300; + CARAFE_FORWARD = 301; + COPY = 302; + DEFORM_ROI_POOL_BACKWARD = 400; + DEFORM_ROI_POOL_FORWARD = 401; + DIFF_IOU_ROTATED_SORT_VERTICES_FORWARD = 402; + DIV = 403; + DYNAMIC_POINT_TO_VOXEL_BACKWARD = 404; + DYNAMIC_POINT_TO_VOXEL_FORWARD = 405; + EXPAND = 500; + FILL = 600; + FOCAL_LOSS_SIGMOID_BACKWARD = 601; + FOCAL_LOSS_SIGMOID_FORWARD = 602; + GATHER_ND = 700; + GENERATE_PROPOSALS_V2 = 701; + GET_INDICE_PAIRS = 702; + INDICE_CONVOLUTION_BACKWARD_DATA = 900; + INDICE_CONVOLUTION_BACKWARD_FILTER = 901; + INDICE_CONVOLUTION_FORWARD = 902; + LOG = 1200; + MASKED_COL2IM_FORWARD = 1300; + MASKED_IM2COL_FORWARD = 1301; + MATMUL = 1302; + MOE_DISPATCH_BACKWARD_DATA = 1303; + MOE_DISPATCH_BACKWARD_GATE = 1304; + MOE_DISPATCH_FORWARD = 1305; + MS_DEFORM_ATTN_BACKWARD = 1306; + MS_DEFORM_ATTN_FORWARD = 1307; + MUTUAL_INFORMATION_BACKWARD = 1308; + MUTUAL_INFORMATION_FORWARD = 1309; + NMS = 1400; + NMS_ROTATED = 1401; + POINTS_IN_BOXES = 1600; + POLY_NMS = 1601; + PRIOR_BOX = 1602; + PSAMASK_BACKWARD = 1603; + PSAMASK_FORWARD = 1604; + PSROIPOOL_BACKWARD = 1605; + PSROIPOOL_FORWARD = 1606; + REDUCE = 1800; + ROI_ALIGN_BACKWARD = 1801; + ROI_ALIGN_ROTATED_BACKWARD = 1802; + ROI_ALIGN_ROTATED_FORWARD = 1803; + ROI_CROP_BACKWARD = 1804; + ROI_CROP_FORWARD = 1805; + ROI_POOLING_BACKWARD = 1806; + ROI_POOLING_FORWARD = 1807; + ROIALIGN_FORWARD = 1808; + ROIAWARE_POOL3D_BACKWARD = 1809; + ROIAWARE_POOL3D_FORWARD = 1810; + ROIPOINT_POOL3D = 1811; + ROTATED_FEATURE_ALIGN_BACKWARD = 1812; + ROTATED_FEATURE_ALIGN_FORWARD = 1813; + SCATTER_ND = 1900; + SQRT = 1901; + SQRT_BACKWARD = 1902; + STRIDED_SLICE = 1903; + SYNC_BATCH_NORM_BACKWARD_ELEMT = 1904; + SYNC_BATCHNORM_BACKWARD_ELEMT_V2 = 1905; + SYNC_BATCHNORM_BACKWARD_REDUCE = 1906; + SYNC_BATCHNORM_ELEMT = 1907; + SYNC_BATCHNORM_GATHER_STATS_WITH_COUNTS = 1908; + SYNC_BATCHNORM_STATS = 1909; + TENSOR_STRIDE_PROCESS = 2000; + THREE_INTERPOLATE_BACKWARD = 2001; + THREE_INTERPOLATE_FORWARD = 2002; + THREE_NN_FORWARD = 2003; + TIN_SHIFT_BACKWARD = 2004; + TIN_SHIFT_FORWARD = 2005; + TRANSFORM = 2006; + TRANSPOSE = 2007; + UNIQUE = 2100; + UTILS = 2101; + VOXEL_POOLING_FORWARD = 2200; + VOXELIZATION = 2201; + YOLO_BOX = 2500; +} + message Node { optional string valid = 1 [default = "True"]; optional string pattern = 2 [default = "random"]; @@ -237,7 +324,7 @@ message Node { required string op_name = 5 [default = "unknown"]; // op_name repeated Tensor input = 6; repeated Tensor output = 7; - optional string op_type = 8; // add op_type for mmcv op + optional OpType op_type = 8; // add op_type for mmcv op // evaluation optional TestParam test_param = 10; // remove this param later = delete From 868b3abf711682aaab91b45d99a2b785438fb850 Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Wed, 25 Oct 2023 10:52:05 +0800 Subject: [PATCH 2/5] [Fix](bangc-ops): the type of op_type use enum instead of string --- mlu_op_test.proto | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mlu_op_test.proto b/mlu_op_test.proto index 58926cb..a96cb10 100755 --- a/mlu_op_test.proto +++ b/mlu_op_test.proto @@ -270,13 +270,14 @@ enum OpType { MUTUAL_INFORMATION_FORWARD = 1309; NMS = 1400; NMS_ROTATED = 1401; - POINTS_IN_BOXES = 1600; - POLY_NMS = 1601; - PRIOR_BOX = 1602; - PSAMASK_BACKWARD = 1603; - PSAMASK_FORWARD = 1604; - PSROIPOOL_BACKWARD = 1605; - PSROIPOOL_FORWARD = 1606; + PAD = 1600 + POINTS_IN_BOXES = 1601; + POLY_NMS = 1602; + PRIOR_BOX = 1603; + PSAMASK_BACKWARD = 1604; + PSAMASK_FORWARD = 1605; + PSROIPOOL_BACKWARD = 1606; + PSROIPOOL_FORWARD = 1607; REDUCE = 1800; ROI_ALIGN_BACKWARD = 1801; ROI_ALIGN_ROTATED_BACKWARD = 1802; From 23d6aa1d0c6ac01232ca9626e5690bacd45e6db5 Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Wed, 25 Oct 2023 10:53:41 +0800 Subject: [PATCH 3/5] [Fix](bangc-ops): the type of op_type use enum instead of string --- mlu_op_test.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlu_op_test.proto b/mlu_op_test.proto index a96cb10..e6800c0 100755 --- a/mlu_op_test.proto +++ b/mlu_op_test.proto @@ -270,7 +270,7 @@ enum OpType { MUTUAL_INFORMATION_FORWARD = 1309; NMS = 1400; NMS_ROTATED = 1401; - PAD = 1600 + PAD = 1600; POINTS_IN_BOXES = 1601; POLY_NMS = 1602; PRIOR_BOX = 1603; From 789569e72dae43f9d0d80130148d17ab249d856b Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Wed, 25 Oct 2023 16:25:22 +0800 Subject: [PATCH 4/5] [Fix](bangc-ops): the type of op_type use enum instead of string --- mlu_op_test.proto | 114 +++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/mlu_op_test.proto b/mlu_op_test.proto index e6800c0..64c9ea4 100755 --- a/mlu_op_test.proto +++ b/mlu_op_test.proto @@ -230,90 +230,90 @@ message SeqData { } enum OpType { - ABS = 100; - ACTIVE_ROTATED_FILTER_FORWARD = 101; - ADDN = 102; - BALL_QUERY = 200; - BBOX_OVERLAPS = 201; - BORDER_ALIGN_BACKWARD = 202; - BORDER_ALIGN_FORWARD = 203; - BOX_IOU_ROTATED = 204; - CARAFE_BACKWARD = 300; - CARAFE_FORWARD = 301; - COPY = 302; - DEFORM_ROI_POOL_BACKWARD = 400; - DEFORM_ROI_POOL_FORWARD = 401; + ABS = 2022; + ACTIVE_ROTATED_FILTER_FORWARD = 257073; + ADDN = 7178; + BALL_QUERY = 20231025; + BBOX_OVERLAPS = 2041; + BORDER_ALIGN_BACKWARD = 9001; + BORDER_ALIGN_FORWARD = 1009; + BOX_IOU_ROTATED = 200; + CARAFE_BACKWARD = 409; + CARAFE_FORWARD = 408; + COPY = 13; + DEFORM_ROI_POOL_BACKWARD = 10127; + DEFORM_ROI_POOL_FORWARD = 10126; DIFF_IOU_ROTATED_SORT_VERTICES_FORWARD = 402; - DIV = 403; + DIV = 2020; DYNAMIC_POINT_TO_VOXEL_BACKWARD = 404; DYNAMIC_POINT_TO_VOXEL_FORWARD = 405; - EXPAND = 500; - FILL = 600; - FOCAL_LOSS_SIGMOID_BACKWARD = 601; - FOCAL_LOSS_SIGMOID_FORWARD = 602; - GATHER_ND = 700; + EXPAND = 5; + FILL = 13199; + FOCAL_LOSS_SIGMOID_BACKWARD = 12322; + FOCAL_LOSS_SIGMOID_FORWARD = 15000; + GATHER_ND = 20; GENERATE_PROPOSALS_V2 = 701; GET_INDICE_PAIRS = 702; INDICE_CONVOLUTION_BACKWARD_DATA = 900; INDICE_CONVOLUTION_BACKWARD_FILTER = 901; INDICE_CONVOLUTION_FORWARD = 902; - LOG = 1200; - MASKED_COL2IM_FORWARD = 1300; - MASKED_IM2COL_FORWARD = 1301; - MATMUL = 1302; + LOG = 20333; + MASKED_COL2IM_FORWARD = 2201; + MASKED_IM2COL_FORWARD = 2202; + MATMUL = 536470911; MOE_DISPATCH_BACKWARD_DATA = 1303; MOE_DISPATCH_BACKWARD_GATE = 1304; MOE_DISPATCH_FORWARD = 1305; - MS_DEFORM_ATTN_BACKWARD = 1306; - MS_DEFORM_ATTN_FORWARD = 1307; + MS_DEFORM_ATTN_BACKWARD = 1013; + MS_DEFORM_ATTN_FORWARD = 16005; MUTUAL_INFORMATION_BACKWARD = 1308; MUTUAL_INFORMATION_FORWARD = 1309; - NMS = 1400; + NMS = 768; NMS_ROTATED = 1401; - PAD = 1600; - POINTS_IN_BOXES = 1601; + PAD = 33; + POINTS_IN_BOXES = 217; POLY_NMS = 1602; PRIOR_BOX = 1603; - PSAMASK_BACKWARD = 1604; - PSAMASK_FORWARD = 1605; + PSAMASK_BACKWARD = 134659; + PSAMASK_FORWARD = 134658; PSROIPOOL_BACKWARD = 1606; PSROIPOOL_FORWARD = 1607; - REDUCE = 1800; - ROI_ALIGN_BACKWARD = 1801; - ROI_ALIGN_ROTATED_BACKWARD = 1802; - ROI_ALIGN_ROTATED_FORWARD = 1803; + REDUCE = 1199; + ROI_ALIGN_BACKWARD = 4427; + ROI_ALIGN_ROTATED_BACKWARD = 134661; + ROI_ALIGN_ROTATED_FORWARD = 134660; ROI_CROP_BACKWARD = 1804; ROI_CROP_FORWARD = 1805; - ROI_POOLING_BACKWARD = 1806; - ROI_POOLING_FORWARD = 1807; + ROI_POOLING_BACKWARD = 888888; + ROI_POOLING_FORWARD = 210812; ROIALIGN_FORWARD = 1808; - ROIAWARE_POOL3D_BACKWARD = 1809; - ROIAWARE_POOL3D_FORWARD = 1810; - ROIPOINT_POOL3D = 1811; - ROTATED_FEATURE_ALIGN_BACKWARD = 1812; - ROTATED_FEATURE_ALIGN_FORWARD = 1813; - SCATTER_ND = 1900; - SQRT = 1901; - SQRT_BACKWARD = 1902; - STRIDED_SLICE = 1903; - SYNC_BATCH_NORM_BACKWARD_ELEMT = 1904; - SYNC_BATCHNORM_BACKWARD_ELEMT_V2 = 1905; - SYNC_BATCHNORM_BACKWARD_REDUCE = 1906; - SYNC_BATCHNORM_ELEMT = 1907; - SYNC_BATCHNORM_GATHER_STATS_WITH_COUNTS = 1908; - SYNC_BATCHNORM_STATS = 1909; + ROIAWARE_POOL3D_BACKWARD = 10121; + ROIAWARE_POOL3D_FORWARD = 10120; + ROIPOINT_POOL3D = 16002; + ROTATED_FEATURE_ALIGN_BACKWARD = 20221008; + ROTATED_FEATURE_ALIGN_FORWARD = 20229510; + SCATTER_ND = 359; + SQRT = 2021; + SQRT_BACKWARD = 55660; + STRIDED_SLICE = 657; + SYNC_BATCH_NORM_BACKWARD_ELEMT = 1663; + SYNC_BATCHNORM_BACKWARD_ELEMT_V2 = 1664; + SYNC_BATCHNORM_BACKWARD_REDUCE = 38324; + SYNC_BATCHNORM_ELEMT = 1662; + SYNC_BATCHNORM_GATHER_STATS_WITH_COUNTS = 11113; + SYNC_BATCHNORM_STATS = 11112; TENSOR_STRIDE_PROCESS = 2000; THREE_INTERPOLATE_BACKWARD = 2001; THREE_INTERPOLATE_FORWARD = 2002; THREE_NN_FORWARD = 2003; - TIN_SHIFT_BACKWARD = 2004; - TIN_SHIFT_FORWARD = 2005; - TRANSFORM = 2006; - TRANSPOSE = 2007; - UNIQUE = 2100; + TIN_SHIFT_BACKWARD = 150003; + TIN_SHIFT_FORWARD = 150002; + TRANSFORM = 4; + TRANSPOSE = 64; + UNIQUE = 1267; UTILS = 2101; VOXEL_POOLING_FORWARD = 2200; - VOXELIZATION = 2201; + VOXELIZATION = 2203; YOLO_BOX = 2500; } From d3e420f1253da3737779a70ed7f4bedaf18e27ae Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Wed, 25 Oct 2023 16:44:38 +0800 Subject: [PATCH 5/5] [Fix](bangc-ops): the type of op_type use enum instead of string --- mlu_op_test.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlu_op_test.proto b/mlu_op_test.proto index 64c9ea4..a1f51e8 100755 --- a/mlu_op_test.proto +++ b/mlu_op_test.proto @@ -325,7 +325,7 @@ message Node { required string op_name = 5 [default = "unknown"]; // op_name repeated Tensor input = 6; repeated Tensor output = 7; - optional OpType op_type = 8; // add op_type for mmcv op + optional OpType op_type = 8; // evaluation optional TestParam test_param = 10; // remove this param later = delete