atc轉換過程問題記錄

zwlwf發表於2024-08-15
  1. LD_LIBRARY_PATH地址設定.非root使用者
. ${HOME}/Ascend/ascend-toolkit/set_env.sh
#若開發套件包Ascend-cann-toolkit在非昇騰裝置上安裝,則如下環境變數必須執行,用於設定動態連結庫所在路徑,否則無需執行
export LD_LIBRARY_PATH=${HOME}/Ascend/ascend-toolkit/latest/<arch>-linux/devlib:$LD_LIBRARY_PATH
  1. util-conv2d.py中from te.tvm.buffer_manager import get_buffer_manager錯誤,修改為from tbe.tvm.buffer_manager
    ~/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/impl/util/util_conv2d.py

  2. python module

[Pre-compile ~/Ascend/ascend-toolkit/8.0.RC3.alpha001/opp/built-in/op_impl/ai_core/tbe/impl/dynamic/equal.py failed with errormsg/stack: File "~/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/impl/dynamic/bias.py", line 18, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

相關文章