Hi Community,
I try run metal test (tvm/vta/test/hardware/metal_tests), but it failed as below:
INFO - ALU test of max imm: batch=16, vector_size=128, uop_compression=1
INFO - Synchronization time: 0.067ms
INFO - Throughput: 0.031GOps/s
INFO - ALU test failed, got 128 errors!
INFO - ALU test of max imm: batch=16, vector_size=128, uop_compression=0
INFO - Synchronization time: 0.064ms
INFO - Throughput: 0.032GOps/s
INFO - ALU test successful!
INFO - ALU test of add imm: batch=16, vector_size=128, uop_compression=1
INFO - Synchronization time: 0.064ms
INFO - Throughput: 0.032GOps/s
INFO - ALU test successful!
INFO - ALU test of add imm: batch=16, vector_size=128, uop_compression=0
INFO - Synchronization time: 0.064ms
INFO - Throughput: 0.032GOps/s
INFO - ALU test successful!
INFO - ALU test of shr: batch=16, vector_size=128, uop_compression=1
INFO - Synchronization time: 0.064ms
INFO - Throughput: 0.032GOps/s
INFO - ALU test successful!
INFO - ALU test of shr: batch=16, vector_size=128, uop_compression=0
INFO - Synchronization time: 0.063ms
INFO - Throughput: 0.032GOps/s
INFO - ALU test successful!
INFO - ALU test of max: batch=16, vector_size=128, uop_compression=1
INFO - Synchronization time: 0.078ms
INFO - Throughput: 0.026GOps/s
INFO - ALU test failed, got 127 errors!
INFO - ALU test of max: batch=16, vector_size=128, uop_compression=0
INFO - Synchronization time: 0.073ms
INFO - Throughput: 0.028GOps/s
INFO - ALU test successful!
INFO - ALU test of add: batch=16, vector_size=128, uop_compression=1
INFO - Synchronization time: 0.075ms
INFO - Throughput: 0.027GOps/s
INFO - ALU test successful!
INFO - ALU test of add: batch=16, vector_size=128, uop_compression=0
INFO - Synchronization time: 0.073ms
INFO - Throughput: 0.028GOps/s
INFO - ALU test successful!
INFO - Blocked GEMM test: batch=256, channels=256, block=64, uop_comp=1, vt=2
INFO - Synchronization time: 3.283ms
INFO - Throughput: 10.222GOPs/s
INFO - Blocked GEMM test failed, got 4212 errors!
INFO - Blocked GEMM test: batch=256, channels=256, block=64, uop_comp=0, vt=2
INFO - Synchronization time: 3.298ms
INFO - Throughput: 10.175GOPs/s
INFO - Blocked GEMM test failed, got 65277 errors!
INFO - Blocked GEMM test: batch=256, channels=256, block=64, uop_comp=1, vt=1
INFO - Synchronization time: 4.884ms
INFO - Throughput: 6.871GOPs/s
INFO - Blocked GEMM test failed, got 65289 errors!
INFO - Blocked GEMM test: batch=256, channels=256, block=64, uop_comp=0, vt=1
INFO - Synchronization time: 4.704ms
INFO - Throughput: 7.133GOPs/s
INFO - Blocked GEMM test successful!
INTO - Unit tests failed!
I built vta with this configuration:
{
“TARGET” : “pynq”,
“HW_FREQ” : 142,
“HW_CLK_TARGET” : 6,
“HW_VER” : “0.0.0”,
“LOG_INP_WIDTH” : 3,
“LOG_WGT_WIDTH” : 3,
“LOG_ACC_WIDTH” : 5,
“LOG_OUT_WIDTH” : 3,
“LOG_BATCH” : 0,
“LOG_BLOCK_IN” : 4,
“LOG_BLOCK_OUT” : 4,
“LOG_UOP_BUFF_SIZE” : 15,
“LOG_INP_BUFF_SIZE” : 15,
“LOG_WGT_BUFF_SIZE” : 18,
“LOG_ACC_BUFF_SIZE” : 17
}
Board is PYNQ-Z1
Can anyone help to give direction to me for fix (in order to pass metal test)?