--compile_mode

Description

Specifies the working mode. --compile_mode is optional and can be abbreviated as -m. The default mode is the compilation mode. You can set this option to tune to enable the tuning mode.

See Also

None

Arguments

Can be tune.

Suggestions and Benefits

None

Example

op_compiler --op_params_dir=<dump_dir>  --soc_version=Ascendxxxx --log=info --job=128 --compile_mode=tune --output=<output_dir>

Applicability

Atlas Training Series Product. This parameter is not supported.

Restrictions

The restrictions on the tuning mode are as follows:
  • Different users are not allowed to use the same device for tuning at the same time.
  • Before tuning, disable the profiling function to avoid affecting the tuning result. For details about how to disable profiling, see Performance Tuning Tool User Guide .