CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 17:47:18 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/"ac8fc7ad786dc3dfbcbed79a1d8d4a4c"
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=Xuujo0wNTuL4ETe6C6FfJZ9W5ppNEefJSIK73R5T69%2FqexX0llPrtu%2FTq%2FT5MdpfJvIGTykbPjSpvR0QC%2B1v3Eni3wwVoVVQHxh7QN9zB%2BfvO%2BAKdzNY5uK2u%2F%2BhBXR7ptN5vWGGy%2F6DUDCK36QwF%2BfK2DyrFHUPTPSehq3CC6fL0nTz%2Feq0Erm6MZsC7suXMeB7Ac7wrIeNwBpDFSI2YmgpcHUdBf%2Bs2%2FwqLI6SDdC3KUUB22Wxquqiv1kuAV86%2Bh2786fBzFR1RWkML7XGRg%3D%3D--j8rthXpttDswt6%2FD--WJxMonz4hmLayVTqDhhItg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1959272051.1753638437; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:47:17 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:47:17 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A4CA:5FFA9:1099C9B:15B895B:68866625
【Hackathon 6th No.33】支持动态图流水并行设定多个损失函数,并返回多个 loss (#63167) · PaddlePaddle/Paddle@78b038d · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 78b038d
authored
【Hackathon 6th No.33】支持动态图流水并行设定多个损失函数,并返回多个 loss (#63167)
* support multiply loss functions in pipeline parallel
* add multiply loss functions test
* add loss_fn_idx for user
* fix bug in output_tensor
* update tests
* update loss fn logger
* fix
* fix
* update tests
* fix is_fp32 & add assert
* fix1 parent fe5e25e commit 78b038dCopy full SHA for 78b038d
File tree
Expand file treeCollapse file tree
5 files changed
+808
-58
lines changedFilter options
- python/paddle/distributed/fleet/meta_parallel
- parallel_layers
- test/collective/fleet
Expand file treeCollapse file tree
5 files changed
+808
-58
lines changedpython/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py+9-6Lines changed: 9 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
| |||
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
649 |
| - | |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 |
| - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
654 | 657 |
| |
655 | 658 |
| |
656 | 659 |
| |
|
python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py+113-52Lines changed: 113 additions & 52 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
| 297 | + | |
| 298 | + | |
| 299 | + | |
297 | 300 |
| |
298 | 301 |
| |
299 | 302 |
| |
| |||
686 | 689 |
| |
687 | 690 |
| |
688 | 691 |
| |
689 |
| - | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
690 | 695 |
| |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
691 | 704 |
| |
692 | 705 |
| |
693 | 706 |
| |
| |||
697 | 710 |
| |
698 | 711 |
| |
699 | 712 |
| |
700 |
| - | |
| 713 | + | |
701 | 714 |
| |
702 | 715 |
| |
703 | 716 |
| |
| |||
710 | 723 |
| |
711 | 724 |
| |
712 | 725 |
| |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
713 | 733 |
| |
714 | 734 |
| |
715 | 735 |
| |
| |||
780 | 800 |
| |
781 | 801 |
| |
782 | 802 |
| |
783 |
| - | |
| 803 | + | |
784 | 804 |
| |
785 | 805 |
| |
786 | 806 |
| |
787 |
| - | |
788 |
| - | |
789 |
| - | |
790 |
| - | |
791 |
| - | |
792 |
| - | |
793 |
| - | |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
800 | 832 |
| |
801 | 833 |
| |
802 | 834 |
| |
803 | 835 |
| |
804 | 836 |
| |
805 | 837 |
| |
| 838 | + | |
| 839 | + | |
806 | 840 |
| |
807 | 841 |
| |
808 | 842 |
| |
| |||
855 | 889 |
| |
856 | 890 |
| |
857 | 891 |
| |
858 |
| - | |
859 |
| - | |
| 892 | + | |
| 893 | + | |
860 | 894 |
| |
861 |
| - | |
862 |
| - | |
863 |
| - | |
864 |
| - | |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
874 | 916 |
| |
875 |
| - | |
876 |
| - | |
877 |
| - | |
878 |
| - | |
879 |
| - | |
880 |
| - | |
881 |
| - | |
882 |
| - | |
883 |
| - | |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
894 | 938 |
| |
895 | 939 |
| |
896 | 940 |
| |
| |||
1708 | 1752 |
| |
1709 | 1753 |
| |
1710 | 1754 |
| |
1711 |
| - | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
1712 | 1758 |
| |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
1713 | 1767 |
| |
1714 | 1768 |
| |
1715 | 1769 |
| |
| |||
1719 | 1773 |
| |
1720 | 1774 |
| |
1721 | 1775 |
| |
1722 |
| - | |
| 1776 | + | |
1723 | 1777 |
| |
1724 | 1778 |
| |
1725 | 1779 |
| |
1726 | 1780 |
| |
1727 | 1781 |
| |
1728 | 1782 |
| |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
1729 | 1790 |
| |
1730 | 1791 |
| |
1731 | 1792 |
| |
|
You can’t perform that action at this time.
0 commit comments