CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 01:09: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/"16221abb3bbec1059b178521791cb4f7"
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=x8WDP%2BPfKm509IzkaoDT%2FmTDhMvJSoa8T9axbIs2YBp7XohLD2xCp4h%2BiF%2BqsOsArLRV9SA%2FebM3sIY7dYxeNuiaVnZQbV0wZ4czJOAT0rm9lJJ0yRCt2deQQpMx82TvyNoC%2BrtaK3uyONtMwjjlikvDx5yFS55Nq1ozbZtrbr3naOBgIpLaQt2USpHyqNmRCWUpB9%2Fho3ezU6yIXfqKZcNNo2Cd7dAgtL8crk43x5jYih1Hu4IBJrh%2FyAH1BRKYrKpZY1LTp1GHghtDuftTRw%3D%3D--QHMHS9k92psN7OKl--%2FkhGi4LWIazhFdPyABl%2FmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2012672422.1753751365; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 01:09:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 01:09:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BA54:E5283:185D2D:23F221:68881F45
Support pir for python get set (#59928) · PaddlePaddle/Paddle@0d2c1eb · GitHub


authored
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/pir_adaptor/pir_adaptor_util.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.cc
Copy file name to clipboardExpand all lines: python/paddle/base/variable_index.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/convert_operators.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/pir_partial_program.py
Copy file name to clipboardExpand all lines: python/paddle/jit/pir_dy2static/parameter_recorder.py
Copy file name to clipboardExpand all lines: python/paddle/pir/math_op_patch.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 0d2c1eb
Support pir for python get set (#59928)
* support __getitem__ & __setitem__ in PIR
* dy2static consider inplace mapping.
* fix DtypeError in case15
* disable AST+PIR only
* add missing decorator test_legacy_and_pt_and_pir
* modify Py_Dict to ValueDict
* fix test_top_p
---------
Co-authored-by: xiongkun <xiongkun03@baidu.com>
Co-authored-by: SigureMo <sigure.qaq@gmail.com>1 parent 01c2242 commit 0d2c1ebCopy full SHA for 0d2c1eb
File tree
Expand file treeCollapse file tree
11 files changed
+271
-90
lines changedFilter options
- paddle
- fluid
- framework/new_executor/pir_adaptor
- pybind
- phi/infermeta
- python/paddle
- base
- jit
- dy2static
- pir_dy2static
- pir
- test
- dygraph_to_static
- indexing
Expand file treeCollapse file tree
11 files changed
+271
-90
lines changedpaddle/fluid/framework/new_executor/pir_adaptor/pir_adaptor_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/pir_adaptor/pir_adaptor_util.cc+3-5Lines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
456 | 456 |
| |
457 | 457 |
| |
458 | 458 |
| |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
464 | 462 |
| |
465 | 463 |
| |
466 | 464 |
| |
|
+39Lines changed: 39 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
| 43 | + | |
42 | 44 |
| |
43 | 45 |
| |
44 | 46 |
| |
| |||
1396 | 1398 |
| |
1397 | 1399 |
| |
1398 | 1400 |
| |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
1399 | 1436 |
| |
1400 | 1437 |
| |
| 1438 | + | |
| 1439 | + | |
1401 | 1440 |
| |
1402 | 1441 |
| |
1403 | 1442 |
| |
|
paddle/phi/infermeta/unary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.cc+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3627 | 3627 |
| |
3628 | 3628 |
| |
3629 | 3629 |
| |
| 3630 | + | |
3630 | 3631 |
| |
3631 | 3632 |
| |
3632 | 3633 |
| |
|
python/paddle/base/variable_index.py
Copy file name to clipboardExpand all lines: python/paddle/base/variable_index.py+59-37Lines changed: 59 additions & 37 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 |
| |
| |||
106 | 97 |
| |
107 | 98 |
| |
108 | 99 |
| |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 | 100 |
| |
123 | 101 |
| |
124 | 102 |
| |
| |||
414 | 392 |
| |
415 | 393 |
| |
416 | 394 |
| |
417 |
| - | |
| 395 | + | |
418 | 396 |
| |
419 | 397 |
| |
420 | 398 |
| |
| |||
491 | 469 |
| |
492 | 470 |
| |
493 | 471 |
| |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
494 | 483 |
| |
495 |
| - | |
| 484 | + | |
496 | 485 |
| |
497 | 486 |
| |
498 | 487 |
| |
| |||
504 | 493 |
| |
505 | 494 |
| |
506 | 495 |
| |
507 |
| - | |
| 496 | + | |
508 | 497 |
| |
509 | 498 |
| |
510 | 499 |
| |
| |||
514 | 503 |
| |
515 | 504 |
| |
516 | 505 |
| |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
517 | 514 |
| |
518 | 515 |
| |
519 | 516 |
| |
| |||
585 | 582 |
| |
586 | 583 |
| |
587 | 584 |
| |
588 |
| - | |
589 |
| - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
590 | 610 |
| |
591 | 611 |
| |
592 | 612 |
| |
| |||
600 | 620 |
| |
601 | 621 |
| |
602 | 622 |
| |
603 |
| - | |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
608 |
| - | |
609 |
| - | |
610 |
| - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
611 | 631 |
| |
612 |
| - | |
613 | 632 |
| |
614 | 633 |
| |
615 | 634 |
| |
| |||
808 | 827 |
| |
809 | 828 |
| |
810 | 829 |
| |
811 |
| - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
812 | 834 |
| |
813 | 835 |
| |
814 | 836 |
| |
|
python/paddle/jit/dy2static/convert_operators.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/convert_operators.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
python/paddle/jit/dy2static/pir_partial_program.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/pir_partial_program.py+68Lines changed: 68 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
94 | 117 |
| |
95 | 118 |
| |
96 | 119 |
| |
| |||
120 | 143 |
| |
121 | 144 |
| |
122 | 145 |
| |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
123 | 160 |
| |
124 | 161 |
| |
125 | 162 |
| |
| |||
280 | 317 |
| |
281 | 318 |
| |
282 | 319 |
| |
| 320 | + | |
| 321 | + | |
283 | 322 |
| |
284 | 323 |
| |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
285 | 353 |
| |
286 | 354 |
| |
287 | 355 |
| |
|
python/paddle/jit/pir_dy2static/parameter_recorder.py
Copy file name to clipboardExpand all lines: python/paddle/jit/pir_dy2static/parameter_recorder.py+13-14Lines changed: 13 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
68 |
| - | |
69 |
| - | |
| 69 | + | |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 |
| |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
80 | 79 |
| |
81 |
| - | |
| 80 | + | |
82 | 81 |
| |
83 |
| - | |
| 82 | + | |
84 | 83 |
| |
85 |
| - | |
| 84 | + | |
86 | 85 |
| |
87 |
| - | |
| 86 | + | |
88 | 87 |
| |
89 |
| - | |
| 88 | + | |
90 | 89 |
| |
91 | 90 |
| |
92 | 91 |
| |
|
python/paddle/pir/math_op_patch.py
Copy file name to clipboardExpand all lines: python/paddle/pir/math_op_patch.py+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
644 | 644 |
| |
645 | 645 |
| |
646 | 646 |
| |
647 |
| - | |
| 647 | + | |
648 | 648 |
| |
649 | 649 |
| |
| 650 | + | |
650 | 651 |
| |
651 | 652 |
|
You can’t perform that action at this time.
0 commit comments