Eatra logging when verbose is true for EasyCache

This commit is contained in:
Jedrzej Kosinski 2025-08-22 02:16:09 -07:00
parent 97b262d0c3
commit 350a5a1934

View File

@ -30,6 +30,8 @@ def easycache_forward_wrapper(executor, *args, **kwargs):
if do_easycache: if do_easycache:
# if first cond marked this step for skipping, skip it and use appropriate cached values # if first cond marked this step for skipping, skip it and use appropriate cached values
if easycache.skip_current_step: if easycache.skip_current_step:
if easycache.verbose:
logging.info(f"EasyCache [verbose] - was marked to skip this step by {easycache.first_cond_uuid}. Present uuids: {uuids}")
return easycache.apply_cache_diff(x, uuids) return easycache.apply_cache_diff(x, uuids)
if easycache.initial_step: if easycache.initial_step:
easycache.first_cond_uuid = uuids[0] easycache.first_cond_uuid = uuids[0]