Skip to content

Commit 8b048a6

Browse files
committed
Add the new options for autotune_precompiled to be allowed.
1 parent fe9129c commit 8b048a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helion/runtime/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _is_non_negative_int(val: object) -> bool:
230230
validators: dict[str, Callable[[object], bool]] = {
231231
"autotune_log_level": _is_non_negative_int,
232232
"autotune_compile_timeout": _is_non_negative_int,
233-
"autotune_precompile": _is_bool,
233+
"autotune_precompile": lambda v: v in (None, "spawn", "fork"),
234234
"autotune_precompile_jobs": lambda v: v is None or _is_non_negative_int(v),
235235
"autotune_accuracy_check": _is_bool,
236236
"autotune_progress_bar": _is_bool,

0 commit comments

Comments
 (0)