CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:05:56 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/"7affd8d042e99dd47f79f7086bbe7751"
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=%2BZ02Ak1TsZLWcy%2FLP8J%2FXNElPHHE%2BcgvNnQWNthh0EOksTW%2BnuP7UAzvs9lqoWm2jYv8a7usKpR8C7nms3xb%2Bo1fDsIiRS%2Fx7%2BvUC76e%2BTM2Cu3eVwh8BTxgm9CowyzmF4xJ5I32RekqX%2BXyCE1k4YREjsAJ6J3LJ4z%2Be13o8zbWEM2GW4cHqURw%2BuCK6FcNf1NBYSzorrlEEFSbOwVW9k%2F4pMoUUbHwSSf9FEZunqRxQct2aDYC8zqIEQnjxTf27vGtH%2Fi5Pu5mDYbBJv0NNw%3D%3D--1ohVyADCSpf%2B5u%2F%2F--7aTcpdEFHUsTqKxZXE6YEQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1584632441.1753430756; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:05:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:05:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A362:3ACDCE:37DD1D:3ED042:68833AE4
[Auto Parallel] Compatible new comm library upgrade (#56604) · PaddlePaddle/Paddle@ade51aa · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/platform/init.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/communication.cc
Copy file name to clipboardExpand all lines: paddle/phi/common/memory_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/common/memory_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/comm_context_manager.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/comm_context_manager.h
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/nccl_comm_context.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit ade51aa
[Auto Parallel] Compatible new comm library upgrade (#56604)
* for verify
fluid operator support new comm library
* u
* u
* u
* compatiable new comm library upgrade for c_allgather, c_reduce, c_reduce_scatter and c_scatter.
* Remove useless comments in process_group.py
* Polish code style.
* Fix some problems.
* Remove use fluid api in phi comm_context_manager.
* Add PPADDLE_WITH_CUDA and PADDLE_WITH_NCCL micro judgement.
* Fix bug of HIP architecture.
* Fix some problems.
1. remove useless loggings.
2. Fix conditional compilation for HIP.
3. Fix problems of test_pass_generation_pipeline.py. It calls paddle.distributed.init_parallel_env() at first,
then auto.Engine calls _init_comm(), which will calls process_group.instantiate(). However, init_parallel_env() will call
paddle.distributed.barrier(), it will call CreateNCCLEnvCache and create corresponding NCCLCommContext. But dev_id is not
set, as a result, NCCLCommContext's dev_ctx is not initialized.
* Fix some problems.
* Polish code.
* Polish code.
* Revert compatiable upgrade for communication operators. Their upgrades
will be submitted in another PR.
* Remove StaticTCPStore.
* Remove useless modification.
* Remove useless set_cuda_device_id.
* Polish code.
* Remove fluid header files in phi files.
* Remove useless comments.
* Fix problems of hip arch.
* Fix some problems.
* Polish code.
* Polish code style.
---------
Co-authored-by: hitywt <yuwentao126@126.com>1 parent ded1044 commit ade51aaCopy full SHA for ade51aa
File tree
Expand file treeCollapse file tree
11 files changed
+262
-29
lines changedFilter options
- paddle
- fluid
- platform
- pybind
- phi
- common
- core/distributed
- python/paddle/distributed
- auto_parallel/static
Expand file treeCollapse file tree
11 files changed
+262
-29
lines changedpaddle/fluid/platform/init.cc
Copy file name to clipboardExpand all lines: paddle/fluid/platform/init.cc+40Lines changed: 40 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
| |||
440 | 445 |
| |
441 | 446 |
| |
442 | 447 |
| |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
443 | 483 |
| |
444 | 484 |
| |
445 | 485 |
| |
|
paddle/fluid/pybind/communication.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/communication.cc+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
48 | 51 |
| |
49 | 52 |
| |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
|
paddle/phi/common/memory_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/common/memory_utils.cc+28Lines changed: 28 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 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 | + | |
93 | 121 |
| |
94 | 122 |
| |
95 | 123 |
|
paddle/phi/common/memory_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/common/memory_utils.h+64Lines changed: 64 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
27 | 36 |
| |
28 | 37 |
| |
29 | 38 |
| |
| |||
150 | 159 |
| |
151 | 160 |
| |
152 | 161 |
| |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
153 | 173 |
| |
154 | 174 |
| |
155 | 175 |
| |
| |||
323 | 343 |
| |
324 | 344 |
| |
325 | 345 |
| |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
326 | 374 |
| |
327 | 375 |
| |
328 | 376 |
| |
| |||
385 | 433 |
| |
386 | 434 |
| |
387 | 435 |
| |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
388 | 452 |
| |
389 | 453 |
| |
390 | 454 |
| |
|
paddle/phi/core/distributed/comm_context_manager.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/comm_context_manager.cc+41-11Lines changed: 41 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 | 15 |
| |
24 | 16 |
| |
25 | 17 |
| |
26 | 18 |
| |
| 19 | + | |
27 | 20 |
| |
28 | 21 |
| |
29 | 22 |
| |
30 | 23 |
| |
31 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 |
| - | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 |
| |
44 |
| - | |
45 | 47 |
| |
| 48 | + | |
| 49 | + | |
46 | 50 |
| |
47 | 51 |
| |
| 52 | + | |
48 | 53 |
| |
49 | 54 |
| |
50 | 55 |
| |
51 | 56 |
| |
52 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 |
| |
54 | 63 |
| |
55 | 64 |
| |
| |||
68 | 77 |
| |
69 | 78 |
| |
70 | 79 |
| |
71 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
72 | 102 |
| |
73 | 103 |
| |
74 | 104 |
| |
|
paddle/phi/core/distributed/comm_context_manager.h
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/comm_context_manager.h+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
54 |
| - | |
55 |
| - | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
|
paddle/phi/core/distributed/nccl_comm_context.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/distributed/nccl_comm_context.cc+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 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 | + | |
40 | 64 |
| |
41 | 65 |
| |
42 | 66 |
| |
|
You can’t perform that action at this time.
0 commit comments