-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlir转f16 报错 #149
Comments
我也遇到了同样的错误,无法解决 |
|
RuntimeError: [!Error]: tpuc-opt mobile_sam_bm1684x_f16_final.mlir --codegen="model_file=mobile_sam_fp16.bmodel embed_debug_info=false model_version=latest" -o /dev/null |
方便的话,可以模型给我,我试试 |
Traceback (most recent call last):
File "/workspace/tpu-mlir/python/tools/model_deploy.py", line 329, in
tool.lowering()
File "/workspace/tpu-mlir/python/tools/model_deploy.py", line 122, in lowering
mlir_lowering(self.mlir_file, self.tpu_mlir, self.quantize, self.chip, self.cali_table,
File "/workspace/tpu-mlir/python/utils/mlir_shell.py", line 103, in mlir_lowering
_os_system(cmd)
File "/workspace/tpu-mlir/python/utils/mlir_shell.py", line 50, in _os_system
raise RuntimeError("[!Error]: {}".format(cmd_str))
RuntimeError: [!Error]: tpuc-opt yolov5s_231201.mlir --processor-assign="chip=bm1684" --processor-top-optimize --convert-top-to-tpu="mode=F16 asymmetric=False doWinograd=False ignore_f16_overflow=False q_group_size=0" --canonicalize --weight-fold -o yolov5s_bm1684_f16_tpu.mlir
The text was updated successfully, but these errors were encountered: