@@ -27,7 +27,7 @@ The `Settings` class controls compilation behavior and debugging options for Hel
2727| --------| ----------| --------|
2828| ** Purpose** | Control compilation behavior | Control execution performance |
2929| ** Autotuning** | ❌ Never autotuned | ✅ Automatically optimized |
30- | ** Examples** | ` print_output_code ` , ` use_default_config ` | ` block_sizes ` , ` num_warps ` |
30+ | ** Examples** | ` print_output_code ` , ` autotune_effort ` | ` block_sizes ` , ` num_warps ` |
3131| ** When to use** | Development, debugging, environment setup | Performance optimization |
3232
3333Settings can be configured via:
@@ -41,7 +41,7 @@ Settings can be configured via:
4141### Using Environment Variables
4242
4343``` bash
44- env HELION_PRINT_OUTPUT_CODE=1 HELION_USE_DEFAULT_CONFIG=1 my_kernel.py
44+ env HELION_PRINT_OUTPUT_CODE=1 HELION_AUTOTUNE_EFFORT=none my_kernel.py
4545```
4646
4747### Using Decorator Arguments
@@ -52,7 +52,7 @@ import helion
5252import helion.language as hl
5353
5454@helion.kernel (
55- use_default_config = True , # Skip autotuning
55+ autotune_effort = " none " , # Skip autotuning
5656 print_output_code = True , # Debug output
5757)
5858def my_kernel (x : torch.Tensor) -> torch.Tensor:
@@ -104,10 +104,6 @@ with helion.set_default_settings(
104104### Autotuning Settings
105105
106106``` {eval-rst}
107- .. autoattribute:: Settings.use_default_config
108-
109- Skip autotuning and use default configuration. Default is ``False``. Controlled by ``HELION_USE_DEFAULT_CONFIG=1``.
110-
111107.. autoattribute:: Settings.force_autotune
112108
113109 Force autotuning even when explicit configs are provided. Default is ``False``. Controlled by ``HELION_FORCE_AUTOTUNE=1``.
@@ -165,7 +161,7 @@ with helion.set_default_settings(
165161
166162 Select the autotuning effort preset. Available values:
167163
168- - ``"none"`` – skip autotuning and run the default configuration (equivalent to ``use_default_config=True``) .
164+ - ``"none"`` – skip autotuning and run the default configuration.
169165 - ``"quick"`` – limited search for faster runs with decent performance.
170166 - ``"full"`` – exhaustive autotuning (current default behavior).
171167
@@ -234,12 +230,12 @@ Built-in values for ``HELION_AUTOTUNER`` include ``"PatternSearch"``, ``"Differe
234230| Environment Variable | Maps To | Description |
235231| ----------------------| ---------| -------------|
236232| `` TRITON_F32_DEFAULT `` | `` dot_precision `` | Sets default floating-point precision for Triton dot products (`` "tf32" `` , `` "tf32x3" `` , `` "ieee" `` ). |
237- | `` HELION_USE_DEFAULT_CONFIG `` | `` use_default_config `` | Skip autotuning entirely and rely on the default (debug) configuration. |
238233| `` HELION_FORCE_AUTOTUNE `` | `` force_autotune `` | Force the autotuner to run even when explicit configs are provided. |
239234| `` HELION_AUTOTUNE_COMPILE_TIMEOUT `` | `` autotune_compile_timeout `` | Maximum seconds to wait for Triton compilation during autotuning. |
240235| `` HELION_AUTOTUNE_RANDOM_SEED `` | `` autotune_random_seed `` | Seed used for randomized autotuning searches. |
241236| `` HELION_AUTOTUNE_MAX_GENERATIONS `` | `` autotune_max_generations `` | Upper bound on generations for Pattern Search and Differential Evolution. |
242237| `` HELION_AUTOTUNE_ACCURACY_CHECK `` | `` autotune_accuracy_check `` | Toggle baseline validation for candidate configs. |
238+ | `` HELION_AUTOTUNE_EFFORT `` | `` autotune_effort `` | Select autotuning preset (`` "none" `` , `` "quick" `` , `` "full" `` ). |
243239| `` HELION_REBENCHMARK_THRESHOLD `` | `` autotune_rebenchmark_threshold `` | Re-run configs whose performance is within a multiplier of the current best. |
244240| `` HELION_AUTOTUNE_PROGRESS_BAR `` | `` autotune_progress_bar `` | Enable or disable the progress bar UI during autotuning. |
245241| `` HELION_PRINT_OUTPUT_CODE `` | `` print_output_code `` | Print generated Triton code to stderr for inspection. |
0 commit comments