Skip to content

Commit c653ca4

Browse files
committed
Verify compiled kernels in subprocess
This is to handle configs that hang when we run them. It should also fix the IMA issues we have been seeing.
1 parent f370fa5 commit c653ca4

File tree

7 files changed

+444
-59
lines changed

7 files changed

+444
-59
lines changed

docs/api/settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,12 @@ with helion.set_default_settings(
129129
130130
.. autoattribute:: Settings.autotune_precompile
131131
132-
Whether to precompile kernels before autotuning. Default is ``True`` on non-Windows systems, ``False`` on Windows.
132+
Select the autotuner precompile mode, which adds parallelism and
133+
checks for errors/timeouts. ``"spawn"`` (default) runs kernel
134+
warm-up in a fresh process including running to check for errors,
135+
``"fork"`` is faster but does not include the error check run,
136+
or None to disables precompile checks altogether. Controlled by
137+
``HELION_AUTOTUNE_PRECOMPILE``.
133138
134139
.. autoattribute:: Settings.autotune_random_seed
135140

0 commit comments

Comments
 (0)