专栏算法工具链3.8.1 oe 工具链中resnet50 用例segmentation fault

3.8.1 oe 工具链中resnet50 用例segmentation fault

已解决
2008032026-07-07
74
3

root@f90c9f3d213e:/open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50# free -h

total used free shared buff/cache available

Mem: 62Gi 26Gi 3.0Gi 275Mi 32Gi 34Gi

Swap: 8.0Gi 7.5Gi 485Mi

root@f90c9f3d213e:/open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50# bash 01_check.sh
++ dirname 01_check.sh

+ cd .

+ onnx_model=../../01_common/model_zoo/mapper/classification/resnet50/resnet50.onnx

+ march=nash-e

+ hb_compile --model ../../01_common/model_zoo/mapper/classification/resnet50/resnet50.onnx --march nash-e

2026-07-07 10:22:21,362 INFO The log will be stored in /open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50/hb_compile.log

2026-07-07 10:22:21,362 INFO Start hb_compile...

2026-07-07 10:22:21,362 INFO hbdk version: 4.9.7

2026-07-07 10:22:21,362 INFO hmct version: 2.7.3

2026-07-07 10:22:21,362 INFO hb_compile version: 3.5.11

01_check.sh: line 15: 34 Segmentation fault (core dumped) hb_compile --model ${onnx_model} --march ${march}

root@f90c9f3d213e:/open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50# h

h2ph hash hb_config_generator hb_verifier hbrt4-run-model-nash head hexdump hmct-info hrt_model_exec huggingface-cli

h2xs hb_analyzer hb_eval_preprocess hbcm-module-entry hbrt4-toolkit help history hostid htop humanfriendly

hardlink hb_compile hb_model_info hbrt4-disas hd helpztags hmct-debugger hostname httpx hwclock

root@f90c9f3d213e:/open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50# hb_compile --model ../../01_common/model_zoo/mapper/classification/resnet50/resnet50.onnx --march nash-e

2026-07-07 10:23:09,602 INFO The log will be stored in /open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50/hb_compile.log

2026-07-07 10:23:09,602 INFO Start hb_compile...

2026-07-07 10:23:09,602 INFO hbdk version: 4.9.7

2026-07-07 10:23:09,602 INFO hmct version: 2.7.3

2026-07-07 10:23:09,602 INFO hb_compile version: 3.5.11

Segmentation fault (core dumped)

root@f90c9f3d213e:/open_explorer/horizon_j6_open_explorer_v3.8.1-py310_20260326/samples/ai_toolchain/horizon_model_convert_sample/03_classification/03_resnet50#

算法工具链
技术深度解析征程6
评论2
0/600
  • YCJ
    Lv.4

    看起来像环境问题呢,检查一下版本是否对应上

    2026-07-07
    0
    1
    • 200803回复YCJ:
      应该没问题,最开始用3.9.0版本也是这样, docker 启动如下
      ThinkStation-P3-Tower:~/oe$ docker run --memory=64g --memory-swap=64g -it -v /home/xxx/oe/:/open_explorer openexplorer/ai_toolchain_ubuntu_22_j6_gpu:v3.8.1
      2026-07-07
      0
  • YCJ
    Lv.4

    应该没问题,最开始用3.9.0版本也是这样, docker 启动如下
    ThinkStation-P3-Tower:~/oe$ docker run --memory=64g --memory-swap=64g -it -v /home/xxx/oe/:/open_explorer openexplorer/ai_toolchain_ubuntu_22_j6_gpu:v3.8.1
    2026-07-07
    0
    0