-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Inductor][fx pass] Remove split nodes with split section size one
Summary: We observe that DSNN has many split nodes with split section size one, which hinder the split cat merge in the later pass, thus we remove such nodes in the early stage. Test Plan: # local reproduce with DSNN model ``` buck2 run mode/opt //scripts/jackiexu0313/pt2:local_model_with_pt2 -- --test_mode split_batch-group -c ``` P872705076 diffing: https://www.internalfb.com/intern/diffing/?paste_number=872698775 # unit test ``` buck2 test mode/dev-nosan //caffe2/test/inductor:split_cat_fx_passes ``` Buck UI: https://www.internalfb.com/buck2/b248410e-a556-47a2-9293-7f113b49f0d6 Test UI: https://www.internalfb.com/intern/testinfra/testrun/10696049124469023 Network: Up: 80KiB Down: 47KiB (reSessionID-a31dec17-d322-4757-ba84-4d262bd139cf) Jobs completed: 24. Time elapsed: 1:52.8s. Cache hits: 0%. Commands: 2 (cached: 0, remote: 0, local: 2) Tests finished: Pass 9. Fail 0. Fatal 0. Skip 0. Build failure 0 Differential Revision: D50990290
- Loading branch information
1 parent
63fc482
commit 268cd80
Showing
2 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters