-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PIR][Inference] open pir amp pass and fix some bugs (#67822)
* register for auto_mixed_precision_pass.cc * modified: paddle/fluid/pir/transforms/general/auto_mixed_precision_pass.cc * fix some bugs for amp pass * fix conflict for cse and amp pass * fix amp pass for en_table_structure,mask_rcnn_r50_1x_coco,rec_mtb_nrtr in auto_mixed_precision_pass.cc * refine pir amp_pass * update * fix amp bugs about SetOptimizationLevel(3) * add some config settings for AutoMixedPrecisionPass * fix fused_bias_residual_layernorm op bugs for amp pass. * delete repeat func. * code stytle * fix code style --------- Co-authored-by: yuanlehome <yuanlehome@163.com>
- Loading branch information
1 parent
47b9213
commit b01f759
Showing
4 changed files
with
106 additions
and
12 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
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