CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 07:53:26 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/"a10382381b2fdbbe1fc03f7fff8d8778"
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=y1V3QmG3mlA87gk%2Fxwqq1bHkELsd86brVOm22LAA0Ho5%2FgTC%2BT6ANJmgNooia4Tk56pKuSZWWy7SkY8FUeEcFO%2Be89iY3QhscZQynCtVxfQvtRPKInsct9rz6a4%2FnoS2ls9gT2loSUBuRB5ELWqY5D9X8%2FsTN9qmtDBFaMoyercPSXxyaWroIji%2FwIRmJTriZ0kHyh25dqJ7%2BTiTKljWtVpwgBwaLShQTrAzR2XL97K9EYUWMb0eKJRQTT46tGquOljM9snvggyvLEpsbuCtlw%3D%3D--pGbQcu0g5YifAYT3--fks8uhz%2BKL0N%2Fe435cW0pQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.566993603.1753343605; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 07:53:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 07:53:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C9A8:271430:163790E:1AB4B27:6881E675
[NewIR]Add builtin.split op (#56431) · PaddlePaddle/Paddle@1439361 · GitHub




authored
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/transforms/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_dialect.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 1439361
[NewIR]Add builtin.split op (#56431)
* [prim][newir] add basic framework for primitive
* support desctensor in new ir
* add vjp interface
* support vjp in new ir
* support vjp in new ir
* polish vjp interface
* fix stop_gradients set
* fix vjp dispatch
* add comment
* add vjp test for new ir
* add test for tanh vjp
* [prim][newir] add basic framework for primitive
* support desctensor in new ir
* support vjp in new ir
* support vjp in new ir
* polish vjp interface
* fix stop_gradients set
* fix vjp dispatch
* add comment
* add vjp test for new ir
* add test for tanh vjp
* add eager and static backend for warp lower level api
* support call_vjp pybind
* polish code and add test for vjp
* remove useless code
* polish code
* remove useless code
* support mean vjp
* backward origin code
* add test for mean vjp and support has_vjp function
* fix call_vjp
* polish code
* add attrs and dtype interface
* add primitive ops set for backend
* fix compile bugs
* fix some bugs
* fix windows bugs
* add vjp test for tanh_
* fix inference CI
* fix inference ci
* modify fluid cmake
* origin test of tanh and mean passed
* fix conflict
* modify stop_gradient
* remove useless deps
* add cmake
* modify block.ops
* modify test
* fix conflict
* reply review comments
* reply review comments
* pulish code
* fix comment
* fix test
* polish code
* modify backward stop_gradients
* modify static_backend.cc
* refactor grad_op
* support add and add_inplace vjp
* remove useless code
* remove useless code
* remove cout
* modify add_n
* modify add_n with add_vjp test
* modify add_n with add_vjp test
* fix conflict and concat call_vjp
* modify backward test
* Add more gen api
* add builtin split op
---------
Co-authored-by: cxxly <chenxx_id@163.com>
Co-authored-by: Charles-hit <wanghao107@baidu.com>
Co-authored-by: zhangbo9674 <zhangbo54@baidu.com>
Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
Co-authored-by: 0x45f <wangzhen45@baidu.com>1 parent 5c6d0e2 commit 1439361Copy full SHA for 1439361
File tree
Expand file treeCollapse file tree
6 files changed
+187
-6
lines changedFilter options
- paddle
- fluid/ir
- phi_kernel_adaptor
- transforms
- ir/core
Expand file treeCollapse file tree
6 files changed
+187
-6
lines changedpaddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc+31-3Lines changed: 31 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
| |||
174 | 177 |
| |
175 | 178 |
| |
176 | 179 |
| |
177 |
| - | |
178 | 180 |
| |
179 | 181 |
| |
180 | 182 |
| |
| |||
200 | 202 |
| |
201 | 203 |
| |
202 | 204 |
| |
| 205 | + | |
203 | 206 |
| |
204 | 207 |
| |
205 | 208 |
| |
| |||
412 | 415 |
| |
413 | 416 |
| |
414 | 417 |
| |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
415 | 442 |
| |
416 | 443 |
| |
417 | 444 |
| |
| |||
498 | 525 |
| |
499 | 526 |
| |
500 | 527 |
| |
501 |
| - | |
| 528 | + | |
| 529 | + | |
502 | 530 |
| |
503 | 531 |
| |
504 | 532 |
| |
|
paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
311 | 311 |
| |
312 | 312 |
| |
313 | 313 |
| |
314 |
| - | |
| 314 | + | |
315 | 315 |
| |
316 | 316 |
| |
317 | 317 |
| |
|
paddle/fluid/ir/transforms/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/transforms/pd_op_to_kernel_pass.cc+71-1Lines changed: 71 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| 57 | + | |
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
| |||
523 | 524 |
| |
524 | 525 |
| |
525 | 526 |
| |
526 |
| - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
527 | 597 |
| |
528 | 598 |
| |
529 | 599 |
| |
|
paddle/ir/core/builtin_dialect.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_dialect.cc+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
|
paddle/ir/core/builtin_op.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.cc+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
210 | 250 |
| |
211 | 251 |
| |
212 | 252 |
| |
| |||
232 | 272 |
| |
233 | 273 |
| |
234 | 274 |
| |
| 275 | + | |
235 | 276 |
| |
236 | 277 |
|
paddle/ir/core/builtin_op.h
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.h+42-1Lines changed: 42 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 |
| |
97 | 104 |
| |
98 | 105 |
| |
| |||
108 | 115 |
| |
109 | 116 |
| |
110 | 117 |
| |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
111 | 123 |
| |
112 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
113 | 153 |
| |
114 | 154 |
| |
115 | 155 |
| |
| |||
146 | 186 |
| |
147 | 187 |
| |
148 | 188 |
| |
| 189 | + | |
149 | 190 |
| |
150 | 191 |
|
You can’t perform that action at this time.
0 commit comments