CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 07:28: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/"aa9819a3132475516b1fa5cc4d607a48"
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=KV1LT9V1kBLaDMFTJ8npDkUMGMIgU6rqcm6e94BRbwJ3LYivn9Ys%2FAkEBP5QX9dU81Mi1xH7IgKv3mWsuPbsZbiEX3hIIwcqnYHJlrPP6Wj6K%2FXxW5yq4jO3z4eOdoybMQcMgh%2F1MeJmbje1%2F4BansolXDeuBkZbqDKbAoUfHkvfI4qF0srQGArFdAM%2BH5gkLBqcmCuf%2BKogxmJh4uAOMth%2Fwlgjc1l9n1dxHdv%2B%2Fky8fFq89NYj4tOQIQj8KsHoqZO9qr08vF8SvehiYnhOnA%3D%3D--u8MEz2ORW8IY7m0k--1yVq2gZfHwZEoueilV1Cmg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1183784314.1753428520; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:28:40 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:28:40 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AF02:2B2ABB:46F43D:56A63C:68833228
FollowUp: Fix unnecessary synchronized memcpy in hybrid parallel trai… · PaddlePaddle/Paddle@7d1608b · GitHub
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/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 7d1608b
FollowUp: Fix unnecessary synchronized memcpy in hybrid parallel training (#57215)
* Remove synchronization in hybrid parallel optimizer
* Fix sync memcpy in TP
* Fix wrong type of inputs to tensor.multiply_.
---------
Co-authored-by: Tian Zheng (Engrg-Hardware 1) <tizheng@nvidia.com>1 parent 56ee40f commit 7d1608bCopy full SHA for 7d1608b
File tree
Expand file treeCollapse file tree
3 files changed
+33
-35
lines changedFilter options
- python/paddle
- distributed/fleet
- meta_optimizers/dygraph_optimizer
- utils
- nn
Expand file treeCollapse file tree
3 files changed
+33
-35
lines changedpython/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+23-28Lines changed: 23 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 | 17 |
| |
20 | 18 |
| |
21 | 19 |
| |
| |||
139 | 137 |
| |
140 | 138 |
| |
141 | 139 |
| |
| 140 | + | |
| 141 | + | |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
| 145 | + | |
147 | 146 |
| |
148 |
| - | |
| 147 | + | |
149 | 148 |
| |
150 | 149 |
| |
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
154 | 153 |
| |
155 |
| - | |
156 |
| - | |
157 |
| - | |
| 154 | + | |
158 | 155 |
| |
159 |
| - | |
| 156 | + | |
160 | 157 |
| |
161 | 158 |
| |
162 | 159 |
| |
163 | 160 |
| |
164 | 161 |
| |
165 | 162 |
| |
166 |
| - | |
167 |
| - | |
168 |
| - | |
| 163 | + | |
169 | 164 |
| |
170 |
| - | |
| 165 | + | |
171 | 166 |
| |
172 | 167 |
| |
173 | 168 |
| |
174 | 169 |
| |
175 | 170 |
| |
176 | 171 |
| |
177 |
| - | |
178 |
| - | |
179 |
| - | |
| 172 | + | |
180 | 173 |
| |
181 |
| - | |
| 174 | + | |
182 | 175 |
| |
183 | 176 |
| |
184 | 177 |
| |
185 | 178 |
| |
186 | 179 |
| |
187 | 180 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
| 181 | + | |
191 | 182 |
| |
192 |
| - | |
| 183 | + | |
193 | 184 |
| |
194 | 185 |
| |
195 | 186 |
| |
196 |
| - | |
197 |
| - | |
198 |
| - | |
| 187 | + | |
199 | 188 |
| |
200 |
| - | |
| 189 | + | |
201 | 190 |
| |
202 | 191 |
| |
203 | 192 |
| |
| |||
224 | 213 |
| |
225 | 214 |
| |
226 | 215 |
| |
227 |
| - | |
| 216 | + | |
228 | 217 |
| |
229 | 218 |
| |
230 | 219 |
| |
| |||
338 | 327 |
| |
339 | 328 |
| |
340 | 329 |
| |
341 |
| - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
342 | 337 |
| |
343 | 338 |
| |
344 | 339 |
| |
|
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+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
| 195 | + | |
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
206 |
| - | |
| 206 | + | |
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
|
+7-4Lines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
678 | 678 |
| |
679 | 679 |
| |
680 | 680 |
| |
| 681 | + | |
| 682 | + | |
| 683 | + | |
681 | 684 |
| |
682 | 685 |
| |
683 | 686 |
| |
684 |
| - | |
| 687 | + | |
685 | 688 |
| |
686 | 689 |
| |
687 |
| - | |
| 690 | + | |
688 | 691 |
| |
689 | 692 |
| |
690 | 693 |
| |
691 | 694 |
| |
692 | 695 |
| |
693 |
| - | |
| 696 | + | |
694 | 697 |
| |
695 |
| - | |
| 698 | + | |
696 | 699 |
| |
697 | 700 |
| |
698 | 701 |
| |
|
You can’t perform that action at this time.
0 commit comments