Skip to content

Commit

Permalink
remote call site
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Dec 20, 2023
1 parent 963339f commit aaa2487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jax/_src/pjit.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,8 @@ def _process_in_axis_resources(in_shardings_thunk, in_layouts_thunk, in_avals,
def explain_cache_miss(f: Callable, unseen_f: bool, cache: dict, key: tuple,
result: tuple):
if config.check_tracer_leaks.value: return
print(f"TRACING CACHE MISS because:")
callsite = source_info_util.summarize(source_info_util.current())
print(f"TRACING CACHE MISS at {callsite} because:")

def unpack(key):
transforms, (), _, (in_type, debug_info, _), *_ = key
Expand Down

0 comments on commit aaa2487

Please sign in to comment.