CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 15:59:17 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/"535e4ef73815ec4c02277d74f4ebbd60"
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=UfFmGrM0YEGxyIPio33%2FqxgmIzlJjpIP%2FD%2B5BuzKbDcwVqUOvHs6o3RJDCOJ%2FwJvjzJ9j%2BVRT4kgufAbLAb%2FhiK3A0%2BrXJpqv9VhMT5OHQZyjdgSyxR3YklcpnQmqlkw5F6MTUa3cV3yBOI%2BJZiuQZyO9eMQA8IHGgDZmJxVKodRCfJR7VU4BwmC%2FBE7l%2F2UHIZ5PsFyEvY%2FU1S2G8NTdhsJVq3S0Qgo0zzmaADdUG%2BFUfYvGjN0VqxS3jCxtQ124bS5yVW6%2FN%2F5Bvf52wqu2A%3D%3D--zVrT9ftptQhrR05j--AS5uLXiqmIUwfKEuSTjqeA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1308229281.1753372756; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 15:59:16 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 15:59:16 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9664:1C115E:F1656:119AFE:68825854
【New IR] Concat python api and vjp (#56316) · PaddlePaddle/Paddle@1da20aa · GitHub




authored
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_generator/api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_generator/vjp_interface_gen_op_list.py
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_op_vjp_manual.cc
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/backend/static_backend.cc
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/backend/static_backend.h
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/rule/vjp/vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/rule/vjp/vjp.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 1da20aa

【New IR] Concat python api and vjp (#56316)
* support ir api form prim
* convert vector of int to intarray
* support ir api for prim
* Add more gen api
* concat python api to concat_grad
* fix gen conflict
* support vjp prim mode in new ir
* remove useless code
* add vjp autogen v1.0
* add test for prim
* resolve type conflict
* modify utils
* remove useless code
* add split op and modify some bug of vectorType
* fix conflict
* add concat python test
---------
Co-authored-by: cyber-pioneer <chenzhuo@tju.edu.cn>
Co-authored-by: Charles-hit <wanghao107@baidu.com>
Co-authored-by: 0x45f <wangzhen45@baidu.com>
Co-authored-by: chenzhiyang <1792266893@qq.com>
Co-authored-by: Chen Zhiyang <chenzhiyang99@126.com>1 parent ac8aad5 commit 1da20aaCopy full SHA for 1da20aa
File tree
Expand file treeCollapse file tree
18 files changed
+376
-64
lines changedFilter options
- paddle/fluid
- ir/dialect
- op_generator
- primitive
- backend
- rule/vjp
- pybind
- python/paddle
- autograd
- tensor
- test
- cpp/prim
- ir/new_ir
Expand file treeCollapse file tree
18 files changed
+376
-64
lines changedpaddle/fluid/ir/dialect/op_generator/api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_generator/api_gen.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
|
paddle/fluid/ir/dialect/op_generator/vjp_interface_gen_op_list.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_generator/vjp_interface_gen_op_list.py+9-1Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 |
|
paddle/fluid/ir/dialect/pd_manual_api.cc
Copy file name to clipboard+36Lines changed: 36 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 | + |
paddle/fluid/ir/dialect/pd_manual_api.h
Copy file name to clipboard+30Lines changed: 30 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 | + |
paddle/fluid/ir/dialect/pd_op_vjp_manual.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_op_vjp_manual.cc+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
24 | 25 |
| |
25 | 26 |
| |
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 | + | |
27 | 64 |
| |
28 | 65 |
| |
29 | 66 |
| |
|
paddle/fluid/primitive/backend/static_backend.cc
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/backend/static_backend.cc+32Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
245 | 277 |
| |
246 | 278 |
| |
247 | 279 |
|
paddle/fluid/primitive/backend/static_backend.h
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/backend/static_backend.h+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 |
| |
41 | 46 |
| |
42 | 47 |
| |
|
paddle/fluid/primitive/rule/vjp/vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/rule/vjp/vjp.cc+22Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
151 | 173 |
| |
152 | 174 |
| |
153 | 175 |
| |
|
paddle/fluid/primitive/rule/vjp/vjp.h
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/rule/vjp/vjp.h+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
|
+7-3Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
| 252 | + | |
252 | 253 |
| |
253 | 254 |
| |
254 | 255 |
| |
| |||
272 | 273 |
| |
273 | 274 |
| |
274 | 275 |
| |
275 |
| - | |
276 |
| - | |
277 |
| - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
278 | 281 |
| |
279 | 282 |
| |
280 | 283 |
| |
| |||
331 | 334 |
| |
332 | 335 |
| |
333 | 336 |
| |
| 337 | + | |
334 | 338 |
| |
335 | 339 |
| |
336 | 340 |
| |
|
You can’t perform that action at this time.
0 commit comments