Skip to content

Commit

Permalink
Resolve kineto_file path bug with absolute path conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
TaekyungHeo committed Oct 7, 2024
1 parent bece42f commit 6bdf24e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/trace_link/trace_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def load_sync_dependencies(
that have synchronization dependencies.
"""
sync_dependencies = {}
trace_analysis = TraceAnalysis(trace_dir=os.path.dirname(kineto_file))
absolute_kineto_file = os.path.abspath(kineto_file)
trace_dir = os.path.dirname(absolute_kineto_file)
trace_analysis = TraceAnalysis(trace_dir=trace_dir)
cp_graph, success = trace_analysis.critical_path_analysis(
rank=rank, annotation=annotation, instance_id=instance_id
)
Expand Down

0 comments on commit 6bdf24e

Please sign in to comment.