Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions bitblas/relax/transform/apply_fast_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ def transform_module( # pylint: disable=missing-function-docstring
updated_functions[g_var] = sch.mod["main"].with_attr("tir.is_scheduled", 1)
continue

if check_func_with_dynamic(func):
specalized_function = func.with_attr("global_symbol", g_var.name_hint)

if check_func_with_dynamic(specalized_function):

dispatch_mod = fast_tune_with_dynamic_range(
func,
specalized_function,
target=target,
topk=self.topk,
parallel_build=self.parallel_build,
Expand All @@ -161,7 +163,7 @@ def transform_module( # pylint: disable=missing-function-docstring
else:
# otherwise is static shape analysis
_, best = fast_tune(
func,
specalized_function,
target=target,
topk=self.topk,
parallel_build=self.parallel_build,
Expand Down