Issue |
127452
|
Summary |
raw format not support current type
|
Labels |
new issue
|
Assignees |
|
Reporter |
webfrank
|
```
[Running]: tpuc-opt alpr.mlir --processor-assign="chip=cv181x mode=F16 num_device=1 num_core=1 addr_mode=auto high_precision=False" --processor-top-optimize --fuse-preprocess="mode=F16 customization_format=RGB_PLANAR align=False" --convert-top-to-tpu=" asymmetric=False doWinograd=False q_group_size=0 matmul_perchannel=False gelu_mode=normal" --canonicalize --weight-fold -o alpr_cv181x_f16_tpu.mlir
ConvertUpsampleOp : top.Upsample succeed!
ConvertUpsampleOp : top.Upsample succeed!
Entering FusePreprocessPass.
raw format not support current type
UNREACHABLE executed at /__w/tpu-mlir/tpu-mlir/lib/Conversion/TopToTpu/CV18xx/Preprocess.cpp:108!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: tpuc-opt alpr.mlir --init "--processor-assign=chip=cv181x mode=F16 num_device=1 num_core=1 addr_mode=auto high_precision=False" --processor-top-optimize "--fuse-preprocess=mode=F16 customization_format=RGB_PLANAR align=False" "--convert-top-to-tpu= asymmetric=False doWinograd=False q_group_size=0 matmul_perchannel=False gelu_mode=normal" --canonicalize --weight-fold --deinit --mlir-print-debuginfo -o alpr_cv181x_f16_tpu.mlir
#0 0x000064f57e250467 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x884467)
#1 0x000064f57e24e18e (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x88218e)
#2 0x000064f57e250dea (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x884dea)
#3 0x00007ff329d0c520 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x42520)
#4 0x00007ff329d609fc pthread_kill (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x969fc)
#5 0x00007ff329d0c476 gsignal (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x42476)
#6 0x00007ff329cf27f3 abort (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x287f3)
#7 0x000064f57e24dfb1 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x881fb1)
#8 0x000064f57e6a1850 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0xcd5850)
#9 0x000064f57e4fe656 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0xb32656)
#10 0x000064f57e4fdf34 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0xb31f34)
#11 0x000064f57f88f337 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1ec3337)
#12 0x000064f57f88bc4f (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1ebfc4f)
#13 0x000064f57f854d2c (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1e88d2c)
#14 0x000064f57f851b7c (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1e85b7c)
#15 0x000064f57e3ac394 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x9e0394)
#16 0x000064f57f8b8624 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1eec624)
#17 0x000064f57f8b8c51 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1eecc51)
#18 0x000064f57f8bb0f8 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x1eef0f8)
#19 0x000064f57e241b1b (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x875b1b)
#20 0x000064f57e240ee4 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x874ee4)
#21 0x000064f57fad5ac8 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x2109ac8)
#22 0x000064f57e23b1ea (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x86f1ea)
#23 0x000064f57e23b6b4 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x86f6b4)
#24 0x000064f57e23a0fa (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x86e0fa)
#25 0x00007ff329cf3d90 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x29d90)
#26 0x00007ff329cf3e40 __libc_start_main (/usr/local/lib/python3.10/dist-packages/tpu_mlir/lib/third_party/libc.so.6+0x29e40)
#27 0x000064f57e239505 (/usr/local/lib/python3.10/dist-packages/tpu_mlir/bin/tpuc-opt+0x86d505)
Aborted
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/tools/model_deploy.py", line 556, in <module>
lowering_patterns = tool.lowering()
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/tools/model_deploy.py", line 200, in lowering
patterns = mlir_lowering(
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/utils/mlir_shell.py", line 559, in mlir_lowering
_os_system(cmd, mute=mute,log_level=log_level)
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/utils/mlir_shell.py", line 420, in _os_system
raise RuntimeError("[!Error]: {}".format(cmd_str))
RuntimeError: [!Error]: tpuc-opt alpr.mlir --processor-assign="chip=cv181x mode=F16 num_device=1 num_core=1 addr_mode=auto high_precision=False" --processor-top-optimize --fuse-preprocess="mode=F16 customization_format=RGB_PLANAR align=False" --convert-top-to-tpu=" asymmetric=False doWinograd=False q_group_size=0 matmul_perchannel=False gelu_mode=normal" --canonicalize --weight-fold -o alpr_cv181x_f16_tpu.mlir
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs