From 04cefdc5a03e3ae1dfe2841ec60dd76ffdfc434a Mon Sep 17 00:00:00 2001 From: Haichen Shen Date: Mon, 24 Feb 2020 11:22:59 -0800 Subject: [PATCH] fix vta log for group conv2d (#16) --- tophub/vta_v0.08.log | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tophub/vta_v0.08.log b/tophub/vta_v0.08.log index 383aad3..6b44831 100644 --- a/tophub/vta_v0.08.log +++ b/tophub/vta_v0.08.log @@ -52,15 +52,15 @@ {"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "conv2d_transpose_packed.vta", [["TENSOR", [1, 32, 8, 8, 1, 16], "int8"], ["TENSOR", [16, 32, 4, 4, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], "int32"], {}], "config": {"index": 1074, "code_hash": null, "entity": [["tile_b", "sp", [1, 1]], ["tile_h", "sp", [1, 16]], ["tile_w", "sp", [1, 16]], ["tile_ci", "sp", [32, 1]], ["tile_co", "sp", [4, 4]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.021785177], 0, 8.545803546905518, 1566611563.2514908], "version": 0.2, "tvm_version": "0.7.dev0"} {"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "conv2d_transpose_packed.vta", [["TENSOR", [1, 16, 16, 16, 1, 16], "int8"], ["TENSOR", [8, 16, 4, 4, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], "int32"], {}], "config": {"index": 1654, "code_hash": null, "entity": [["tile_b", "sp", [1, 1]], ["tile_h", "sp", [2, 16]], ["tile_w", "sp", [1, 32]], ["tile_ci", "sp", [16, 1]], ["tile_co", "sp", [4, 2]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0223314622], 0, 8.18976640701294, 1566612310.774141], "version": 0.2, "tvm_version": "0.7.dev0"} # MobileNet-G - pynq_1x16_i8w8a32_15_15_18_17 -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 2, 112, 112, 1, 16], "int8"], ["TENSOR", [2, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 285, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0051718134], 0, 3.731398582458496, 1574722400.3149264], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 4, 112, 112, 1, 16], "int8"], ["TENSOR", [4, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 442, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 4]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0045108247999999995], 0, 3.792034149169922, 1574722940.6848106], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 1, 16], "int8"], ["TENSOR", [8, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 573, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0051586394], 0, 3.8651680946350098, 1574723411.4145958], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 1, 16], "int8"], ["TENSOR", [8, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 177, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 28]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0020377134], 0, 3.5529863834381104, 1574723817.5829804], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 16, 28, 28, 1, 16], "int8"], ["TENSOR", [16, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 215, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 28]], ["tile_w", "sp", [-1, 28]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0026137802], 0, 3.482881546020508, 1574724017.7310386], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 16, 28, 28, 1, 16], "int8"], ["TENSOR", [16, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 95, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 14]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0011045376], 0, 3.467808485031128, 1574724230.5848877], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 32, 14, 14, 1, 16], "int8"], ["TENSOR", [32, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 111, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 14]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0015891257999999999], 0, 3.5013678073883057, 1574724330.9723434], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 32, 14, 14, 1, 16], "int8"], ["TENSOR", [32, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 27, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 7]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0009623932], 0, 3.428790807723999, 1574724352.6372359], "version": 0.2, "tvm_version": "0.7.dev0"} -{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 64, 7, 7, 1, 16], "int8"], ["TENSOR", [64, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "int32"], {}], "config": {"index": 31, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 7]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.001489354], 0, 3.4366657733917236, 1574724383.3769476], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 2, 112, 112, 1, 16], "int8"], ["TENSOR", [2, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], 2, "int32"], {}], "config": {"index": 285, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0051718134], 0, 3.731398582458496, 1574722400.3149264], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 4, 112, 112, 1, 16], "int8"], ["TENSOR", [4, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], 4, "int32"], {}], "config": {"index": 442, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 4]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0045108247999999995], 0, 3.792034149169922, 1574722940.6848106], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 1, 16], "int8"], ["TENSOR", [8, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], 8, "int32"], {}], "config": {"index": 573, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 56]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0051586394], 0, 3.8651680946350098, 1574723411.4145958], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 1, 16], "int8"], ["TENSOR", [8, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], 8, "int32"], {}], "config": {"index": 177, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 28]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0020377134], 0, 3.5529863834381104, 1574723817.5829804], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 16, 28, 28, 1, 16], "int8"], ["TENSOR", [16, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], 16, "int32"], {}], "config": {"index": 215, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 28]], ["tile_w", "sp", [-1, 28]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0026137802], 0, 3.482881546020508, 1574724017.7310386], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 16, 28, 28, 1, 16], "int8"], ["TENSOR", [16, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], 16, "int32"], {}], "config": {"index": 95, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 14]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0011045376], 0, 3.467808485031128, 1574724230.5848877], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 32, 14, 14, 1, 16], "int8"], ["TENSOR", [32, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], 32, "int32"], {}], "config": {"index": 111, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 14]], ["tile_w", "sp", [-1, 14]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0015891257999999999], 0, 3.5013678073883057, 1574724330.9723434], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 32, 14, 14, 1, 16], "int8"], ["TENSOR", [32, 1, 3, 3, 16, 16], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], 32, "int32"], {}], "config": {"index": 27, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 7]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.0009623932], 0, 3.428790807723999, 1574724352.6372359], "version": 0.2, "tvm_version": "0.7.dev0"} +{"input": ["ext_dev -device=vta -keys=cpu -model=pynq_1x16_i8w8a32_15_15_18_17", "group_conv2d_packed.vta", [["TENSOR", [1, 64, 7, 7, 1, 16], "int8"], ["TENSOR", [64, 1, 3, 3, 16, 16], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], 64, "int32"], {}], "config": {"index": 31, "code_hash": null, "entity": [["tile_b", "sp", [-1, 1]], ["tile_h", "sp", [-1, 7]], ["tile_w", "sp", [-1, 7]], ["tile_ci", "sp", [-1, 1]], ["tile_co", "sp", [-1, 1]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.001489354], 0, 3.4366657733917236, 1574724383.3769476], "version": 0.2, "tvm_version": "0.7.dev0"} # Resnet-18 - pynq_4x8_i8w8a32_15_16_16_18 {"input": ["ext_dev -device=vta -keys=cpu -model=pynq_4x8_i8w8a32_15_16_16_18", "conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 4, 8], "int8"], ["TENSOR", [8, 8, 3, 3, 8, 8], "int8"], [1, 1], [1, 1, 1, 1], [1, 1], "NCHW4n8c", "NCHW4n8c", "int32"], {}], "config": {"index": 2873, "code_hash": null, "entity": [["tile_b", "sp", [1, 1]], ["tile_h", "sp", [28, 2]], ["tile_w", "sp", [1, 56]], ["tile_ci", "sp", [8, 1]], ["tile_co", "sp", [1, 8]], ["oc_nthread", "ot", 1], ["h_nthread", "ot", 2]]}, "result": [[0.0213515438], 0, 8.106715679168701, 1564446226.7772598], "version": 0.2, "tvm_version": "0.7.dev0"} {"input": ["ext_dev -device=vta -keys=cpu -model=pynq_4x8_i8w8a32_15_16_16_18", "conv2d_packed.vta", [["TENSOR", [1, 8, 56, 56, 4, 8], "int8"], ["TENSOR", [16, 8, 3, 3, 8, 8], "int8"], [2, 2], [1, 1, 1, 1], [1, 1], "NCHW4n8c", "NCHW4n8c", "int32"], {}], "config": {"index": 1041, "code_hash": null, "entity": [["tile_b", "sp", [1, 1]], ["tile_h", "sp", [4, 7]], ["tile_w", "sp", [1, 28]], ["tile_ci", "sp", [8, 1]], ["tile_co", "sp", [4, 4]], ["oc_nthread", "ot", 2], ["h_nthread", "ot", 1]]}, "result": [[0.011107803400000001], 0, 8.049933910369873, 1564446582.3308542], "version": 0.2, "tvm_version": "0.7.dev0"}