Unverified Commit b2fd0b81 authored by Andy Lo's avatar Andy Lo Committed by GitHub
Browse files

[Bugfix][CI] Machete kernels: deterministic ordering for more cache hits (#23055)


Signed-off-by: default avatarAndy Lo <andy@mistral.ai>
parent 9f1c6422
...@@ -349,9 +349,12 @@ def to_cute_constant(value: list[int]): ...@@ -349,9 +349,12 @@ def to_cute_constant(value: list[int]):
def unique_schedules(impl_configs: list[ImplConfig]): def unique_schedules(impl_configs: list[ImplConfig]):
return list( # Use dict over set for deterministic ordering
set(sch for impl_config in impl_configs return list({
for sch in impl_config.schedules)) sch: None
for impl_config in impl_configs
for sch in impl_config.schedules
}.keys())
def unsigned_type_with_bitwidth(num_bits): def unsigned_type_with_bitwidth(num_bits):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment