CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 03:57:34 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/"dc30b0360aea7b1d8a1b83eb856d2f49"
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=BToZoQ00d%2B6lh1iEGGvo6acXn0PJ9BsqxH%2BeL4LK15gy9t4W37l12ULU3wvNYTV1At8klK5hnbEb%2FdwcIeVs7O0ob%2BC%2BQvbPp%2F%2BjXXgI%2FbNyLtALbWML92Nk6alUq2iZIVO4x1HpE6AhEKeAQYSK3ErFGcWgew7FM7L9%2B9D8Qg7CPJJVRQu0SYqVhD3CgWg2t%2Bhp3XpRDwZGdKLebFuvE5p7STbdpHRGWcZiayW7y740m2nan3yffNT3jaxFDVy%2FoW0l%2FCHSMkxA791M1sJ5sQ%3D%3D--iX2F75fjwCy6rImp--6rxw6cFK61%2BmOnawTyRkcw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.181965228.1753588654; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 03:57:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 03:57:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CFAC:242CC6:A76203:DF0E90:6885A3AE
[Auto Parallel]: Support optional, inplace input and output for DistT… · PaddlePaddle/Paddle@9f321c8 · GitHub
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
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 9f321c8
authored
[Auto Parallel]: Support optional, inplace input and output for DistTensor. (#57092)
* [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.
* [Auto Parallel]: Support paddle::optional<Tensor> and
paddle::optional<std::vector<phi::Tensor>> input and output for DistTensor.
* Polish code.
* Polish code. And support inplace Tensor, std::vector<Tensor>, paddle::optional<Tensor> and paddle::optional<std::vector<Tensor>>
* Polish testcase code. Add testcase for inplace paddle::optional<phi::Tensor>.
* Remove useless codes in testcase code.
* Polish code style.
* Polish code style. And fix problems of testcases.1 parent e754a17 commit 9f321c8Copy full SHA for 9f321c8
File tree
Expand file treeCollapse file tree
10 files changed
+624
-75
lines changedFilter options
- paddle/phi
- api
- lib
- yaml/generator
- core
- distributed/auto_parallel
- test/auto_parallel
Expand file treeCollapse file tree
10 files changed
+624
-75
lines changedpaddle/phi/api/lib/api_gen_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.cc+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
590 | 590 |
| |
591 | 591 |
| |
592 | 592 |
| |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
593 | 616 |
| |
594 | 617 |
|
paddle/phi/api/lib/api_gen_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/api_gen_utils.h+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 |
| |
154 | 160 |
|
paddle/phi/api/lib/data_transform.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.cc+34-10Lines changed: 34 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
672 | 672 |
| |
673 | 673 |
| |
674 | 674 |
| |
675 |
| - | |
| 675 | + | |
676 | 676 |
| |
677 | 677 |
| |
678 | 678 |
| |
| |||
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
694 |
| - | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
695 | 703 |
| |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
703 |
| - | |
704 | 704 |
| |
705 | 705 |
| |
706 | 706 |
| |
707 | 707 |
| |
708 | 708 |
| |
709 | 709 |
| |
710 | 710 |
| |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
711 | 735 |
| |
712 | 736 |
|
paddle/phi/api/lib/data_transform.h
Copy file name to clipboardExpand all lines: paddle/phi/api/lib/data_transform.h+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
201 | 213 |
| |
202 | 214 |
|
You can’t perform that action at this time.
0 commit comments