CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:18:15 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/"0c9a71e42565881395e8cecce780e6e6"
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=tcDmAbJ4%2B2gLwBYDQvtTzBiJezYVcTE3wdCPtYWbpR%2Bmreq2fTPSmtM47fUc7b9kl18zxSz%2BS8d9OkXtCvMs33NQ2i0l9bB3O6RXwY0pfFzSjkUX9i2iIrmhexZ79R91rDZEJLMvky9FptOlrMFv3mxXwprRFPc47cUkxWrWHvZ78eTup%2B4Lko0uF7WbBNjid4d%2BQk7Qi5bR59fh8pY%2BhMyfjWowayIcSVCqm2PMc47AWstF5neNmvIDozxxRvqLNBZdWYNcVHF03AqsFg7cyQ%3D%3D--zaqIk0QjM%2FMPcauI--6u7nvZ1lx98bFyZimZVOtQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.162427023.1753431494; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:18:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:18:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E2C0:1256D3:52A4F4:63E20C:68833DC6
[AutoParallel] Generate spmd and reshard into phi grad api (#57119) · PaddlePaddle/Paddle@b0fc0b7 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/eager_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.cc
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_tensor_holder.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit b0fc0b7
authored
[AutoParallel] Generate spmd and reshard into phi grad api (#57119)
* add grad spmd and reshard
* add debug info and backward gen code
* re impl matmul grad infer meta
* remove matmul infershape in runtime
* add eager gen code
* revert matmul change
* refactor matmul grad spmd rules
* polish details
* revert p2r change
* fix set dist attr error
* fix conflict
* polish details
* polish details by comments
* remove semi prefix
* add more tests for coverage1 parent c3b0078 commit b0fc0b7Copy full SHA for b0fc0b7
File tree
Expand file treeCollapse file tree
17 files changed
+662
-91
lines changedFilter options
- paddle
- fluid/eager
- auto_code_generator/generator
- phi
- api
- lib
- yaml
- generator
- infermeta/spmd_rules
- test/auto_parallel
Expand file treeCollapse file tree
17 files changed
+662
-91
lines changedpaddle/fluid/eager/auto_code_generator/generator/eager_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/eager_gen.py+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
| 213 | + | |
| 214 | + | |
213 | 215 |
| |
214 | 216 |
| |
215 | 217 |
| |
| |||
529 | 531 |
| |
530 | 532 |
| |
531 | 533 |
| |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
532 | 540 |
| |
533 | 541 |
| |
534 | 542 |
| |
| |||
2181 | 2189 |
| |
2182 | 2190 |
| |
2183 | 2191 |
| |
| 2192 | + | |
| 2193 | + | |
2184 | 2194 |
| |
2185 | 2195 |
| |
2186 | 2196 |
| |
| |||
2388 | 2398 |
| |
2389 | 2399 |
| |
2390 | 2400 |
| |
| 2401 | + | |
| 2402 | + | |
2391 | 2403 |
| |
2392 | 2404 |
| |
2393 | 2405 |
| |
| |||
2433 | 2445 |
| |
2434 | 2446 |
| |
2435 | 2447 |
| |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
2436 | 2458 |
| |
2437 | 2459 |
| |
2438 | 2460 |
| |
| |||
2600 | 2622 |
| |
2601 | 2623 |
| |
2602 | 2624 |
| |
| 2625 | + | |
2603 | 2626 |
| |
2604 | 2627 |
| |
2605 | 2628 |
| |
|
paddle/fluid/eager/grad_node_info.cc
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.cc+6-3Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
268 |
| - | |
269 |
| - | |
270 |
| - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
| 279 | + | |
| 280 | + | |
| 281 | + | |
279 | 282 |
| |
280 | 283 |
| |
281 | 284 |
| |
|
paddle/fluid/eager/grad_node_info.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.h+25Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
158 | 159 |
| |
159 | 160 |
| |
160 | 161 |
| |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 |
| |
162 | 171 |
| |
163 | 172 |
| |
164 | 173 |
| |
165 | 174 |
| |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
166 | 179 |
| |
167 | 180 |
| |
168 | 181 |
| |
| |||
298 | 311 |
| |
299 | 312 |
| |
300 | 313 |
| |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
301 | 322 |
| |
302 | 323 |
| |
303 | 324 |
| |
| |||
325 | 346 |
| |
326 | 347 |
| |
327 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
328 | 353 |
| |
329 | 354 |
| |
330 | 355 |
|
paddle/fluid/eager/grad_tensor_holder.cc
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_tensor_holder.cc+8-9Lines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
| 89 | + | |
93 | 90 |
| |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
99 | 98 |
| |
100 | 99 |
| |
101 | 100 |
| |
|
+93-7Lines changed: 93 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 |
| - | |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 |
| |
41 | 46 |
| |
42 | 47 |
| |
| |||
82 | 87 |
| |
83 | 88 |
| |
84 | 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 | + | |
85 | 142 |
| |
86 | 143 |
| |
87 | 144 |
| |
| |||
223 | 280 |
| |
224 | 281 |
| |
225 | 282 |
| |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
226 | 297 |
| |
227 | 298 |
| |
228 | 299 |
| |
| |||
234 | 305 |
| |
235 | 306 |
| |
236 | 307 |
| |
237 |
| - | |
| 308 | + | |
238 | 309 |
| |
239 | 310 |
| |
240 | 311 |
| |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
246 | 332 |
| |
247 | 333 |
| |
248 | 334 |
| |
|
paddle/phi/api/lib/api_gen_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
550 | 550 |
| |
551 | 551 |
| |
552 | 552 |
| |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
553 | 558 |
| |
554 | 559 |
| |
555 | 560 |
| |
|
paddle/phi/api/lib/api_gen_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.h+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 |
| |
148 | 151 |
| |
149 | 152 |
| |
|
You can’t perform that action at this time.
0 commit comments