CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 03:40:58 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
etag: W/"5a39bff1a50d65367303cb416d36bc7b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=poTekEKCBqLYuxHP4NF0HphItx9sTECX6w3%2BJZD5nCPxe7U6yHmQ9QbqPRwVwbjR0nc9UPKudztmowMuNW33rU872oQrBHEUR9VYpVMx%2BxNc4nF67%2FzkrofKWIEmL7phOSF1x5O8ev4obiOXaSConGEzcMARe1uWHqpOppIL1dwxuVrU7%2FT4F2hG9FspazRZHZ6tSxcDMFEubKAaL3nWXs7cUJdYqvpeazZXwDOQa7Ipba%2FhuPNmrY7RbI0MA1N26Fq8y6XfDbvu78g9Eiwo0w%3D%3D--LwO4JWNIXMTqZd8I--kB4h%2FXkT9qZvw9vhKVy12A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.725085081.1753760457; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:40:57 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:40:57 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 974A:3CD0B4:2363A3:33C981:688842C9
[PIR]Add Fused dropout add pass (#58272) · PaddlePaddle/Paddle@cc6d16a · GitHub



authored
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/ops_api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/CMakeLists.txt
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/CMakeLists.txt
Copy file name to clipboardExpand all lines: python/paddle/autograd/ir_backward.py
Copy file name to clipboardExpand all lines: python/paddle/incubate/nn/functional/fused_dropout_add.py
Copy file name to clipboardExpand all lines: test/ir/new_ir/CMakeLists.txt
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit cc6d16a

[PIR]Add Fused dropout add pass (#58272)
* tmp
* fix flashattn compile bug
* modify unsqueeze
* modify part complex bug
* modify
* modify cpu
* [PIR]Migrate maximum into pir
* Polish code
* add ir_grad of static_gradient
* add test
* modify bug
* modify
* test_with_pir
* close one test
* add_math_op_patch
* modify
* modify
* add mean fill_constant test
* modify cpu int32 test
* get_shape_tensor
* delete
* add default place
* add dropout unittest
* Update test/legacy_test/test_elementwise_div_op.py
* modify review comment
* modify add test
* modify logic and sub
* modify
* add fused_gemm_epilogue pass
* polish code
* udate cmake
* fused_dropout_add_pass
* modify cmake
* modify
* Update test/cpp/pir/pattern_rewrite/CMakeLists.txt
* Update paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
Co-authored-by: Yuanle Liu <yuanlehome@163.com>
* Update paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
Co-authored-by: Yuanle Liu <yuanlehome@163.com>
* Update paddle/fluid/pybind/pir.cc
* Update test/ir/new_ir/fused_pass/test_fused_dropout_add.py
* Update test/ir/new_ir/fused_pass/test_fused_dropout_add.py
* Update paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
* add ci converage
---------
Co-authored-by: zyfncg <zhangyunfei07@baidu.com>
Co-authored-by: 0x45f <wangzhen45@baidu.com>
Co-authored-by: Yuanle Liu <yuanlehome@163.com>1 parent 84e6f03 commit cc6d16aCopy full SHA for cc6d16a
File tree
Expand file treeCollapse file tree
11 files changed
+320
-13
lines changedFilter options
- paddle/fluid
- pir
- dialect
- op_generator
- operator/ir
- transforms/fusion
- pybind
- python/paddle
- autograd
- incubate/nn/functional
- test/ir/new_ir
- fused_pass
Expand file treeCollapse file tree
11 files changed
+320
-13
lines changedpaddle/fluid/pir/dialect/op_generator/ops_api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/ops_api_gen.py+14-1Lines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
72 | 85 |
| |
73 | 86 |
| |
74 | 87 |
| |
|
paddle/fluid/pir/dialect/operator/ir/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/CMakeLists.txt+7-8Lines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
136 | 135 |
| |
137 | 136 |
| |
138 | 137 |
| |
| |||
160 | 159 |
| |
161 | 160 |
| |
162 | 161 |
| |
163 |
| - | |
164 |
| - | |
165 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
166 | 165 |
| |
167 | 166 |
| |
168 | 167 |
| |
|
paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
Copy file name to clipboard+146Lines changed: 146 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + |
paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.h
Copy file name to clipboard+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
paddle/fluid/pybind/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/CMakeLists.txt+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| |||
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| 70 | + | |
69 | 71 |
| |
70 | 72 |
| |
71 | 73 |
| |
|
python/paddle/autograd/ir_backward.py
Copy file name to clipboardExpand all lines: python/paddle/autograd/ir_backward.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
| 113 | + | |
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
|
python/paddle/incubate/nn/functional/fused_dropout_add.py
Copy file name to clipboardExpand all lines: python/paddle/incubate/nn/functional/fused_dropout_add.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
|
test/ir/new_ir/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/ir/new_ir/CMakeLists.txt+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + |
test/ir/new_ir/fused_pass/CMakeLists.txt
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
You can’t perform that action at this time.
0 commit comments