Unverified Commit aaccca2b authored by Kevin H. Luu's avatar Kevin H. Luu Committed by GitHub
Browse files

[CI/Build] Fix machete generated kernel files ordering (#8976)


Signed-off-by: default avatarkevin <kevin@anyscale.com>
Co-authored-by: default avatarCody Yu <hao.yu.cody@gmail.com>
parent 062c89e7
......@@ -457,7 +457,13 @@ def generate():
)),
]
schedules = list(set([x[1] for x in default_heuristic]))
# Do not use schedules = list(set(...)) because we need to make sure
# the output list is deterministic; otherwise the generated kernel file
# will be non-deterministic and causes ccache miss.
schedules = []
for _, schedule_config in default_heuristic:
if schedule_config not in schedules:
schedules.append(schedule_config)
impl_configs = []
......
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