--op_tune_file

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Description

In static kernel tuning mode, the operator .json file needs to be dumped in advance. This option specifies the path for storing the operator .json file. For details about how to dump the operator .json file, see ""Using the Static Kernel to Improve the Model Execution Performance"".

Currently, this function supports the following models:

Atlas A2 training products / Atlas A2 inference products

Atlas A3 training products / Atlas A3 inference products

See Also

Use this option in conjunction with --op_tune_mode (= static_kernel or fast) and --precision_mode (= must_keep_origin_dtype).

Arguments

The argument can contain letters, digits, underscores (_), hyphens (-), periods (.), and Chinese characters.

Examples

--op_tune_file=/home/lxl/json --op_tune_mode=static_kernel --precision_mode=must_keep_origin_dtype --op_tune_kernel_path=/home/lxl/kernel