Skip to content

Commit

Permalink
disable cached workload check
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGeens committed Jan 17, 2025
1 parent c5569ff commit 5d9da52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stream/stages/generation/tiled_workload_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,13 @@ def run(self):
def cached_workload_matches(self, tiles: list[ComputationNode], cached_tiles: ComputationNodeWorkload) -> bool:
"""Check if the tiles match the cached tiled workload.
Can't use 'has_same_performance' because nb_real_predecessors is not set yet for tiles."""

# ! find a better way to check if the cached workload is valid -RG
logger.warn(
"Cached workload is not checked for correctness. Manually remove the cache if it no longer matches the workload"
)
return True

logger.info("Checking if the cached workload is valid for this run.")
return all(
any(
Expand Down

0 comments on commit 5d9da52

Please sign in to comment.