I am having some trouble compiling a model. This is a very similar architecture to models that I have successfully compiled before, its essentially a simplified unet with stride 2 2x2 and 4x4 transpose convolutions in the upsampling stage. It converts to HAR with no issues, runs through QAT fine, and appears to compile to HEF, however the resulting model doesn’t work correctly and there are errors in the log. It looks like the errors are in the deconvolution layers and the resulting network output has checkerboard patterns which implies that there is something not right in the deconvolution step.
Ive tried searching the forum and the documentation for these errors but nothing comes up. Can someone help me understand what the problem is and how I can fix or work around it?
[2025-11-12 09:29:13.776] [default] [info] Resolver passed at control_util 0.75 with 427.865 FPS. Setting new partition.
[2025-11-12 09:29:14.291] [default] [info] context net_20251111_run001_context_0 Post-Allocation FPS from simulation: 397.118
[2025-11-12 09:29:14.292] [default] [info] +-----------+---------------------+---------------------+--------------------+
[2025-11-12 09:29:14.292] [default] [info] | Cluster | Control Utilization | Compute Utilization | Memory Utilization |
[2025-11-12 09:29:14.292] [default] [info] +-----------+---------------------+---------------------+--------------------+
[2025-11-12 09:29:14.292] [default] [info] | cluster_0 | 43.8% | 17.2% | 24.2% |
[2025-11-12 09:29:14.292] [default] [info] | cluster_1 | 50% | 14.1% | 14.1% |
[2025-11-12 09:29:14.292] [default] [info] | cluster_2 | 68.8% | 21.9% | 24.2% |
[2025-11-12 09:29:14.292] [default] [info] | cluster_4 | 43.8% | 26.6% | 18% |
[2025-11-12 09:29:14.293] [default] [info] | cluster_5 | 56.3% | 25% | 18.8% |
[2025-11-12 09:29:14.293] [default] [info] | cluster_6 | 56.3% | 23.4% | 21.9% |
[2025-11-12 09:29:14.293] [default] [info] +-----------+---------------------+---------------------+--------------------+
[2025-11-12 09:29:14.293] [default] [info] | Total | 39.8% | 16% | 15.1% |
[2025-11-12 09:29:14.293] [default] [info] +-----------+---------------------+---------------------+--------------------+
[2025-11-12 09:29:14.300] [default] [info] e[1;32mSuccessful Mapping (allocation time: 17s)e[0m
[2025-11-12 09:29:14.306] [default] [info] e[1;36mCompiling kernels of net_20251111_run001_context_0...e[0m
[2025-11-12 09:29:15.692] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv2_defuse_fi0, line: 19
[2025-11-12 09:29:15.692] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv2_defuse_fi0, line: 57
[2025-11-12 09:29:15.693] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv2_defuse_fi0, line: 95
[2025-11-12 09:29:15.718] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d0, line: 19
[2025-11-12 09:29:15.718] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d0, line: 57
[2025-11-12 09:29:15.720] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d0, line: 95
[2025-11-12 09:29:15.726] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d1, line: 19
[2025-11-12 09:29:15.726] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d1, line: 57
[2025-11-12 09:29:15.728] [default] [info] Microcode violation: DUAL_BUFFER_FLIP_OUT in the next 1 cycles after APU_WRITE_TO_MEM
in layer deconv3_defuse_fi0_d1, line: 95
[2025-11-12 09:29:15.739] [default] [info] Kernels with microcoder violation: deconv2_defuse_fi0, deconv3_defuse_fi0_d0, deconv3_defuse_fi0_d1,
[2025-11-12 09:29:15.882] [default] [info] Bandwidth of model inputs: 12.6562 Mbps, outputs: 3.79688 Mbps (for a single frame)
[2025-11-12 09:29:15.882] [default] [info] Bandwidth of DDR buffers: 0.0 Mbps (for a single frame)
[2025-11-12 09:29:15.882] [default] [info] Bandwidth of inter context tensors: 0.0 Mbps (for a single frame)
[2025-11-12 09:29:15.908] [default] [info] e[1;36mBuilding HEF...e[0m
[2025-11-12 09:29:16.114] [default] [info] e[1;32mSuccessful Compilation (compilation time: 1s)e[0m
[2025-11-12 09:29:16.151] [default] [info] Builder successful