CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 20:17:45 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/"0546040e761ae928cee6d9ce3057fa7d"
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=cDQ7blh1WA%2BYvFbXMSAyWlbFe4nAZ2I4gW7iXr1Tk8j%2B8R%2BRV7BBKotdAksr0364ZWcBbDHaSwB5i0yXfzRH3iFLl%2F3Qio2hUQ9r1P8lqUtp8GduCeZcv9gu1QYZ2z3rUUMSHv%2Bqp0fkGq%2F2HAmlA%2Bgn6rTXoxv2AH62cE4IW0IbahZOthyNxWlRHZUi6PywyNFDjsB6%2FzM%2BqpoEuzA1RrgvYtcVVQ%2Bd%2FYdOOvKq%2FcD7mimX6RauAsyU2y3LeBLNi0UQQRlYyxGagFE7n8Yitg%3D%3D--ek0X6ik8PIul4b47--Kg2l6mfXfa3Fk%2FAtD2nsmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.821693162.1753301864; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:17:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:17:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CEB0:256CA9:1084C16:13A0E7F:68814368
[Auto Parallel] Add spmd rule No.4、13 for (batch_norm,sync_batch_norm… · PaddlePaddle/Paddle@4aee08b · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/batch_norm.cc
Copy file name to clipboard
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/rules.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/rules.h
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_ops.yaml
Copy file name to clipboardExpand all lines: test/cpp/auto_parallel/spmd_rule_test.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 4aee08b
authored
[Auto Parallel] Add spmd rule No.4、13 for (batch_norm,sync_batch_norm) and their backward ops. (#72918)
* add unary ops which have spmd_rule but not add in yaml file.
* Add spmd_rule for batch_norm ops.
* Add spmd_rule for batch_norm and batch_norm_grad.
* fix bug
* fix bug.
* fix bug.
* add spmd_rule for sync_natch_norm
* add spmd_rule for sync_natch_norm
* fix bug.
* fix bug.
* Add partial status.
* fix ci bug.
* fix CI bug.
* apply review.
* fix bug.1 parent a8dcab8 commit 4aee08bCopy full SHA for 4aee08b
File tree
Expand file treeCollapse file tree
9 files changed
+599
-1
lines changedFilter options
- paddle/phi
- infermeta/spmd_rules
- ops/yaml/inconsistent
- test/cpp/auto_parallel
Expand file treeCollapse file tree
9 files changed
+599
-1
lines changedpaddle/phi/infermeta/spmd_rules/batch_norm.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/batch_norm.cc+427Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.
paddle/phi/infermeta/spmd_rules/batch_norm.h
Copy file name to clipboard+57Lines changed: 57 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 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 | + |
paddle/phi/infermeta/spmd_rules/rules.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/rules.cc+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
70 | 69 |
| |
71 | 70 |
| |
72 | 71 |
| |
| |||
525 | 524 |
| |
526 | 525 |
| |
527 | 526 |
| |
| 527 | + | |
| 528 | + | |
| 529 | + | |
528 | 530 |
| |
529 | 531 |
| |
530 | 532 |
| |
|
paddle/phi/infermeta/spmd_rules/rules.h
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/spmd_rules/rules.h+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
|
paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
|
paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
|
paddle/phi/ops/yaml/inconsistent/static_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_backward.yaml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
91 | 92 |
| |
92 | 93 |
| |
93 | 94 |
| |
|
paddle/phi/ops/yaml/inconsistent/static_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_ops.yaml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
|
test/cpp/auto_parallel/spmd_rule_test.cc
Copy file name to clipboardExpand all lines: test/cpp/auto_parallel/spmd_rule_test.cc+107Lines changed: 107 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2812 | 2812 |
| |
2813 | 2813 |
| |
2814 | 2814 |
| |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
2815 | 2922 |
| |
2816 | 2923 |
| |
2817 | 2924 |
| |
|
You can’t perform that action at this time.
0 commit comments