| Option | Type/Default | Description |
|---|---|---|
| autotuning | bool/true | Enables autotuning. |
| autotuning::max_runs | int/100 | Max number of runs per library and layer. |
| autotuning::not_improved | int/5 | Number of runs without improvement when autotuning will be stopped. |
| compiler::debug | bool/false | Adds assertions in the code to check correctness at runtime (requires jit::debug). |
| compiler::debug_graph | bool/false | Generates SVGs in .sol/debug with the network structure. |
| compiler::debug_memory_consumption | bool/false | Generates memory consumption estimations in .sol/debug. |
| compiler::debug_text | bool/false | Textural network output in .sol/debug. |
| compiler::performance_warning | bool/false | Shows warning, if chose hyper-parameters have negative impact on performance. |
| compiler::remove_unused_params | bool/false | Removes unused model parameters. |
| compiler::reporting | bool/false | Enables additional compiler output for compilers. |
| compiler::spawn | int/0 | 0 = posix_spawn(vfork), 1 = posix_spawn(fork), 2 = popen. |
| conv::sampling | bool/true | |
| dfp::debug | bool/false | Generates SVGs for the DFP computation graph. |
| framework | str/None | Used as default if framework is not set in sol.optimize(...) |
| jit::debug | bool/false | Enables debugging in the generated code. |
| onnx::debug | bool/false | Generates SVGs for the ONNX computation graph. |
| parser::debug | bool/false | Enables parser debugging if available. |
| parser::debug_stack_traces | bool/false | Displays stack traces in Graph and Text debug output if available. |
| reporting | bool/false | Enables GCC/NCC reporting on the generated code. |
Since v0.8 config values also can be set via env vars. The option key needs to
be upper case, the namespace :: replaced with _ and preceeded by
SOL_CONFIG_, e.g., sol.config['dfp::debug'] = True becomes
SOL_CONFIG_DFP_DEBUG=TRUE. Boolean values can be TRUE, ON or 1. All
other values will be FALSE.