--op_tune_file

Applicable Products

Product

Supported (√/x)

Atlas A3 products

√

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

Currently, this function supports the following models:

Atlas A2 products

Atlas A3 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