CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 09:22:53 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
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/
referrer-policy: no-referrer-when-downgrade
server-timing: repo_layout-fragment;desc="repo_layout fragment";dur=1007.162204,commit_show_contents-fragment;desc="commit_show_contents fragment";dur=60.106981,commit_show_header-fragment;desc="commit_show_header fragment";dur=67.374247,nginx;desc="NGINX";dur=1.072308,glb;desc="GLB";dur=100.913365
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
x-voltron-version: a2eb102
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=CfD%2BwhmwaNyCcQFDfwbeTVigQ6ChPFDA7PsvCne1FYjkhKXU4VJMove0%2BpWYqsQQ4CofCDGAR%2FqISjh9G7jW67oj2%2FOcx4eWBtqoXO1OlD%2Fj0G1qADr6DCsd1Ei27YaDm6y9j%2FGkk2aI0L9lT9MYKnAHGdFeEsszAMPeFqgbqMtV0lI43NJWdegQNMHmorUx7UsUMQflWo%2Bi5KELAFJNDqreffW7qLao11sPsZr3YGy%2BlGus7I8acypsdZkyWAtsVMgegj9UEEQFIf3pVHodzQ%3D%3D--8pzkXCFtuzbmxqgx--7df9h30LktYUe8BOL%2BUcDQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1673362933.1753435372; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:22:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:22:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B31E:15F96:623CA2:757EF8:68834CEC
[PIR] Enable program translator in dy2st mode (#59152) · PaddlePaddle/Paddle@97382da · GitHub
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/framework/executor_cache.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_translator.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/run_program_op.cc
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/partial_program.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/utils.py
Copy file name to clipboardExpand all lines: python/paddle/jit/translated_layer.py
Copy file name to clipboardExpand all lines: test/dygraph_to_static/CMakeLists.txt
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 97382da
authored
[PIR] Enable program translator in dy2st mode (#59152)
* enable program translator in dy2st mode
* fix
* test
* test
* test
* test
* fix
* fix test_eager_run_program.py
* fix test_run_program_op
* fix test_gradname_parse partially
* fix test_bert_cinn
* skip failed cases
* skip jit.save
* fix test_run_program_op
* fix
* fix
* fix
* fix
* fix1 parent dee507b commit 97382daCopy full SHA for 97382da
File tree
Expand file treeCollapse file tree
15 files changed
+147
-36
lines changedFilter options
- paddle
- fluid
- eager/to_static
- framework
- ir_adaptor/translator
- operators
- phi/core
- python/paddle/jit
- dy2static
- test
- dygraph_to_static
- legacy_test
- sot
Expand file treeCollapse file tree
15 files changed
+147
-36
lines changedpaddle/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+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| |||
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
| 36 | + | |
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| |||
685 | 688 |
| |
686 | 689 |
| |
687 | 690 |
| |
688 |
| - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
689 | 697 |
| |
690 | 698 |
| |
691 | 699 |
| |
| |||
839 | 847 |
| |
840 | 848 |
| |
841 | 849 |
| |
842 |
| - | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
843 | 856 |
| |
844 | 857 |
| |
845 | 858 |
| |
|
paddle/fluid/framework/executor_cache.h
Copy file name to clipboardExpand all lines: paddle/fluid/framework/executor_cache.h+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
| 39 | + | |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
| |||
190 | 192 |
| |
191 | 193 |
| |
192 | 194 |
| |
193 |
| - | |
| 195 | + | |
194 | 196 |
| |
195 | 197 |
| |
196 | 198 |
| |
| |||
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
204 |
| - | |
| 206 | + | |
205 | 207 |
| |
206 | 208 |
| |
207 | 209 |
| |
|
paddle/fluid/ir_adaptor/translator/op_compat_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_gen.py+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
132 | 139 |
| |
133 | 140 |
| |
134 | 141 |
| |
|
paddle/fluid/ir_adaptor/translator/op_translator.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_translator.cc+19-5Lines changed: 19 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2014 | 2014 |
| |
2015 | 2015 |
| |
2016 | 2016 |
| |
2017 |
| - | |
2018 |
| - | |
| 2017 | + | |
| 2018 | + | |
2019 | 2019 |
| |
2020 | 2020 |
| |
2021 |
| - | |
2022 |
| - | |
| 2021 | + | |
| 2022 | + | |
2023 | 2023 |
| |
2024 | 2024 |
| |
2025 | 2025 |
| |
| |||
2126 | 2126 |
| |
2127 | 2127 |
| |
2128 | 2128 |
| |
2129 |
| - | |
2130 | 2129 |
| |
2131 | 2130 |
| |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
2132 | 2146 |
| |
2133 | 2147 |
| |
2134 | 2148 |
| |
|
paddle/fluid/operators/run_program_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/run_program_op.cc+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
|
+17-3Lines changed: 17 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1272 | 1272 |
| |
1273 | 1273 |
| |
1274 | 1274 |
| |
1275 |
| - | |
| 1275 | + | |
1276 | 1276 |
| |
1277 | 1277 |
| |
1278 | 1278 |
| |
| |||
1284 | 1284 |
| |
1285 | 1285 |
| |
1286 | 1286 |
| |
1287 |
| - | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
1288 | 1302 |
| |
1289 | 1303 |
| |
1290 | 1304 |
| |
| |||
1294 | 1308 |
| |
1295 | 1309 |
| |
1296 | 1310 |
| |
1297 |
| - | |
| 1311 | + | |
1298 | 1312 |
| |
1299 | 1313 |
| |
1300 | 1314 |
| |
|
python/paddle/jit/dy2static/partial_program.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/partial_program.py+22-6Lines changed: 22 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
799 | 799 |
| |
800 | 800 |
| |
801 | 801 |
| |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
802 | 814 |
| |
803 | 815 |
| |
804 | 816 |
| |
| |||
866 | 878 |
| |
867 | 879 |
| |
868 | 880 |
| |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
869 | 889 |
| |
870 | 890 |
| |
871 | 891 |
| |
872 | 892 |
| |
873 | 893 |
| |
874 | 894 |
| |
875 |
| - | |
876 |
| - | |
877 |
| - | |
| 895 | + | |
878 | 896 |
| |
879 | 897 |
| |
880 | 898 |
| |
| |||
888 | 906 |
| |
889 | 907 |
| |
890 | 908 |
| |
891 |
| - | |
892 |
| - | |
893 |
| - | |
| 909 | + | |
894 | 910 |
| |
895 | 911 |
| |
896 | 912 |
| |
|
python/paddle/jit/dy2static/utils.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/utils.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
python/paddle/jit/translated_layer.py
Copy file name to clipboardExpand all lines: python/paddle/jit/translated_layer.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
998 | 998 |
| |
999 | 999 |
| |
1000 | 1000 |
| |
| 1001 | + | |
| 1002 | + | |
1001 | 1003 |
| |
1002 | 1004 |
| |
1003 | 1005 |
| |
|
test/dygraph_to_static/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/dygraph_to_static/CMakeLists.txt+46Lines changed: 46 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + |
You can’t perform that action at this time.
0 commit comments