File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ def create_helion_method(
387
387
def helion_method (
388
388
self : object ,
389
389
* args : object ,
390
+ ** kwargs : object ,
390
391
) -> Callable [..., object ]:
391
392
"""Helion implementation."""
392
393
@@ -402,10 +403,11 @@ def helion_method(
402
403
# This ensures we run autotuning even if the kernel has pre-specified configs
403
404
if os .environ .get ("HELION_USE_DEFAULT_CONFIG" , "0" ) != "1" :
404
405
attr .settings .force_autotune = True
406
+ attr .settings .static_shape = True
405
407
406
408
def _inner () -> Callable [..., Any ] | object :
407
409
# BENCHMARK HOT PATH, do not add any new logic here
408
- result = kfunc (* args )
410
+ result = kfunc (* args , ** kwargs )
409
411
if callable (result ):
410
412
return result ()
411
413
return result
You can’t perform that action at this time.
0 commit comments