--tune_optimization_level

Description

Sets the tuning mode, including the high-performance mode and normal mode.

You can use this option to obtain higher performance.

See Also

Use this option in conjunction with --job_type or -j. job_type=1 indicates high-performance subgraph tuning. job_type=2 indicates high-performance operator tuning.

Arguments

Arguments:

  • O1: high-performance mode
  • O2: normal mode

Default: O2

Suggestions and Benefits

None

Examples

Use the high-performance mode for operator tuning. The following is an example:

--tune_optimization_level=O1 --job_type=2

Restrictions

The restrictions on high-performance operator tuning are as follows:

  • The tuning duration increases by several times.
  • Ensure that the available memory is greater than or equal to 64 GB.