--op_tune_file
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
x |
|
|
x |
|
|
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:
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