Disabling Fusion
Fusion is enabled by default to improve computing efficiency and performance. However, it is possible that a fusion operator on your network is not yet covered by the current implementation.
If the inference accuracy meets requirements after the fusion function is disabled, submit the error operator to technical support, who will add implementation support to your operator as soon as possible. After obtaining the logs, click here to contact technical support. After the operator problem is solved, you are advised to keep the fusion function enabled.
- Include the --fusion_switch_file option in your atc command line.
Example:
--fusion_switch_file=$HOME/module/fusion_switch.cfg
Upload the configuration file (for example, fusion_switch.cfg) to any directory on the server installed with the ATC tool. The following is an example of the file content.{ "Switch":{ "GraphFusion":{ "ALL":"off" }, "UBFusion":{ "ALL":"off" } } }For details about this parameter, see "Command-Line Options" > "Advanced Options" > "Model Tuning Options" > "--fusion_switch_file" in ATC Instructions.
- Run inference on the new OM.
