mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-07 10:09:08 +08:00
[Bugfix][CI] Machete kernels: deterministic ordering for more cache hits (#23055)
Signed-off-by: Andy Lo <andy@mistral.ai>
This commit is contained in:
parent
9f1c642254
commit
b2fd0b81e0
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user