Artem Plastinkin commited on
Commit
0fe22d8
·
1 Parent(s): 475db0d

Update command sto reproduce

Browse files
int8/benchmarks/x5h_mwmx_npu_apm80_12core.yaml CHANGED
@@ -43,6 +43,17 @@ memory:
43
  power:
44
  avg_w: null
45
 
 
 
 
 
 
 
 
 
 
 
 
46
  # Exact commands verified against the NNAC "Getting Started" chapter. Rendered
47
  # by the AI-Dashboard in place of the generic placeholder flow — see
48
  # downloadRunHTML() / parse_reproduce() in AI-Dashboard/app.js.
@@ -60,22 +71,17 @@ reproduce:
60
  kind: note
61
  - title: Download the ONNX model and compile config
62
  command: hf download Renesas/DeepLabV3Plus-R50-ONNX --repo-type model --include "fp32/*" "compile_config/*" --local-dir ./DeepLabV3Plus-R50-ONNX-fp32
63
- - title: Configure the network for the 12-core build (required — this model has no working 1-core config)
64
  command: |
65
- cat > ${WORKDIR}/nnac_config/config.yaml << 'EOF'
66
- network_configuration:
67
- deeplabv3plus_r50_oss_sim_inf:
68
- optimization_options:
69
- - -segmentation_json ./DeepLabV3Plus-R50-ONNX-fp32/compile_config/l2_seg_48k_add_split_4_split_2.json
70
- - -enable_dma_fusion
71
- - -enable_stu_multi_channel
72
- - -stu_multi_channel_config 0x15212420
73
- - -stu_weight
74
- - -distributed_coef_stu
75
- EOF
76
- # Overwrites (not appends to) config.yaml, so re-running this step is
77
- # idempotent — a prior run's network_configuration: key can't get
78
- # duplicated into an invalid/ambiguous second top-level key.
79
  - title: Compile with the NNAC toolchain (INT8 auto-cast from the FP32 graph)
80
  command: |
81
  python3 nnac_frontend/legalize.py -d binary/nnx ./DeepLabV3Plus-R50-ONNX-fp32/fp32/deeplabv3plus_r50_oss_sim_inf.onnx --num-core 12
 
43
  power:
44
  avg_w: null
45
 
46
+ network_configuration:
47
+ key: deeplabv3plus_r50_oss_sim_inf
48
+ entry_yaml: |
49
+ optimization_options:
50
+ - -segmentation_json ./DeepLabV3Plus-R50-ONNX-fp32/compile_config/l2_seg_48k_add_split_4_split_2.json
51
+ - -enable_dma_fusion
52
+ - -enable_stu_multi_channel
53
+ - -stu_multi_channel_config 0x15212420
54
+ - -stu_weight
55
+ - -distributed_coef_stu
56
+
57
  # Exact commands verified against the NNAC "Getting Started" chapter. Rendered
58
  # by the AI-Dashboard in place of the generic placeholder flow — see
59
  # downloadRunHTML() / parse_reproduce() in AI-Dashboard/app.js.
 
71
  kind: note
72
  - title: Download the ONNX model and compile config
73
  command: hf download Renesas/DeepLabV3Plus-R50-ONNX --repo-type model --include "fp32/*" "compile_config/*" --local-dir ./DeepLabV3Plus-R50-ONNX-fp32
74
+ - title: "Insert this model's entry into network_configuration: in nnac_config/config.yaml (required — this model has no working 1-core config)"
75
  command: |
76
+ deeplabv3plus_r50_oss_sim_inf:
77
+ optimization_options:
78
+ - -segmentation_json ./DeepLabV3Plus-R50-ONNX-fp32/compile_config/l2_seg_48k_add_split_4_split_2.json
79
+ - -enable_dma_fusion
80
+ - -enable_stu_multi_channel
81
+ - -stu_multi_channel_config 0x15212420
82
+ - -stu_weight
83
+ - -distributed_coef_stu
84
+ kind: note
 
 
 
 
 
85
  - title: Compile with the NNAC toolchain (INT8 auto-cast from the FP32 graph)
86
  command: |
87
  python3 nnac_frontend/legalize.py -d binary/nnx ./DeepLabV3Plus-R50-ONNX-fp32/fp32/deeplabv3plus_r50_oss_sim_inf.onnx --num-core 12