CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 00:11:02 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/"1792c21a44deb514816c2b6195e4cfcf"
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=HsvFjs7oY2UzpKJnMWXQT5MYERSnwgsrOvcIPYUJtpLH5VoH5WExDBj9w%2FDSv8pIDWaaiBpIT5esg%2FbqCvNJk7vaxKUbKYVobi%2B%2FqVAilIoAQP0iJXcQb2h6FADUe7ifYl5x8wLcx92t7qecKq8s16Gnq3bg%2FvQaoRL5e8jmFuBXb4fFubS5j6280LhmbRhCyeUzdrwrzHW92L7l0RsWrJpbtEmtzT63xFrLjpRPK%2BzMQAP2JUIdbHNlTvzoKd4IIEkxVwQa9Lz3Z365%2F8bnDA%3D%3D--OkdJS1kJ7%2BuXKV9D--3zxR99rOKUsoF1Tajp9Ufw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1483033986.1753402262; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:11:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:11:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A068:1D2B8F:33252:50BA4:6882CB96
[AutoParallel] fix error when using pure sharding (#69214) · PaddlePaddle/Paddle@bfdf6bc · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/api.py
Copy file name to clipboardExpand all lines: test/auto_parallel/semi_auto_parallel_sharding_stage_1.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit bfdf6bc
authored
[AutoParallel] fix error when using pure sharding (#69214)
* fix puring sharding error
* fix sd
* polish
* add unit test
* fix test
* polish
* Update semi_auto_parallel_sharding_stage_1.py
* Update semi_auto_parallel_sharding_stage_1.py
* Update semi_auto_parallel_sharding_stage_1.py
* fix code style1 parent af5f027 commit bfdf6bcCopy full SHA for bfdf6bc
File tree
Expand file treeCollapse file tree
2 files changed
+73
-8
lines changedFilter options
- python/paddle/distributed/auto_parallel
- test/auto_parallel
Expand file treeCollapse file tree
2 files changed
+73
-8
lines changedpython/paddle/distributed/auto_parallel/api.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/api.py+49-8Lines changed: 49 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
| |||
1044 | 1045 |
| |
1045 | 1046 |
| |
1046 | 1047 |
| |
| 1048 | + | |
1047 | 1049 |
| |
1048 | 1050 |
| |
1049 | 1051 |
| |
| |||
1067 | 1069 |
| |
1068 | 1070 |
| |
1069 | 1071 |
| |
| 1072 | + | |
1070 | 1073 |
| |
1071 | 1074 |
| |
1072 | 1075 |
| |
1073 | 1076 |
| |
1074 | 1077 |
| |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1075 | 1083 |
| |
1076 | 1084 |
| |
1077 | 1085 |
| |
| |||
1084 | 1092 |
| |
1085 | 1093 |
| |
1086 | 1094 |
| |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1087 | 1106 |
| |
1088 | 1107 |
| |
1089 | 1108 |
| |
| |||
1286 | 1305 |
| |
1287 | 1306 |
| |
1288 | 1307 |
| |
1289 |
| - | |
| 1308 | + | |
1290 | 1309 |
| |
1291 |
| - | |
| 1310 | + | |
| 1311 | + | |
1292 | 1312 |
| |
1293 | 1313 |
| |
1294 | 1314 |
| |
| |||
1331 | 1351 |
| |
1332 | 1352 |
| |
1333 | 1353 |
| |
| 1354 | + | |
| 1355 | + | |
1334 | 1356 |
| |
1335 | 1357 |
| |
1336 | 1358 |
| |
| |||
1363 | 1385 |
| |
1364 | 1386 |
| |
1365 | 1387 |
| |
1366 |
| - | |
1367 |
| - | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1368 | 1395 |
| |
1369 | 1396 |
| |
1370 | 1397 |
| |
| |||
1418 | 1445 |
| |
1419 | 1446 |
| |
1420 | 1447 |
| |
| 1448 | + | |
| 1449 | + | |
1421 | 1450 |
| |
1422 | 1451 |
| |
1423 | 1452 |
| |
| |||
1450 | 1479 |
| |
1451 | 1480 |
| |
1452 | 1481 |
| |
1453 |
| - | |
1454 |
| - | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
1455 | 1489 |
| |
1456 | 1490 |
| |
1457 | 1491 |
| |
| |||
1529 | 1563 |
| |
1530 | 1564 |
| |
1531 | 1565 |
| |
| 1566 | + | |
| 1567 | + | |
1532 | 1568 |
| |
1533 | 1569 |
| |
1534 | 1570 |
| |
| |||
1561 | 1597 |
| |
1562 | 1598 |
| |
1563 | 1599 |
| |
1564 |
| - | |
1565 |
| - | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
1566 | 1607 |
| |
1567 | 1608 |
| |
1568 | 1609 |
| |
|
test/auto_parallel/semi_auto_parallel_sharding_stage_1.py
Copy file name to clipboardExpand all lines: test/auto_parallel/semi_auto_parallel_sharding_stage_1.py+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
| |||
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
| 51 | + | |
48 | 52 |
| |
49 | 53 |
| |
50 | 54 |
| |
| |||
61 | 65 |
| |
62 | 66 |
| |
63 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
64 | 86 |
| |
| 87 | + | |
65 | 88 |
| |
66 | 89 |
| |
67 | 90 |
| |
| |||
94 | 117 |
| |
95 | 118 |
| |
96 | 119 |
| |
| 120 | + | |
97 | 121 |
| |
98 | 122 |
| |
99 | 123 |
| |
|
You can’t perform that action at this time.
0 commit comments