CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:08:10 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/"f2b534e265ad0f5871008664d5ad9da5"
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=f21GAyabfX1gHUe0sZilfaHzN0q9chq0F%2FAL%2F50ZO2Eo99A1%2B0Z7PqH7%2FLV8KAA8k%2FBLo5gW4EgQAqHoKDPa2qHP3kSWhe0T6Fx7mxD8ubconGgmvEK1NaOTbZ8RjAlOUylDUEfPCLtY3Jq5XLPPdArXHp0tEWEQHskKHORlhNbe5%2BBFSVDcuY17zGG2a1Uvq6wV49bDCL74Zfl69Jc8Q4JuptTukRx6%2BMACv0YshzK0Sx4I4grfjEiAzoh8jdDHt%2BSKwKdaUgdbFSuzs10X0w%3D%3D--K00KBKxSbqe7tL4s--%2FUQ6uU3Df%2FEWmoXxp1jJGw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1611346116.1753430889; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:08:09 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:08:09 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CD86:3140B2:507D94:616BA7:68833B69
[pir] [run program op] Ir run program node prune (#57566) · PaddlePaddle/Paddle@70c5f22 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/eager/to_static/run_program_op_func.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/to_static/run_program_op_node.h
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/op_function_common.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 70c5f22
[pir] [run program op] Ir run program node prune (#57566)
* support build model in python
* fix ci bugs
* fix ci bugs
* fix compile bugs
* fix ci bugs
* add infermeta for data
* fix ci bugs
* fix ci bugs
* fix ci bugs
* fix bugs when run ir program mutiple times
* perfect code
* frontend demo debugging
* support program split and go into run program node.
* simple run the dy2static test in newir_api mode.
* remove frame.proto changes
* merge
* fix ir-run-program-node
* fix some code
* fix output error
* fix some errors
* fix
* fix
* fix
* fix conflict
* fix files
* fix some errors
* support backward inputs prune
* support new ir prune in run_program_ad_func
* fix conflict
* tmp commit
* support backward of run program node in nn.Layer
* fix unittest problem
* filter inputs and outputs
* fix grad changes
* fix error when merge
* fix
* success run gpt forward and backward.
* consider no need buffer to reduce gpu memory usage
* merge
* fix concat case.py
* fix concat op
* fix
* fix
* fix mac compile problem
* fix compile error
---------
Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>1 parent 6c0f338 commit 70c5f22Copy full SHA for 70c5f22
File tree
Expand file treeCollapse file tree
16 files changed
+517
-191
lines changedFilter options
- paddle
- fluid
- eager/to_static
- pybind
- phi/kernels/impl
- pir/core
- python/paddle
- base/dygraph
- jit
- dy2static
- newir_dy2static
- pir
- tensor
- test/ir/new_ir
Expand file treeCollapse file tree
16 files changed
+517
-191
lines changedpaddle/fluid/eager/to_static/run_program_op_func.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/to_static/run_program_op_func.h+36-16Lines changed: 36 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
| |||
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
93 | 112 |
| |
94 | 113 |
| |
95 | 114 |
| |
| |||
243 | 262 |
| |
244 | 263 |
| |
245 | 264 |
| |
| 265 | + | |
| 266 | + | |
| 267 | + | |
246 | 268 |
| |
247 |
| - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
248 | 276 |
| |
249 | 277 |
| |
250 | 278 |
| |
| |||
253 | 281 |
| |
254 | 282 |
| |
255 | 283 |
| |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 | 284 |
| |
260 | 285 |
| |
261 | 286 |
| |
262 | 287 |
| |
263 | 288 |
| |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 | 289 |
| |
269 |
| - | |
270 |
| - | |
| 290 | + | |
271 | 291 |
| |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
276 | 297 |
| |
277 |
| - | |
278 | 298 |
| |
279 | 299 |
| |
280 | 300 |
| |
281 | 301 |
| |
282 | 302 |
| |
283 | 303 |
| |
284 |
| - | |
285 | 304 |
| |
286 | 305 |
| |
287 | 306 |
| |
| |||
290 | 309 |
| |
291 | 310 |
| |
292 | 311 |
| |
| 312 | + | |
293 | 313 |
| |
294 | 314 |
| |
295 | 315 |
| |
|
paddle/fluid/eager/to_static/run_program_op_node.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/to_static/run_program_op_node.h+55-58Lines changed: 55 additions & 58 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 | 92 |
| |
102 | 93 |
| |
103 | 94 |
| |
| |||
117 | 108 |
| |
118 | 109 |
| |
119 | 110 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 | 111 |
| |
128 | 112 |
| |
129 | 113 |
| |
| |||
133 | 117 |
| |
134 | 118 |
| |
135 | 119 |
| |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 | 120 |
| |
145 | 121 |
| |
146 | 122 |
| |
| |||
214 | 190 |
| |
215 | 191 |
| |
216 | 192 |
| |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
217 | 199 |
| |
218 | 200 |
| |
219 | 201 |
| |
220 |
| - | |
221 |
| - | |
222 |
| - | |
223 |
| - | |
224 |
| - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
225 | 210 |
| |
226 | 211 |
| |
227 | 212 |
| |
| |||
255 | 240 |
| |
256 | 241 |
| |
257 | 242 |
| |
258 |
| - | |
| 243 | + | |
259 | 244 |
| |
260 | 245 |
| |
261 | 246 |
| |
| |||
272 | 257 |
| |
273 | 258 |
| |
274 | 259 |
| |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
275 | 265 |
| |
276 | 266 |
| |
277 | 267 |
| |
| |||
461 | 451 |
| |
462 | 452 |
| |
463 | 453 |
| |
464 |
| - | |
465 |
| - | |
466 | 454 |
| |
467 | 455 |
| |
468 | 456 |
| |
| |||
523 | 511 |
| |
524 | 512 |
| |
525 | 513 |
| |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
526 | 523 |
| |
527 | 524 |
| |
528 | 525 |
| |
| |||
997 | 994 |
| |
998 | 995 |
| |
999 | 996 |
| |
| 997 | + | |
| 998 | + | |
1000 | 999 |
| |
1001 | 1000 |
| |
1002 | 1001 |
| |
1003 | 1002 |
| |
1004 | 1003 |
| |
1005 | 1004 |
| |
1006 | 1005 |
| |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1007 | 1020 |
| |
1008 | 1021 |
| |
1009 | 1022 |
| |
| |||
1016 | 1029 |
| |
1017 | 1030 |
| |
1018 | 1031 |
| |
1019 |
| - | |
1020 |
| - | |
1021 |
| - | |
1022 |
| - | |
1023 |
| - | |
1024 |
| - | |
1025 |
| - | |
1026 |
| - | |
1027 |
| - | |
1028 |
| - | |
1029 |
| - | |
1030 |
| - | |
1031 |
| - | |
1032 | 1032 |
| |
1033 | 1033 |
| |
1034 | 1034 |
| |
| |||
1076 | 1076 |
| |
1077 | 1077 |
| |
1078 | 1078 |
| |
1079 |
| - | |
1080 |
| - | |
1081 |
| - | |
1082 |
| - | |
1083 |
| - | |
1084 |
| - | |
1085 |
| - | |
1086 |
| - | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1087 | 1086 |
| |
1088 | 1087 |
| |
1089 | 1088 |
| |
| |||
1287 | 1286 |
| |
1288 | 1287 |
| |
1289 | 1288 |
| |
1290 |
| - | |
| 1289 | + | |
1291 | 1290 |
| |
1292 | 1291 |
| |
1293 | 1292 |
| |
| |||
1306 | 1305 |
| |
1307 | 1306 |
| |
1308 | 1307 |
| |
1309 |
| - | |
| 1308 | + | |
1310 | 1309 |
| |
1311 | 1310 |
| |
1312 | 1311 |
| |
| |||
1348 | 1347 |
| |
1349 | 1348 |
| |
1350 | 1349 |
| |
1351 |
| - | |
1352 | 1350 |
| |
1353 | 1351 |
| |
1354 | 1352 |
| |
| |||
1358 | 1356 |
| |
1359 | 1357 |
| |
1360 | 1358 |
| |
1361 |
| - | |
1362 |
| - | |
| 1359 | + | |
1363 | 1360 |
| |
1364 | 1361 |
| |
1365 | 1362 |
| |
|
paddle/fluid/pybind/op_function_common.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/op_function_common.cc+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1027 | 1027 |
| |
1028 | 1028 |
| |
1029 | 1029 |
| |
| 1030 | + | |
1030 | 1031 |
| |
1031 | 1032 |
| |
1032 | 1033 |
| |
|
You can’t perform that action at this time.
0 commit comments