Skip to content

Commit

Permalink
[3/N] Refactor FR script - Add a processor module (pytorch#133933)
Browse files Browse the repository at this point in the history
Pull Request resolved: pytorch#133933
Approved by: https://github.com/c-p-i-o
ghstack dependencies: pytorch#133927, pytorch#133929
  • Loading branch information
fduwjj authored and pytorchmergebot committed Aug 20, 2024
1 parent bce0cab commit e41b520
Show file tree
Hide file tree
Showing 3 changed files with 901 additions and 892 deletions.
2 changes: 1 addition & 1 deletion test/distributed/flight_recorder/test_fr_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
REPO_ROOT = pathlib.Path(__file__).resolve().parent.parent.parent.parent

sys.path.insert(0, str(REPO_ROOT))
from tools.flight_recorder.fr_trace import match_one_event, MatchState
from tools.flight_recorder.components.processor import match_one_event, MatchState


# Make sure to remove REPO_ROOT after import is done
Expand Down
Loading

0 comments on commit e41b520

Please sign in to comment.