CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 21:04:04 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/"31fbb4d5f76f4b6a41c9b2cb98641e7e"
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=5wRcl9FevV4NEuHHkqpNohv8WMHPugfB3unWxnRGMWuWnDXGqq%2BUsY87msNG9tHWfo%2FX3NYK529ohjyYyn%2FnN3113aKX9tGpuMtmCO0tWAee1EApAl7zZX4KcZjZagliRidNS3uH3rUAXW29fi5YjXwxRaA9QonsxkvA39jBdaOOlmSWwPoEqXCzOiEka4jEhdw0PdqXGlQvqfzPjwcwPPr6enwqt%2BjNDINrAi%2F6XPqflJt%2FLT5I%2BMdJfZ8IeKZmn7W5MqA%2BhgBQ3lUYV9jfcA%3D%3D--JiqYP8LhPI5MWUFS--V1T2BReLeUVlIAmW3vpaiw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.150546703.1753650243; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:04:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:04:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C554:2F5ED7:1185A36:1708A88:68869443
【pir】modify Call vjp interface for controlflow grad (#58277) · PaddlePaddle/Paddle@376ace4 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_interface_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/interface/interface.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/interface/vjp.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: python/paddle/autograd/ir_backward.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 376ace4
【pir】modify Call vjp interface for controlflow grad (#58277)
* tmp
* [PIR]Migrate maximum into pir
* Polish code
* add ir_grad of static_gradient
* add test
* modify bug
* modify
* add mean fill_constant test
* modify cpu int32 test
* get_shape_tensor
* delete
* add default place
* modify grad
* modify call_vjp
* Update python/paddle/autograd/ir_backward.py
* fix name
* new ci
---------
Co-authored-by: 0x45f <wangzhen45@baidu.com>1 parent cbdba0a commit 376ace4Copy full SHA for 376ace4
File tree
Expand file treeCollapse file tree
10 files changed
+138
-36
lines changedFilter options
- paddle/fluid
- pir/dialect
- op_generator
- operator
- interface
- ir
- pybind
- python/paddle/autograd
- test
- cpp/prim
- ir/new_ir
- prim/pir_prim
Expand file treeCollapse file tree
10 files changed
+138
-36
lines changedpaddle/fluid/pir/dialect/op_generator/op_interface_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_interface_gen.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| |||
317 | 317 |
| |
318 | 318 |
| |
319 | 319 |
| |
320 |
| - | |
| 320 | + | |
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
|
paddle/fluid/pir/dialect/operator/interface/interface.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/interface/interface.cc+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
33 |
| - | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
|
paddle/fluid/pir/dialect/operator/interface/vjp.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/interface/vjp.h+12-2Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| 32 | + | |
| 33 | + | |
30 | 34 |
| |
31 | 35 |
| |
32 | 36 |
| |
| |||
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
| 42 | + | |
| 43 | + | |
38 | 44 |
| |
39 | 45 |
| |
40 |
| - | |
| 46 | + | |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
| |||
49 | 55 |
| |
50 | 56 |
| |
51 | 57 |
| |
| 58 | + | |
| 59 | + | |
52 | 60 |
| |
53 | 61 |
| |
54 |
| - | |
| 62 | + | |
55 | 63 |
| |
56 | 64 |
| |
57 | 65 |
| |
58 | 66 |
| |
| 67 | + | |
| 68 | + | |
59 | 69 |
| |
60 | 70 |
| |
61 | 71 |
| |
|
paddle/fluid/pir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op.h+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
| 55 | + | |
54 | 56 |
| |
55 | 57 |
| |
56 | 58 |
| |
|
paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
|
paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
695 | 695 |
| |
696 | 696 |
| |
697 | 697 |
| |
| 698 | + | |
| 699 | + | |
698 | 700 |
| |
699 | 701 |
| |
700 | 702 |
| |
| |||
704 | 706 |
| |
705 | 707 |
| |
706 | 708 |
| |
707 |
| - | |
708 |
| - | |
| 709 | + | |
| 710 | + | |
709 | 711 |
| |
710 | 712 |
| |
711 | 713 |
| |
|
python/paddle/autograd/ir_backward.py
Copy file name to clipboardExpand all lines: python/paddle/autograd/ir_backward.py+30-14Lines changed: 30 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 |
| - | |
| 331 | + | |
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
342 |
| - | |
| 342 | + | |
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
361 |
| - | |
| 361 | + | |
362 | 362 |
| |
| 363 | + | |
363 | 364 |
| |
364 | 365 |
| |
365 | 366 |
| |
| |||
396 | 397 |
| |
397 | 398 |
| |
398 | 399 |
| |
399 |
| - | |
400 |
| - | |
401 |
| - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
402 | 405 |
| |
403 | 406 |
| |
404 | 407 |
| |
| 408 | + | |
405 | 409 |
| |
406 | 410 |
| |
407 | 411 |
| |
| |||
424 | 428 |
| |
425 | 429 |
| |
426 | 430 |
| |
| 431 | + | |
427 | 432 |
| |
428 | 433 |
| |
429 |
| - | |
| 434 | + | |
430 | 435 |
| |
431 |
| - | |
| 436 | + | |
| 437 | + | |
432 | 438 |
| |
433 | 439 |
| |
434 | 440 |
| |
435 | 441 |
| |
436 | 442 |
| |
| 443 | + | |
437 | 444 |
| |
438 | 445 |
| |
439 | 446 |
| |
| |||
443 | 450 |
| |
444 | 451 |
| |
445 | 452 |
| |
446 |
| - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
447 | 458 |
| |
448 |
| - | |
| 459 | + | |
449 | 460 |
| |
450 | 461 |
| |
| 462 | + | |
451 | 463 |
| |
452 | 464 |
| |
453 | 465 |
| |
454 | 466 |
| |
455 |
| - | |
| 467 | + | |
| 468 | + | |
456 | 469 |
| |
457 | 470 |
| |
458 | 471 |
| |
| |||
494 | 507 |
| |
495 | 508 |
| |
496 | 509 |
| |
497 |
| - | |
| 510 | + | |
498 | 511 |
| |
499 | 512 |
| |
500 | 513 |
| |
501 | 514 |
| |
502 | 515 |
| |
503 | 516 |
| |
504 | 517 |
| |
505 |
| - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
506 | 522 |
| |
507 | 523 |
| |
508 | 524 |
| |
509 | 525 |
| |
510 |
| - | |
| 526 | + | |
511 | 527 |
| |
512 | 528 |
| |
513 | 529 |
| |
|
+27-7Lines changed: 27 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
| 63 | + | |
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
67 |
| - | |
| 69 | + | |
| 70 | + | |
68 | 71 |
| |
69 | 72 |
| |
70 | 73 |
| |
| |||
114 | 117 |
| |
115 | 118 |
| |
116 | 119 |
| |
| 120 | + | |
| 121 | + | |
117 | 122 |
| |
118 | 123 |
| |
119 | 124 |
| |
120 | 125 |
| |
121 | 126 |
| |
122 |
| - | |
| 127 | + | |
| 128 | + | |
123 | 129 |
| |
124 | 130 |
| |
125 | 131 |
| |
| |||
169 | 175 |
| |
170 | 176 |
| |
171 | 177 |
| |
| 178 | + | |
| 179 | + | |
172 | 180 |
| |
173 | 181 |
| |
174 | 182 |
| |
175 | 183 |
| |
176 | 184 |
| |
177 |
| - | |
| 185 | + | |
| 186 | + | |
178 | 187 |
| |
179 | 188 |
| |
180 | 189 |
| |
| |||
227 | 236 |
| |
228 | 237 |
| |
229 | 238 |
| |
| 239 | + | |
| 240 | + | |
230 | 241 |
| |
231 | 242 |
| |
232 | 243 |
| |
233 | 244 |
| |
234 |
| - | |
| 245 | + | |
| 246 | + | |
235 | 247 |
| |
236 | 248 |
| |
237 | 249 |
| |
| |||
291 | 303 |
| |
292 | 304 |
| |
293 | 305 |
| |
| 306 | + | |
| 307 | + | |
294 | 308 |
| |
295 | 309 |
| |
296 | 310 |
| |
297 | 311 |
| |
298 | 312 |
| |
299 |
| - | |
| 313 | + | |
| 314 | + | |
300 | 315 |
| |
301 | 316 |
| |
302 | 317 |
| |
| |||
356 | 371 |
| |
357 | 372 |
| |
358 | 373 |
| |
| 374 | + | |
| 375 | + | |
359 | 376 |
| |
360 | 377 |
| |
361 | 378 |
| |
362 | 379 |
| |
363 | 380 |
| |
364 | 381 |
| |
365 |
| - | |
| 382 | + | |
366 | 383 |
| |
367 | 384 |
| |
368 | 385 |
| |
| |||
422 | 439 |
| |
423 | 440 |
| |
424 | 441 |
| |
| 442 | + | |
| 443 | + | |
425 | 444 |
| |
426 | 445 |
| |
427 | 446 |
| |
428 | 447 |
| |
429 | 448 |
| |
430 | 449 |
| |
431 |
| - | |
| 450 | + | |
| 451 | + | |
432 | 452 |
| |
433 | 453 |
| |
434 | 454 |
| |
|
You can’t perform that action at this time.
0 commit comments