CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 11:21:16 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/"49737e33d70772ed74f719e79001d3cc"
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=EVEKK6P6%2BfgFpc4mibRQfrEiEAZCVd6yp6FI%2Fo6SiP6uBIN96wRYIvI%2Bo0NIyO8u9XrYKpWIj2P6bRZLPkOA9BxefdpeG4EZ0rKsRM59ROaTj98kGZsglZaK%2Fz5l%2FIdMxCV1MqHu9BKM5x8kdgtkBirL3QdUJ8agTW9Cz2QhvBZNC7xsWTIdrjDd3zgucOj3vxUqhQQrE5JMNYlIxb%2FLM8qm0yfutPbOq5LVqets90eZ%2Fvv48W5Eq9d6HdPLC2qs1zq6lXJQ6O4wTjlrQedHuw%3D%3D--X83lD%2B%2B0FZHFObTQ--Z7EZvBcW4Pd3%2BrSbhWC2Tg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1428890269.1753615275; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:21:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:21:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B1B6:290E4F:42B1C0:59CB90:68860BAB
[DistDialect] add reshard op and api (#62718) · PaddlePaddle/Paddle@0718ae3 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_api.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_api.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 0718ae3
authored
[DistDialect] add reshard op and api (#62718)
* add reshard op and api
* update
* fix bug
* update ut
* update ut and check logic
* fix by comments
* fix code style
* fix dist_attr print format, local_shape compute
* update
* fix PADDLE_ENFORCE usage
* fix code style
* fix code style1 parent f998342 commit 0718ae3Copy full SHA for 0718ae3
File tree
Expand file treeCollapse file tree
8 files changed
+317
-62
lines changedFilter options
- paddle/fluid
- pir/dialect/distributed/ir
- pybind
- test/cpp/pir/distributed
Expand file treeCollapse file tree
8 files changed
+317
-62
lines changedpaddle/fluid/pir/dialect/distributed/ir/dist_api.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_api.cc+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
48 | 62 |
| |
49 | 63 |
|
paddle/fluid/pir/dialect/distributed/ir/dist_api.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_api.h+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 |
| |
31 | 35 |
|
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_attribute.cc-9Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 | 114 |
| |
124 | 115 |
| |
125 | 116 |
| |
|
paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_dialect.cc+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
74 | 73 |
| |
75 | 74 |
| |
76 | 75 |
| |
| |||
91 | 90 |
| |
92 | 91 |
| |
93 | 92 |
| |
94 |
| - | |
| 93 | + | |
95 | 94 |
| |
96 | 95 |
| |
97 | 96 |
| |
98 | 97 |
| |
99 | 98 |
| |
100 | 99 |
| |
101 |
| - | |
| 100 | + | |
102 | 101 |
| |
103 | 102 |
| |
104 | 103 |
| |
| |||
159 | 158 |
| |
160 | 159 |
| |
161 | 160 |
| |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
|
paddle/fluid/pir/dialect/distributed/ir/dist_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.cc+155-49Lines changed: 155 additions & 49 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
40 |
| - | |
| 41 | + | |
41 | 42 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 |
| |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
52 |
| - | |
| 54 | + | |
53 | 55 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 |
| |
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
61 | 64 |
| |
62 | 65 |
| |
63 | 66 |
| |
64 |
| - | |
| 67 | + | |
65 | 68 |
| |
66 |
| - | |
| 69 | + | |
67 | 70 |
| |
68 |
| - | |
| 71 | + | |
| 72 | + | |
69 | 73 |
| |
70 | 74 |
| |
71 | 75 |
| |
| |||
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
79 |
| - | |
| 83 | + | |
80 | 84 |
| |
81 | 85 |
| |
82 | 86 |
| |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 |
| |
91 | 95 |
| |
92 | 96 |
| |
| |||
101 | 105 |
| |
102 | 106 |
| |
103 | 107 |
| |
104 |
| - | |
| 108 | + | |
105 | 109 |
| |
106 | 110 |
| |
107 | 111 |
| |
108 | 112 |
| |
109 | 113 |
| |
110 | 114 |
| |
111 |
| - | |
| 115 | + | |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
115 |
| - | |
116 |
| - | |
117 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
118 | 124 |
| |
119 | 125 |
| |
120 | 126 |
| |
| |||
136 | 142 |
| |
137 | 143 |
| |
138 | 144 |
| |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
160 | 152 |
| |
161 | 153 |
| |
162 | 154 |
| |
163 | 155 |
| |
164 |
| - | |
| 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 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
165 | 270 |
| |
166 | 271 |
| |
167 | 272 |
| |
168 | 273 |
| |
169 | 274 |
| |
170 | 275 |
| |
171 | 276 |
| |
| 277 | + |
paddle/fluid/pir/dialect/distributed/ir/dist_op.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/distributed/ir/dist_op.h+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
| |||
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
39 | 54 |
| |
40 | 55 |
| |
41 | 56 |
| |
42 | 57 |
| |
| 58 | + |
You can’t perform that action at this time.
0 commit comments