CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 03:12: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/"71432f68ae5849652bf35ee460b407a5"
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=ILyue4BiEk1IN0DvZXzi47woX%2BCqvxC72UHJQvAjyLT8a2FybYfXphTRqcutfzU7jINVaGL%2BjmLo779vLlJrKCCoomvG3SJwczwY3NjeeGTDmUso8Qv9fxBiH89PDelCSDK3ACs4TDZXEcf2xEbo3uaGB5K3KtG4csRN0Kavr1reJh%2Br6XQ8x0Iu5LFGjF2c0WAzKryxlH8qMtg8wXV6nUvOLOtxCbTFW%2Bl2BC8uKsuoB3Pdf%2FhLO4LohmtDQzMGl53omj28iLl%2BLRwRjpyDxQ%3D%3D--H8Pq%2FQjYsoBVNogA--6rRPeM3pZaj8dbBAUHhhBg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.643407346.1753758734; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:12:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:12:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8D4C:E69F3:20CD5A:304C2F:68883C0E
[AutoParallel] Handle dynamic shape in InferGlobalShape and InferLoca… · PaddlePaddle/Paddle@1fc0ea7 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_type.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/auto_parallel_py.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.cc
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/api.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/moe_utils.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/pir_pass.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/r_to_p_reshard_func.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 1fc0ea7
[AutoParallel] Handle dynamic shape in InferGlobalShape and InferLocalShape (#71320)
* fix
* fix
* handle dynamic shape in PIR infer_local_shape and infer_global_shape and add PIR nd_mesh_alltoall reshard function
* fix bugs in static auto parallel
---------
Co-authored-by: zhangbo9674 <zhangbo54@baidu.com>1 parent 445b807 commit 1fc0ea7Copy full SHA for 1fc0ea7
File tree
Expand file treeCollapse file tree
12 files changed
+515
-124
lines changedFilter options
- paddle/fluid
- pir/dialect/distributed/ir
- pybind
- python/paddle/distributed/auto_parallel
- static
- reshard_funcs
- test/auto_parallel/pir
Expand file treeCollapse file tree
12 files changed
+515
-124
lines changedpaddle/fluid/pir/dialect/distributed/ir/dist_type.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_type.cc+23-3Lines changed: 23 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
73 | 74 |
| |
| 75 | + | |
74 | 76 |
| |
75 | 77 |
| |
76 | 78 |
| |
| |||
96 | 98 |
| |
97 | 99 |
| |
98 | 100 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
102 | 121 |
| |
103 | 122 |
| |
| 123 | + | |
104 | 124 |
| |
105 | 125 |
| |
106 | 126 |
| |
|
paddle/fluid/pybind/auto_parallel_py.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/auto_parallel_py.cc+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
832 | 832 |
| |
833 | 833 |
| |
834 | 834 |
| |
| 835 | + | |
| 836 | + | |
835 | 837 |
| |
836 | 838 |
| |
837 | 839 |
| |
|
paddle/fluid/pybind/eager_utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.cc+17-10Lines changed: 17 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2888 | 2888 |
| |
2889 | 2889 |
| |
2890 | 2890 |
| |
2891 |
| - | |
2892 |
| - | |
2893 |
| - | |
2894 |
| - | |
2895 |
| - | |
2896 |
| - | |
2897 |
| - | |
2898 |
| - | |
2899 |
| - | |
2900 |
| - | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
2901 | 2908 |
| |
2902 | 2909 |
| |
2903 | 2910 |
| |
|
python/paddle/distributed/auto_parallel/api.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/api.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
| 490 | + | |
| 491 | + | |
490 | 492 |
| |
491 | 493 |
| |
492 | 494 |
| |
|
python/paddle/distributed/auto_parallel/moe_utils.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/moe_utils.py+62-4Lines changed: 62 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
47 |
| - | |
48 |
| - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 |
| |
50 | 55 |
| |
51 | 56 |
| |
| |||
127 | 132 |
| |
128 | 133 |
| |
129 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
130 | 188 |
| |
131 | 189 |
| |
132 | 190 |
| |
| |||
144 | 202 |
| |
145 | 203 |
| |
146 | 204 |
| |
147 |
| - | |
| 205 | + | |
148 | 206 |
| |
149 | 207 |
| |
150 | 208 |
| |
|
python/paddle/distributed/auto_parallel/static/pir_pass.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/pir_pass.py+40-16Lines changed: 40 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 | 332 |
| |
338 | 333 |
| |
339 | 334 |
| |
340 |
| - | |
341 |
| - | |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
346 | 340 |
| |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
347 | 369 |
| |
348 | 370 |
| |
349 | 371 |
| |
| |||
467 | 489 |
| |
468 | 490 |
| |
469 | 491 |
| |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
475 | 499 |
| |
476 | 500 |
| |
477 | 501 |
| |
|
python/paddle/distributed/auto_parallel/static/reshard_funcs/r_to_p_reshard_func.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/r_to_p_reshard_func.py+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
67 |
| - | |
| 69 | + | |
68 | 70 |
| |
69 | 71 |
| |
70 | 72 |
| |
|
python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/static/reshard_funcs/reshard_func_register.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
| |||
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
| 56 | + | |
55 | 57 |
| |
56 | 58 |
| |
57 | 59 |
|
You can’t perform that action at this time.
0 commit comments