We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9adefcf commit 5bd6b70Copy full SHA for 5bd6b70
csrc/quantization/machete/generate.py
@@ -457,7 +457,13 @@ def generate():
457
)),
458
]
459
460
- schedules = list(set([x[1] for x in default_heuristic]))
+ # Do not use schedules = list(set(...)) because we need to make sure
461
+ # the output list is deterministic; otherwise the generated kernel file
462
+ # will be non-deterministic and causes ccache miss.
463
+ schedules = []
464
+ for _, schedule_config in default_heuristic:
465
+ if schedule_config not in schedules:
466
+ schedules.append(schedule_config)
467
468
impl_configs = []
469
0 commit comments