CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 06:07:48 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/"88bdaf56b10e4892b0669aef7067ce78"
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=EK56hP4YUCBvXck%2FSlbM6vUZSZT6WQtkv4oeDLG%2BEcURpIdVYsGrDwGEffPODTsonGgI1IoWv%2Fd%2FWkpQKLuLg77WF4L43fVUi8W39sLKi1%2BGfRSVCR8j00dhwvEgHAKTDCf5SWMYsXwJaWA%2BZWjhYn4xY6OkQpL92jL1rpu2iT7cdU70vPmEdwk9%2Fevy%2FyRLxWfGapLhlUz47mvLn1JVS7%2BUh8cQrnJ0%2BuiF5CiDE80yZ7sZ8cjyi899Ak3%2FiNelyUfMkpfm1NFCp1ldNRrOFw%3D%3D--u7zTrLDJ84PoythA--omClaAVkqvApEw5IiIxQ0Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.411572863.1753510067; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 06:07:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 06:07:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C882:1E56AF:21AED3:2FBF5D:688470B3
[Typing][C-27,C-28,C-29,C-30,C-31,C-32,C-33] Add type annotations for… · PaddlePaddle/Paddle@907427b · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/broadcast.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/gather.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/recv.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/reduce.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/reduce_scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/send.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 907427b
File tree
Expand file treeCollapse file tree
7 files changed
+129
-42
lines changedFilter options
- python/paddle/distributed/communication/stream
Expand file treeCollapse file tree
7 files changed
+129
-42
lines changedpython/paddle/distributed/communication/stream/broadcast.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/broadcast.py+18-3Lines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
25 | 34 |
| |
26 | 35 |
| |
27 | 36 |
| |
| |||
78 | 87 |
| |
79 | 88 |
| |
80 | 89 |
| |
81 |
| - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
82 | 97 |
| |
83 | 98 |
| |
84 | 99 |
| |
85 | 100 |
| |
86 | 101 |
| |
87 | 102 |
| |
88 | 103 |
| |
89 |
| - | |
| 104 | + | |
90 | 105 |
| |
91 | 106 |
| |
92 | 107 |
| |
| |||
111 | 126 |
| |
112 | 127 |
| |
113 | 128 |
| |
114 |
| - | |
| 129 | + | |
115 | 130 |
| |
116 | 131 |
| |
117 | 132 |
| |
|
python/paddle/distributed/communication/stream/gather.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/gather.py+19-9Lines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
| 18 | + | |
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
| |||
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 |
| |
27 | 37 |
| |
28 | 38 |
| |
| |||
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 |
| |
60 | 70 |
| |
61 | 71 |
| |
62 | 72 |
| |
63 | 73 |
| |
64 | 74 |
| |
65 | 75 |
| |
66 |
| - | |
| 76 | + | |
67 | 77 |
| |
68 | 78 |
| |
69 |
| - | |
| 79 | + | |
70 | 80 |
| |
71 | 81 |
| |
72 | 82 |
| |
|
python/paddle/distributed/communication/stream/recv.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/recv.py+18-3Lines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
20 | 24 |
| |
21 | 25 |
| |
22 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 |
| |
24 | 33 |
| |
25 | 34 |
| |
| |||
61 | 70 |
| |
62 | 71 |
| |
63 | 72 |
| |
64 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
65 | 80 |
| |
66 | 81 |
| |
67 | 82 |
| |
68 | 83 |
| |
69 | 84 |
| |
70 | 85 |
| |
71 | 86 |
| |
72 |
| - | |
| 87 | + | |
73 | 88 |
| |
74 | 89 |
| |
75 | 90 |
| |
| |||
92 | 107 |
| |
93 | 108 |
| |
94 | 109 |
| |
95 |
| - | |
| 110 | + | |
96 | 111 |
| |
97 | 112 |
| |
98 | 113 |
| |
|
python/paddle/distributed/communication/stream/reduce.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/reduce.py+19-9Lines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 |
| |
25 | 35 |
| |
26 | 36 |
| |
| |||
76 | 86 |
| |
77 | 87 |
| |
78 | 88 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 |
| |
87 | 97 |
| |
88 | 98 |
| |
| |||
92 | 102 |
| |
93 | 103 |
| |
94 | 104 |
| |
95 |
| - | |
| 105 | + | |
96 | 106 |
| |
97 | 107 |
| |
98 | 108 |
| |
| |||
117 | 127 |
| |
118 | 128 |
| |
119 | 129 |
| |
120 |
| - | |
| 130 | + | |
121 | 131 |
| |
122 | 132 |
| |
123 | 133 |
| |
|
python/paddle/distributed/communication/stream/reduce_scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/reduce_scatter.py+20-8Lines changed: 20 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 |
| |
26 | 38 |
| |
27 | 39 |
| |
| |||
102 | 114 |
| |
103 | 115 |
| |
104 | 116 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 |
| |
113 | 125 |
| |
114 | 126 |
| |
| |||
119 | 131 |
| |
120 | 132 |
| |
121 | 133 |
| |
122 |
| - | |
| 134 | + | |
123 | 135 |
| |
124 | 136 |
| |
125 | 137 |
| |
|
python/paddle/distributed/communication/stream/scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/scatter.py+18-8Lines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
| 18 | + | |
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
| |||
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 |
| |
28 | 38 |
| |
29 | 39 |
| |
| |||
131 | 141 |
| |
132 | 142 |
| |
133 | 143 |
| |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
141 | 151 |
| |
142 | 152 |
| |
143 | 153 |
| |
| |||
148 | 158 |
| |
149 | 159 |
| |
150 | 160 |
| |
151 |
| - | |
| 161 | + | |
152 | 162 |
| |
153 | 163 |
| |
154 | 164 |
| |
|
python/paddle/distributed/communication/stream/send.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/send.py+17-2Lines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
20 | 24 |
| |
21 | 25 |
| |
22 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 |
| |
24 | 33 |
| |
25 | 34 |
| |
| |||
60 | 69 |
| |
61 | 70 |
| |
62 | 71 |
| |
63 |
| - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
64 | 79 |
| |
65 | 80 |
| |
66 | 81 |
| |
| |||
91 | 106 |
| |
92 | 107 |
| |
93 | 108 |
| |
94 |
| - | |
| 109 | + | |
95 | 110 |
| |
96 | 111 |
| |
97 | 112 |
| |
|
You can’t perform that action at this time.
0 commit comments