CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:18:33 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/"3991faa600d5067ade9538265a5df495"
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=VlOCozlpjKHCnJPzHhJ7rGWjuGubabpEzkF2C0R6wfbYS9MTR%2FARGdtnS0P7qXFtSVDIoFJ9M4xH1m%2Fu08zaT3A2OeDm8z67vuteVNym0Jdp%2FgJpUU0nAZ9x4lhQGYi2hRSGiXJz9RSon19dWqUKRXSpy9UIs700pLwtrhHTdEjtP6HxN73BR98yK8O8MUulOpwmJaWqOil6tOKAZ1aBvfggFF%2F1ghV%2F%2FgQUNheUF%2BPFgjAnyJ0RfaArI3gqr1S%2BT%2FQ67Xw5LvqTVeNPKOygVw%3D%3D--u%2FEzQoNcChFi8GWs--uhhgDozdeT24CvSeBRkHOg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1657120609.1753431512; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:18:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:18:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AF3C:2B2ABB:52F862:6439B9:68833DD8
segment parallel parameter sync and grad sync (#57061) · PaddlePaddle/Paddle@cc045c0 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/base/topology.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_optimizers/dygraph_optimizer/hybrid_parallel_optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/sharding_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/tensor_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/model.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/utils/hybrid_parallel_util.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit cc045c0
authored
File tree
Expand file treeCollapse file tree
11 files changed
+332
-51
lines changedFilter options
- python/paddle/distributed/fleet
- base
- meta_optimizers/dygraph_optimizer
- meta_parallel
- utils
- test/collective/fleet
Expand file treeCollapse file tree
11 files changed
+332
-51
lines changedpython/paddle/distributed/fleet/base/topology.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/base/topology.py+26-8Lines changed: 26 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
| |||
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
280 |
| - | |
| 281 | + | |
281 | 282 |
| |
282 | 283 |
| |
283 | 284 |
| |
284 |
| - | |
| 285 | + | |
| 286 | + | |
285 | 287 |
| |
286 |
| - | |
287 |
| - | |
288 |
| - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
289 | 299 |
| |
290 | 300 |
| |
| 301 | + | |
291 | 302 |
| |
292 |
| - | |
293 |
| - | |
294 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
295 | 312 |
| |
296 | 313 |
| |
297 | 314 |
| |
| 315 | + | |
298 | 316 |
| |
299 | 317 |
| |
300 | 318 |
| |
|
python/paddle/distributed/fleet/meta_optimizers/dygraph_optimizer/hybrid_parallel_optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_optimizers/dygraph_optimizer/hybrid_parallel_optimizer.py+10-21Lines changed: 10 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
285 | 285 |
| |
286 | 286 |
| |
287 | 287 |
| |
| 288 | + | |
| 289 | + | |
288 | 290 |
| |
289 | 291 |
| |
290 | 292 |
| |
| |||
439 | 441 |
| |
440 | 442 |
| |
441 | 443 |
| |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
| 444 | + | |
446 | 445 |
| |
447 | 446 |
| |
448 | 447 |
| |
| |||
452 | 451 |
| |
453 | 452 |
| |
454 | 453 |
| |
455 |
| - | |
456 |
| - | |
| 454 | + | |
457 | 455 |
| |
458 | 456 |
| |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
459 | 462 |
| |
460 | 463 |
| |
461 | 464 |
| |
| |||
470 | 473 |
| |
471 | 474 |
| |
472 | 475 |
| |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
| 476 | + | |
488 | 477 |
| |
489 | 478 |
| |
490 | 479 |
| |
|
python/paddle/distributed/fleet/meta_parallel/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/__init__.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
|
python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
138 | 139 |
| |
139 | 140 |
| |
140 | 141 |
| |
| 142 | + | |
141 | 143 |
| |
142 | 144 |
| |
143 | 145 |
| |
| |||
161 | 163 |
| |
162 | 164 |
| |
163 | 165 |
| |
| 166 | + | |
164 | 167 |
| |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
165 | 173 |
| |
166 | 174 |
| |
167 | 175 |
| |
| |||
251 | 259 |
| |
252 | 260 |
| |
253 | 261 |
| |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
254 | 266 |
| |
255 | 267 |
| |
256 | 268 |
| |
|
python/paddle/distributed/fleet/meta_parallel/segment_parallel.py
Copy file name to clipboard+40Lines changed: 40 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 | + |
python/paddle/distributed/fleet/meta_parallel/sharding_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/sharding_parallel.py+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
| |||
27 | 30 |
| |
28 | 31 |
| |
29 | 32 |
| |
30 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 |
| |
32 | 37 |
|
python/paddle/distributed/fleet/meta_parallel/tensor_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/tensor_parallel.py+5Lines changed: 5 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 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 |
| |
36 | 41 |
| |
37 | 42 |
| |
|
python/paddle/distributed/fleet/model.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/model.py+3-12Lines changed: 3 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
130 | 131 |
| |
131 | 132 |
| |
132 | 133 |
| |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 | 134 |
| |
146 | 135 |
| |
147 | 136 |
| |
148 | 137 |
| |
149 | 138 |
| |
150 | 139 |
| |
151 | 140 |
| |
| 141 | + | |
| 142 | + | |
152 | 143 |
| |
153 | 144 |
| |
154 | 145 |
| |
|
python/paddle/distributed/fleet/optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/optimizer.py+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
75 | 76 |
| |
| 77 | + | |
76 | 78 |
| |
77 | 79 |
| |
78 | 80 |
| |
79 | 81 |
| |
80 | 82 |
| |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 |
| |
82 | 87 |
| |
83 | 88 |
| |
|
python/paddle/distributed/fleet/utils/hybrid_parallel_util.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/utils/hybrid_parallel_util.py+29-3Lines changed: 29 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
244 |
| - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
245 | 263 |
| |
246 | 264 |
| |
247 | 265 |
| |
| |||
254 | 272 |
| |
255 | 273 |
| |
256 | 274 |
| |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
257 | 283 |
| |
258 | 284 |
| |
259 | 285 |
| |
|
You can’t perform that action at this time.
0 commit comments