CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:05:49 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/"6c01642d34a8765d6b7ff2982ec2792e"
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=BLF1NSiRecQoQlYBDQRqhy2SBChK9O1XTvtV%2FrXxuY3nbOb8mSSeLZx%2F6a%2FUG0otTvEiQ9sACMYFtqbe3beQg6tNsKQsMvMiSNLIL2HI29PWbtGXlsz6GsxRQsY%2FmM%2Fd%2FaZS%2FITdP9GeCCgLcxYlCciniEn9cqSRf%2FjiCTSGKw6evZr7cEoI2uMmgiIeEbCOQxiWaw8wCUIAuXbdajgBm6hLp2IzzJ1VyBTQJkSLdNMLBqryMaP3Ijg45t7LTBNyY%2F%2F9BKePnPk7EJxOqA%2B3GA%3D%3D--PnvyHyiy7I9zFY9y--8Z54S5yPLe%2F7QOdktOmz6g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.4942322.1753430748; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:05:48 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:05:48 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A2D6:274BD1:5040A0:611B1C:68833ADC
[Auto Parallel]: Support std::vector<phi::Tensor> input and output fo… · PaddlePaddle/Paddle@d2fedea · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/eager/tensor_wrapper.h
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
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/kernel_dispatch.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit d2fedea
authored
[Auto Parallel]: Support std::vector<phi::Tensor> input and output for DistTensor. (#56602)
* [WIP] Support std::vector<phi::Tensor> input and output for DistTensor.
Concat forward and backward are verified.
* Polish code for new dist tensor implementation.
* Fix bug of DistTensor upgrade. Add support functions for std::vector<Tensor> -> std::vector<Tensor>.
* Add support for DistTensor type of std::vector<phi::Tensor> as input or output of operators.
Following testcases are passed.
1. concat: std::vector<phi::Tensor> -> phi::Tensor
2. unbind: phi::Tensor -> std::vector<phi::Tensor>
3. broadcast_tensors: std::vector<phi::Tensor> -> std::vector<phi::Tensor>
* Polish code. Remove useless comments.
* Add update_loss_scaling in skip_op_lists.
* Polish code.1 parent c2f0e9c commit d2fedeaCopy full SHA for d2fedea
File tree
Expand file treeCollapse file tree
9 files changed
+334
-34
lines changedFilter options
- paddle
- fluid/eager
- phi/api
- lib
- yaml/generator
- test/auto_parallel
Expand file treeCollapse file tree
9 files changed
+334
-34
lines changedpaddle/fluid/eager/tensor_wrapper.h
Copy file name to clipboardExpand all lines: paddle/fluid/eager/tensor_wrapper.h+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
69 | 81 |
| |
70 | 82 |
| |
71 | 83 |
| |
|
paddle/phi/api/lib/api_gen_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.cc+40-2Lines changed: 40 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
196 |
| - | |
197 | 195 |
| |
198 | 196 |
| |
199 | 197 |
| |
| |||
546 | 544 |
| |
547 | 545 |
| |
548 | 546 |
| |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
549 | 587 |
| |
550 | 588 |
|
paddle/phi/api/lib/api_gen_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.h+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
143 | 147 |
| |
144 | 148 |
| |
145 | 149 |
|
paddle/phi/api/lib/data_transform.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.cc+42Lines changed: 42 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
635 | 677 |
| |
636 | 678 |
|
paddle/phi/api/lib/data_transform.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.h+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
183 | 189 |
| |
184 | 190 |
|
paddle/phi/api/lib/kernel_dispatch.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/kernel_dispatch.h+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
194 | 204 |
| |
195 | 205 |
| |
196 | 206 |
| |
|
You can’t perform that action at this time.
0 commit comments