Skip to content

Commit

Permalink
[tuner]: fix the ci error
Browse files Browse the repository at this point in the history
Signed-off-by: Bangtian Liu <liubangtian@gmail.com>
  • Loading branch information
bangtianliu committed Dec 2, 2024
1 parent c4f917b commit 4aa640c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tuner/tuner/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ class Configuration:
def intrinsic(self) -> Optional[iree_gpu.MMAAttr]:
if "mma_kind" in self.lowering_config.attributes:
return self.lowering_config.attributes["mma_kind"]
return None

def tilesize_workgroup(self) -> list[int]:
if "workgroup" in self.lowering_config.attributes:
Expand Down Expand Up @@ -151,7 +152,7 @@ def get_lowering_config(
tuner_ctx: TunerContext,
**kwargs: Any,
) -> iree_gpu.LoweringConfigAttr:
lowering_config_dict = {}
lowering_config_dict: dict[str, Any] = {}
for key, value in kwargs.items():
match key:
case "workgroup" | "reduction":
Expand Down

0 comments on commit 4aa640c

Please sign in to comment.