--op_tune_file

Applicability

Product

Supported (√/x)

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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 the aclopStartDumpArgs and aclopStopDumpArgs APIs.

Currently, this function supports the following models:

Atlas A2 training product/Atlas A2 inference product

Atlas A3 training product/Atlas A3 inference product

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 uppercase and lowercase letters (A–Z, a–z), digits (0–9), 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