CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 13:32: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/"236eead17e427e79f389e51360c163b6"
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=iiRQdyGO1sj7HXOnymsnQvtGS5KkAupLQw2nJV%2BayLh%2BZj0UYCiyB%2FBcYGMwWpqIHKWlzXdfhW56DERgKXUJuTDJW1d33mAeLxmtTDWpbw7kc04s2kz6bf4VE69luX7gCwJnUp1ufcGM50f2PeveMwmsD6IVxkmRqXFIoG6HbkbFjVBmkqZRRdw3tNhw4e8%2BxJGY38ucgGRJK1yD30KuLCxh0sVIN%2Fjhy2m%2FMygF5Y%2BATwTsdO6Ob5h%2BWWBLMM%2FnFSSNOrBSaZpKahNKqOEVsA%3D%3D--f2%2F%2FHc6DcrJlxub4--rcqSZtP3jMFnrGFb30o%2F3w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.330438850.1753623145; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 13:32:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 13:32:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D156:22FFCB:A7F88:D5665:68862A69
[AutoParallel-PIR] Basic Pipeline Parallelism (#63434) · PaddlePaddle/Paddle@cf69c02 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.cc
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/engine.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/pir_pass.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/p_to_r_reshard_func.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit cf69c02
[AutoParallel-PIR] Basic Pipeline Parallelism (#63434)
* add vjp interface for reshard op.
* fix pr comment
* add copy code for learing rate in different mesh.
* update print
* unitest
* add unit test
* update reshard
* rank pruning
* remove code
* update test
* pp runable demo
* update pir iterator
* update engine for pir pp
* reshard check
* update reshard func
* update reshard func
* refine
* skip fake value
* update unitest
* update unitest
* typoes fix
---------
Co-authored-by: winter-wang <1030748926@qq.com>1 parent 71fd732 commit cf69c02Copy full SHA for cf69c02
File tree
Expand file treeCollapse file tree
13 files changed
+309
-78
lines changedFilter options
- paddle/fluid
- pir/dialect/distributed/ir
- pybind
- python/paddle/distributed/auto_parallel/static
- reshard_funcs
- test
- auto_parallel
- pir
- cpp/pir/distributed
Expand file treeCollapse file tree
13 files changed
+309
-78
lines changedpaddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc+11-5Lines changed: 11 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 |
| |
| 135 | + | |
130 | 136 |
| |
131 | 137 |
| |
132 | 138 |
| |
|
paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 |
| |
78 | 82 |
| |
79 | 83 |
| |
| |||
111 | 115 |
| |
112 | 116 |
| |
113 | 117 |
| |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
114 | 122 |
| |
115 | 123 |
| |
116 | 124 |
| |
| |||
145 | 153 |
| |
146 | 154 |
| |
147 | 155 |
| |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
148 | 160 |
| |
149 | 161 |
| |
150 | 162 |
| |
|
paddle/fluid/pir/dialect/distributed/ir/dist_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.cc+38-8Lines changed: 38 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
221 | 222 |
| |
222 | 223 |
| |
223 | 224 |
| |
| |||
241 | 242 |
| |
242 | 243 |
| |
243 | 244 |
| |
244 |
| - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
245 | 252 |
| |
246 | 253 |
| |
247 | 254 |
| |
| |||
267 | 274 |
| |
268 | 275 |
| |
269 | 276 |
| |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
270 | 301 |
| |
271 | 302 |
| |
272 | 303 |
| |
273 | 304 |
| |
274 |
| - | |
275 |
| - | |
276 | 305 |
| |
277 | 306 |
| |
278 | 307 |
| |
| |||
288 | 317 |
| |
289 | 318 |
| |
290 | 319 |
| |
291 |
| - | |
| 320 | + | |
| 321 | + | |
292 | 322 |
| |
293 | 323 |
| |
294 | 324 |
| |
|
+38Lines changed: 38 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 |
| |
| |||
1103 | 1104 |
| |
1104 | 1105 |
| |
1105 | 1106 |
| |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1106 | 1144 |
| |
1107 | 1145 |
| |
1108 | 1146 |
| |
|
python/paddle/distributed/auto_parallel/static/engine.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/engine.py+13-4Lines changed: 13 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1782 | 1782 |
| |
1783 | 1783 |
| |
1784 | 1784 |
| |
1785 |
| - | |
1786 |
| - | |
1787 |
| - | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1788 | 1794 |
| |
1789 | 1795 |
| |
1790 | 1796 |
| |
| |||
1795 | 1801 |
| |
1796 | 1802 |
| |
1797 | 1803 |
| |
1798 |
| - | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
1799 | 1808 |
| |
1800 | 1809 |
| |
1801 | 1810 |
| |
|
python/paddle/distributed/auto_parallel/static/pir_pass.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/pir_pass.py+37-2Lines changed: 37 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
| |||
71 | 72 |
| |
72 | 73 |
| |
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 | + | |
74 | 109 |
| |
75 | 110 |
| |
76 | 111 |
| |
| |||
84 | 119 |
| |
85 | 120 |
| |
86 | 121 |
| |
87 |
| - | |
| 122 | + | |
| 123 | + | |
88 | 124 |
| |
89 | 125 |
| |
90 | 126 |
| |
91 | 127 |
| |
92 | 128 |
| |
93 | 129 |
| |
94 |
| - | |
95 | 130 |
| |
96 | 131 |
| |
97 | 132 |
| |
|
python/paddle/distributed/auto_parallel/static/reshard_funcs/p_to_r_reshard_func.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/p_to_r_reshard_func.py+6-3Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 |
| |
111 | 114 |
| |
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
115 |
| - | |
| 118 | + | |
116 | 119 |
| |
117 |
| - | |
| 120 | + | |
118 | 121 |
|
python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
|
You can’t perform that action at this time.
0 commit comments