CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 05:26:54 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/"2398ce56f24de81331c1feb87990fd08"
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=dTt1v4OhEqqIylafy1hafKj8d8GtssigjCQ6vppQKRSQW%2FcrTVspkuZhqiqdpS0MVvOXOF05DD8yYVivQMERJ3d3mcNz5xVkN8zXa0iBG6PDdUnAPWKF2AJsurdmV7GnMgtLd82MlTHwEaUI87uTPWBf%2B%2Bm1UGWOQP6R7Q9KKUCRO6Hb32ZqyHAsJgokGLs4cTsuqrIY9RJ40X1M82xcSNHwRqhgS53%2BnUUPuAPUsCrYR6FwNBoXpxuUw%2B%2B3aXeVj8gYFNBSxreEvKf2mevw%2Fw%3D%3D--fV9VIXG8aMuOryh1--n2rlq86kwW%2BFkWtxuqSbSg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.178939505.1753594013; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 05:26:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 05:26:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DDA2:2F5ED7:AEF415:E97583:6885B89D
[CINN / Fusion] Support fusion of Pattern with multi downstream (#66034) · PaddlePaddle/Paddle@55629f8 · GitHub




authored Dismiss banner
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/attribute_storage.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_attribute.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_attribute.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_dialect.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_store_in_fusion_op_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/attr_adt_type_id.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 55629f8

[CINN / Fusion] Support fusion of Pattern with multi downstream (#66034)
* [CINN] Support horizontal fusion
* Change data type
* Support horizontal fusion
* Fix compile error
* add topo sort in backend fusion
* update
* reorder yield_store op adding
* rename fusion to group
* remove IsNotOutputNodeMatcher
* update
* update
* update
* update policy manager
* update
* add reverse topo search algorithm for op fusion
* horizontal support dynamic shape and enhance fusion ability
* fix
* xx
* move logic of reverse topo sort to pattern_graph.cc
* fix some bugs
* update
* skip multi-downstream nodes when doing trivial sink
* fix
* xxxx
* fix
* update
* LiftToAnchorPattern Implementation
* update
* update LiftToAnchorPattern
* horizontal operator fusion enhance
* Implementation of anchor pattern recomputing mechanism
* update
* update
* update
* update
* update
* fix compile err
* update
* fix horizontal fusion
* fix syntax err
* register anchor policy
* update
* update
* support LiftToAnchorPattern for reduce tree pattern
* update
* update
* fix add_store_in_group_op
* fix pir all path test
* update
* fix split recompute
* update
* update
* update
* fix compile
* update
* fix recompute matcher er
* update
* update
* reduce logs
* fix SearchAnchorTransformRecursively
* update
* recover add_store_in_fusion_op
* update
* update
* update
* refine codes and add interpreter
* update
* update
* support cluster pass and add tracker to fusionOp
* update
* update backend
* update
* update
* update
* update
* update
* update
* update
* update
* fix compile err
* update
* update
* fix compile err
* update
* update
* update
* add_test
* fix
* fix
* fix
* fix
* fix reshape tmp
* fix test_graph
* fix test_sd_resnet_block
* fix shared tracker conflict
* revert fix reshape tmp
* fix softmax
* fix
* fix test_sub_graph_23
---------
Co-authored-by: jiahongyu <jiahongyu@baidu.com>
Co-authored-by: xiongkun <xiongkun03@baidu.com>
Co-authored-by: feifei-111 <2364819892@qq.com>
Co-authored-by: zhangbaizhou <zhangbaizhou@baidu.com>1 parent ba16a30 commit 55629f8Copy full SHA for 55629f8
File tree
Expand file treeCollapse file tree
68 files changed
+3733
-2129
lines changedFilter options
- paddle/cinn
- hlir
- dialect/operator
- ir
- transforms
- lowering_pass
- framework/pir
- operator_fusion
- backend
- frontend
- fusion_tracker
- graph_transformer
- pir_graph_analyzing
- policy
- test/ir/pir/cinn
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
68 files changed
+3733
-2129
lines changedpaddle/cinn/hlir/dialect/operator/ir/attribute_storage.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/attribute_storage.h+21Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
100 | 101 |
| |
101 | 102 |
| |
102 | 103 |
| |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
103 | 124 |
| |
104 | 125 |
| |
105 | 126 |
| |
|
paddle/cinn/hlir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.cc+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
149 |
| - | |
| 150 | + | |
| 151 | + | |
150 | 152 |
| |
151 | 153 |
| |
152 | 154 |
| |
153 | 155 |
| |
154 | 156 |
| |
155 | 157 |
| |
| 158 | + | |
| 159 | + | |
| 160 | + | |
156 | 161 |
| |
157 | 162 |
| |
158 | 163 |
| |
|
paddle/cinn/hlir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.h+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
| 70 | + | |
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
| 80 | + | |
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
|
paddle/cinn/hlir/dialect/operator/ir/op_attribute.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_attribute.cc+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
| |||
29 | 34 |
| |
30 | 35 |
| |
31 | 36 |
| |
| 37 | + |
paddle/cinn/hlir/dialect/operator/ir/op_attribute.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_attribute.h+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
21 | 37 |
| |
22 | 38 |
| |
23 | 39 |
| |
| |||
56 | 72 |
| |
57 | 73 |
| |
58 | 74 |
| |
| 75 | + |
paddle/cinn/hlir/dialect/operator/ir/op_dialect.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/op_dialect.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| 64 | + | |
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
| |||
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
84 | 89 |
| |
85 | 90 |
| |
86 | 91 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/add_store_in_fusion_op_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_store_in_fusion_op_pass.cc-11Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 | 36 |
| |
41 | 37 |
| |
42 | 38 |
| |
| |||
69 | 65 |
| |
70 | 66 |
| |
71 | 67 |
| |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 | 68 |
| |
80 | 69 |
| |
81 | 70 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/attr_adt_type_id.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/attr_adt_type_id.h+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
| |||
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
89 |
| - | |
| 90 | + | |
| 91 | + | |
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc+47-16Lines changed: 47 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
| |||
109 | 110 |
| |
110 | 111 |
| |
111 | 112 |
| |
| 113 | + | |
| 114 | + | |
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
| |||
199 | 202 |
| |
200 | 203 |
| |
201 | 204 |
| |
202 |
| - | |
| 205 | + | |
203 | 206 |
| |
204 | 207 |
| |
205 | 208 |
| |
| |||
218 | 221 |
| |
219 | 222 |
| |
220 | 223 |
| |
221 |
| - | |
222 |
| - | |
| 224 | + | |
| 225 | + | |
223 | 226 |
| |
224 | 227 |
| |
225 | 228 |
| |
| |||
245 | 248 |
| |
246 | 249 |
| |
247 | 250 |
| |
248 |
| - | |
249 |
| - | |
| 251 | + | |
| 252 | + | |
250 | 253 |
| |
251 | 254 |
| |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
260 | 270 |
| |
261 | 271 |
| |
262 | 272 |
| |
263 | 273 |
| |
264 | 274 |
| |
265 | 275 |
| |
266 |
| - | |
| 276 | + | |
| 277 | + | |
267 | 278 |
| |
268 | 279 |
| |
269 | 280 |
| |
270 | 281 |
| |
271 | 282 |
| |
272 | 283 |
| |
273 | 284 |
| |
| 285 | + | |
| 286 | + | |
274 | 287 |
| |
275 | 288 |
| |
276 | 289 |
| |
| |||
320 | 333 |
| |
321 | 334 |
| |
322 | 335 |
| |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
323 | 352 |
| |
324 | 353 |
| |
325 | 354 |
| |
| |||
349 | 378 |
| |
350 | 379 |
| |
351 | 380 |
| |
352 |
| - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
353 | 384 |
| |
354 | 385 |
| |
355 | 386 |
| |
|
You can’t perform that action at this time.
0 commit comments