CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 17:43:59 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/"4f4a5d3341610b2657b4681b48bc86b6"
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=29roiJcONDWepTTdq8FzPCm6pfHFVJ6UUMbAVzLGGmdB97EsTjqLl%2BoBPHid6T2Rpcz1vMLFXPUGB8mJvRD7JHqRJjWNmfTFTMVUfPCLNPNWmG2hRCLcUwUVb%2FdgV6KbhfK0y07YsJXp493lRC4xeKxrEK0%2B6NtfUNvW9M1mXiygDfQPloicWUuPsuaNFm3jai5XpY1r%2FSKh0CaGEdfCnCw0NdqW5rplI8BW8gyubBwSTc8QARJsRvw0kd%2F9tBRJ02oioBjdK2XgYfy3PStbHg%3D%3D--8vAt1iGipOFIux3r--pm%2BewDpzNO3c5SpdBbTe2w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.843085388.1753638239; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:43:59 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:43:59 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A92C:21EF6:713533:946C4B:6886655F
[Typing][C-21,C-22,C-23,C-24] Add type annotations for `python/paddle… · PaddlePaddle/Paddle@58f7899 · GitHub


authored
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/reduce_scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/send.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/all_gather.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 58f7899
[Typing][C-21,C-22,C-23,C-24] Add type annotations for
---------
Co-authored-by: megemini <megemini@outlook.com>
Co-authored-by: SigureMo <sigure.qaq@gmail.com>python/paddle/distributed/communication/{reduce_scatter.py, scatter.py, send.py, all_gather.py}
(#66864)1 parent 99dd9c4 commit 58f7899Copy full SHA for 58f7899
File tree
Expand file treeCollapse file tree
4 files changed
+105
-22
lines changedFilter options
- python/paddle/distributed/communication
- stream
Expand file treeCollapse file tree
4 files changed
+105
-22
lines changedpython/paddle/distributed/communication/reduce_scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/reduce_scatter.py+36-4Lines changed: 36 additions & 4 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 |
| |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 |
| |
23 | 33 |
| |
24 |
| - | |
25 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
26 | 40 |
| |
27 | 41 |
| |
28 | 42 |
| |
| |||
62 | 76 |
| |
63 | 77 |
| |
64 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
65 | 89 |
| |
66 | 90 |
| |
67 | 91 |
| |
| |||
89 | 113 |
| |
90 | 114 |
| |
91 | 115 |
| |
92 |
| - | |
93 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
94 | 122 |
| |
95 | 123 |
| |
96 | 124 |
| |
| |||
126 | 154 |
| |
127 | 155 |
| |
128 | 156 |
| |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
129 | 161 |
| |
130 | 162 |
| |
131 | 163 |
| |
|
python/paddle/distributed/communication/scatter.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/scatter.py+21-3Lines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 |
| |
16 | 25 |
| |
17 | 26 |
| |
| |||
25 | 34 |
| |
26 | 35 |
| |
27 | 36 |
| |
28 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
29 | 44 |
| |
30 | 45 |
| |
31 | 46 |
| |
| |||
72 | 87 |
| |
73 | 88 |
| |
74 | 89 |
| |
75 |
| - | |
76 |
| - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
77 | 95 |
| |
78 | 96 |
| |
79 | 97 |
| |
|
python/paddle/distributed/communication/send.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/send.py+17-3Lines changed: 17 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 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 |
| |
18 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 |
| |
20 | 34 |
| |
21 | 35 |
| |
| |||
51 | 65 |
| |
52 | 66 |
| |
53 | 67 |
| |
54 |
| - | |
| 68 | + | |
55 | 69 |
| |
56 | 70 |
| |
57 | 71 |
| |
| |||
81 | 95 |
| |
82 | 96 |
| |
83 | 97 |
| |
84 |
| - | |
| 98 | + | |
85 | 99 |
| |
86 | 100 |
| |
87 | 101 |
| |
|
python/paddle/distributed/communication/stream/all_gather.py
Copy file name to clipboardExpand all lines: python/paddle/distributed/communication/stream/all_gather.py+31-12Lines changed: 31 additions & 12 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 |
| |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 |
| |
22 | 31 |
| |
23 |
| - | |
24 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 |
| |
26 | 39 |
| |
27 | 40 |
| |
| |||
40 | 53 |
| |
41 | 54 |
| |
42 | 55 |
| |
43 |
| - | |
44 |
| - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
45 | 62 |
| |
46 | 63 |
| |
47 | 64 |
| |
| |||
59 | 76 |
| |
60 | 77 |
| |
61 | 78 |
| |
62 |
| - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
63 | 82 |
| |
64 | 83 |
| |
65 | 84 |
| |
| |||
121 | 140 |
| |
122 | 141 |
| |
123 | 142 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
130 | 149 |
| |
131 | 150 |
| |
132 | 151 |
| |
| |||
162 | 181 |
| |
163 | 182 |
| |
164 | 183 |
| |
165 |
| - | |
| 184 | + | |
166 | 185 |
| |
167 | 186 |
| |
168 | 187 |
| |
|
You can’t perform that action at this time.
0 commit comments