CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 15:42:50 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/"0140076751861c683fadd6831ecd6b80"
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=95Q2Onokp4gAs95N7ghC3E5PbTBYFJu%2BtLtUZ7TWzOSOPM4Ah1zd2BqzvtH2sUKP2AXZ1x5bKwgUwxnOwtgu1qZJkeTSLUetwxXNdPW%2BJC5zfcRX0MEw0qrXT948h4SfAk0qgx%2F91PyviOr%2FHm9Qp7GKv6wsZG2TmzpmAZVlbTKUSBlG3bApqejP3zg56D5uCAtqdEwum%2BACjtzzXfXjJnTRkl2CsKNB9fDdZMFBdoPBhakQmvCCUsA9PBmEgEXIng7VledrQkk7G1SChReuoA%3D%3D--yhRQkAHHsdqua6CP--SyqxscssL1AGYqZVulYAcg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1578995659.1753544570; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 15:42:50 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 15:42:50 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8224:1799B9:6E6520:8EAA3B:6884F77A
[Auto Parallel] Add two flags to mp plan. (#69776) · PaddlePaddle/Paddle@109965c · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/intermediate/tensor_parallel.py
Copy file name to clipboardExpand all lines: test/auto_parallel/hybrid_strategy/parallel_api.py
Copy file name to clipboardExpand all lines: test/auto_parallel/hybrid_strategy/test_parallel_api_with_llama_2d.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 109965c
File tree
Expand file treeCollapse file tree
4 files changed
+139
-90
lines changedFilter options
- python/paddle/distributed/auto_parallel/intermediate
- test/auto_parallel/hybrid_strategy
Expand file treeCollapse file tree
4 files changed
+139
-90
lines changedpython/paddle/distributed/auto_parallel/intermediate/tensor_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/auto_parallel/intermediate/tensor_parallel.py+81-59Lines changed: 81 additions & 59 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
23 | 73 |
| |
24 | 74 |
| |
25 | 75 |
| |
26 | 76 |
| |
27 |
| - | |
| 77 | + | |
28 | 78 |
| |
29 | 79 |
| |
30 | 80 |
| |
| |||
40 | 90 |
| |
41 | 91 |
| |
42 | 92 |
| |
43 |
| - | |
| 93 | + | |
44 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
45 | 103 |
| |
46 | 104 |
| |
47 | 105 |
| |
| |||
79 | 137 |
| |
80 | 138 |
| |
81 | 139 |
| |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
82 | 145 |
| |
83 | 146 |
| |
84 | 147 |
| |
| |||
90 | 153 |
| |
91 | 154 |
| |
92 | 155 |
| |
93 |
| - | |
| 156 | + | |
94 | 157 |
| |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
95 | 165 |
| |
96 | 166 |
| |
97 | 167 |
| |
| |||
124 | 194 |
| |
125 | 195 |
| |
126 | 196 |
| |
| 197 | + | |
| 198 | + | |
127 | 199 |
| |
128 | 200 |
| |
129 | 201 |
| |
| |||
156 | 228 |
| |
157 | 229 |
| |
158 | 230 |
| |
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 | 231 |
| |
210 | 232 |
| |
211 | 233 |
| |
| |||
222 | 244 |
| |
223 | 245 |
| |
224 | 246 |
| |
225 |
| - | |
| 247 | + | |
226 | 248 |
| |
227 | 249 |
| |
228 | 250 |
| |
| |||
248 | 270 |
| |
249 | 271 |
| |
250 | 272 |
| |
251 |
| - | |
| 273 | + | |
252 | 274 |
| |
253 | 275 |
| |
254 | 276 |
| |
| |||
269 | 291 |
| |
270 | 292 |
| |
271 | 293 |
| |
272 |
| - | |
| 294 | + | |
273 | 295 |
| |
274 | 296 |
| |
275 | 297 |
| |
276 | 298 |
| |
277 | 299 |
| |
278 | 300 |
| |
279 |
| - | |
| 301 | + | |
280 | 302 |
| |
281 | 303 |
| |
282 | 304 |
| |
| |||
310 | 332 |
| |
311 | 333 |
| |
312 | 334 |
| |
313 |
| - | |
| 335 | + | |
314 | 336 |
| |
315 | 337 |
| |
316 | 338 |
| |
317 | 339 |
| |
318 | 340 |
| |
319 |
| - | |
| 341 | + | |
320 | 342 |
| |
321 | 343 |
| |
322 | 344 |
| |
|
test/auto_parallel/hybrid_strategy/parallel_api.py
Copy file name to clipboardExpand all lines: test/auto_parallel/hybrid_strategy/parallel_api.py+54-31Lines changed: 54 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 |
| |
63 |
| - | |
| 64 | + | |
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
| |||
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
149 | 154 |
| |
150 | 155 |
| |
151 | 156 |
| |
| |||
219 | 224 |
| |
220 | 225 |
| |
221 | 226 |
| |
222 |
| - | |
| 227 | + | |
223 | 228 |
| |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
228 | 241 |
| |
229 | 242 |
| |
230 | 243 |
| |
| |||
272 | 285 |
| |
273 | 286 |
| |
274 | 287 |
| |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
280 | 291 |
| |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
281 | 316 |
| |
282 |
| - | |
| 317 | + | |
283 | 318 |
| |
284 | 319 |
| |
285 | 320 |
| |
| |||
294 | 329 |
| |
295 | 330 |
| |
296 | 331 |
| |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
| 332 | + | |
310 | 333 |
| |
311 | 334 |
| |
312 | 335 |
| |
| |||
403 | 426 |
| |
404 | 427 |
| |
405 | 428 |
| |
406 |
| - | |
| 429 | + | |
407 | 430 |
| |
408 | 431 |
| |
409 | 432 |
| |
| |||
433 | 456 |
| |
434 | 457 |
| |
435 | 458 |
| |
436 |
| - | |
| 459 | + | |
437 | 460 |
| |
438 | 461 |
| |
439 | 462 |
| |
|
test/auto_parallel/hybrid_strategy/test_parallel_api_with_llama_2d.py
Copy file name to clipboardExpand all lines: test/auto_parallel/hybrid_strategy/test_parallel_api_with_llama_2d.py+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
| 90 | + | |
89 | 91 |
| |
90 | 92 |
| |
91 | 93 |
| |
| |||
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
| 134 | + | |
132 | 135 |
| |
133 | 136 |
| |
134 | 137 |
| |
|
You can’t perform that action at this time.
0 commit comments