CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 03:50:41 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/"2b33d238a1334ecc1e7fbfbdd9974003"
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=U6ZMoE7klK4SMGcjsraYFeZZSnUl9fCR8gpqvKXkUGJBFvfaQEL0%2BHO8BUk8Ody3y%2BqDwCb6S2OR8GjbHdOBLPbJEQZN0ERb%2FOJzYVSBz99YyMDOUiHeKJGzU80oZDi5QOX8cxZLDjwrXLAjaW%2B1O1S6HPdXCytsico9ywSHAU8ePKgWg1MkGET2qE6389uE%2BXxW9hurNqNNmWc%2BBgCBu7UDcviscIfI5eAkWhSGPcva2pYfu3GVi%2F84Nl8CPAhUKxrRmEhYYs5LYEZ2%2FuihjQ%3D%3D--JzyTLu8NOSSTTi3P--EmVW1JY3D4ZZPz%2BnsgNnng%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1147329178.1753501841; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 03:50:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 03:50:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C5F4:3B05D7:126738:1C1F64:68845091
[auto parallel] Support 1F1B for PIR (#66810) · PaddlePaddle/Paddle@efdd967 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/constants.py
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/utils.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/passes/auto_parallel_gradient_merge.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/passes/pipeline_scheduler_pass/pipeline_1f1b.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: test/auto_parallel/pir/CMakeLists.txt
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit efdd967
[auto parallel] Support 1F1B for PIR (#66810)
* split program and polish the executor
* change unit test
* fix 1f1b test
* add pp in pir
* fix ut
* fit grad_merge for pir
* update test
* apply suggestions from code review
* fit for 1f1b
* fit_1f1b
* remove no related codes
* recover codes about enable_send_recv_overlap
* add test for 1f1b plan
* fix
* enable gradient_merge when pipeline pass enabled
---------
Co-authored-by: heavyrain_lzy <1528794076@qq.com>1 parent 31b8fe1 commit efdd967Copy full SHA for efdd967
File tree
Expand file treeCollapse file tree
10 files changed
+530
-11
lines changedFilter options
- python/paddle/distributed
- auto_parallel
- static
- passes
- pipeline_scheduler_pass
- test/auto_parallel/pir
Expand file treeCollapse file tree
10 files changed
+530
-11
lines changedpython/paddle/distributed/auto_parallel/constants.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/constants.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
| 116 | + | |
116 | 117 |
| |
117 | 118 |
| |
118 | 119 |
| |
|
python/paddle/distributed/auto_parallel/static/engine.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/engine.py+7-1Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
822 | 822 |
| |
823 | 823 |
| |
824 | 824 |
| |
825 |
| - | |
826 | 825 |
| |
827 | 826 |
| |
828 | 827 |
| |
| |||
857 | 856 |
| |
858 | 857 |
| |
859 | 858 |
| |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
860 | 866 |
| |
861 | 867 |
| |
862 | 868 |
| |
|
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+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
406 | 407 |
| |
407 | 408 |
| |
408 | 409 |
| |
| 410 | + | |
409 | 411 |
| |
410 | 412 |
| |
411 | 413 |
| |
412 | 414 |
| |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
413 | 419 |
| |
414 | 420 |
| |
415 | 421 |
| |
|
python/paddle/distributed/auto_parallel/static/utils.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/utils.py+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2341 | 2341 |
| |
2342 | 2342 |
| |
2343 | 2343 |
| |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
2344 | 2352 |
| |
2345 | 2353 |
| |
2346 | 2354 |
| |
|
python/paddle/distributed/passes/auto_parallel_gradient_merge.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/passes/auto_parallel_gradient_merge.py+17-10Lines changed: 17 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
| 281 | + | |
| 282 | + | |
| 283 | + | |
280 | 284 |
| |
281 | 285 |
| |
282 | 286 |
| |
| |||
286 | 290 |
| |
287 | 291 |
| |
288 | 292 |
| |
289 |
| - | |
| 293 | + | |
290 | 294 |
| |
291 | 295 |
| |
292 | 296 |
| |
| |||
305 | 309 |
| |
306 | 310 |
| |
307 | 311 |
| |
308 |
| - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
309 | 321 |
| |
310 | 322 |
| |
311 | 323 |
| |
| |||
367 | 379 |
| |
368 | 380 |
| |
369 | 381 |
| |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 |
| - | |
| 382 | + | |
376 | 383 |
| |
377 | 384 |
| |
378 | 385 |
| |
| |||
648 | 655 |
| |
649 | 656 |
| |
650 | 657 |
| |
651 |
| - | |
652 |
| - | |
| 658 | + | |
| 659 | + | |
653 | 660 |
| |
654 | 661 |
| |
655 | 662 |
| |
|
python/paddle/distributed/passes/pipeline_scheduler_pass/pipeline_1f1b.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/passes/pipeline_scheduler_pass/pipeline_1f1b.py+19Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
336 | 337 |
| |
337 | 338 |
| |
338 | 339 |
| |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
339 | 358 |
| |
340 | 359 |
| |
341 | 360 |
| |
|
test/auto_parallel/pir/1F1B_pass_unittest_pir.py
Copy file name to clipboard+159Lines changed: 159 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 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 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + |
test/auto_parallel/pir/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/auto_parallel/pir/CMakeLists.txt+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 |
| |
39 | 43 |
| |
40 | 44 |
| |
41 | 45 |
| |
| 46 | + | |
| 47 | + |
test/auto_parallel/pir/test_pipeline_scheduler_1f1b_pir.py
Copy file name to clipboard+47Lines changed: 47 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + |
You can’t perform that action at this time.
0 commit comments