CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:10:02 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/"dafd3fa85cd75786b9c5415674886860"
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=nlRsyvfQLQSJQ3qQg0EdjurzTq2B5W3cyHTRFIU0QVrvx9fJybP8ogaIJp3ltVyXwvrbOYpmWLeLQD7AsOQdSELCUKCTpDQXOo3X6b4RgR43cHUH73FQXb5EtiIZk%2BJ%2BNmOkEtdmkLiMbcOoDik5pCJo0cEX1qsSl72xs%2B29D4vWCTUReBYx8Vz9B4E54lLIf77Kf0ntI1GuiSWoaTW1zx2o7p9M7V0SpOa6S7VzdcQgGsP4OYRTSNfR6XnBJY0PeqtO0KN4bap2VNfjChhuiw%3D%3D--n9bLYROcAt8RSUWf--WvNb8ktylwkIKJfhaOH8Hw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1306120859.1753431002; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:10:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:10:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E00C:B7ECB:50D194:61CEB4:68833BD9
[XPU] use fp16 in adamw optimizer (#57077) · PaddlePaddle/Paddle@774162b · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/core/dense_tensor.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/dense_tensor_impl.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/tensor_meta.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/tensor_meta.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/adamw_kernel.cc
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamw.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 774162b
File tree
Expand file treeCollapse file tree
6 files changed
+253
-9
lines changedFilter options
- paddle/phi
- core
- kernels/xpu
- python/paddle/optimizer
Expand file treeCollapse file tree
6 files changed
+253
-9
lines changedpaddle/phi/core/dense_tensor.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/dense_tensor.cc+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
| 235 | + | |
| 236 | + | |
| 237 | + | |
235 | 238 |
| |
236 | 239 |
| |
237 | 240 |
| |
|
paddle/phi/core/dense_tensor_impl.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/dense_tensor_impl.cc+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
| 395 | + | |
| 396 | + | |
| 397 | + | |
395 | 398 |
| |
396 | 399 |
| |
397 | 400 |
| |
|
paddle/phi/core/tensor_meta.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/tensor_meta.cc+27-2Lines changed: 27 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
122 | 127 |
| |
123 | 128 |
| |
124 | 129 |
| |
125 | 130 |
| |
126 | 131 |
| |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
130 | 138 |
| |
131 | 139 |
| |
132 | 140 |
| |
133 | 141 |
| |
| 142 | + | |
| 143 | + | |
| 144 | + | |
134 | 145 |
| |
135 | 146 |
| |
136 | 147 |
| |
| |||
140 | 151 |
| |
141 | 152 |
| |
142 | 153 |
| |
| 154 | + | |
| 155 | + | |
| 156 | + | |
143 | 157 |
| |
144 | 158 |
| |
145 | 159 |
| |
| |||
150 | 164 |
| |
151 | 165 |
| |
152 | 166 |
| |
| 167 | + | |
| 168 | + | |
| 169 | + | |
153 | 170 |
| |
154 | 171 |
| |
155 | 172 |
| |
| |||
165 | 182 |
| |
166 | 183 |
| |
167 | 184 |
| |
| 185 | + | |
| 186 | + | |
| 187 | + | |
168 | 188 |
| |
169 | 189 |
| |
170 | 190 |
| |
| |||
180 | 200 |
| |
181 | 201 |
| |
182 | 202 |
| |
| 203 | + | |
| 204 | + | |
| 205 | + | |
183 | 206 |
| |
184 | 207 |
| |
185 | 208 |
| |
| |||
197 | 220 |
| |
198 | 221 |
| |
199 | 222 |
| |
200 |
| - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
201 | 226 |
| |
202 | 227 |
| |
203 | 228 |
| |
|
paddle/phi/core/tensor_meta.h
Copy file name to clipboardExpand all lines: paddle/phi/core/tensor_meta.h+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 |
| |
86 | 91 |
| |
87 | 92 |
| |
88 | 93 |
| |
89 | 94 |
| |
90 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
91 | 100 |
| |
| 101 | + | |
92 | 102 |
| |
93 | 103 |
| |
94 | 104 |
| |
|
paddle/phi/kernels/xpu/adamw_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/adamw_kernel.cc+191-5Lines changed: 191 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
28 | 47 |
| |
29 | 48 |
| |
30 | 49 |
| |
| |||
52 | 71 |
| |
53 | 72 |
| |
54 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
55 | 166 |
| |
56 | 167 |
| |
57 | 168 |
| |
| |||
94 | 205 |
| |
95 | 206 |
| |
96 | 207 |
| |
97 |
| - | |
| 208 | + | |
98 | 209 |
| |
99 | 210 |
| |
100 | 211 |
| |
| |||
107 | 218 |
| |
108 | 219 |
| |
109 | 220 |
| |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
110 | 225 |
| |
111 | 226 |
| |
112 | 227 |
| |
113 |
| - | |
114 |
| - | |
| 228 | + | |
| 229 | + | |
115 | 230 |
| |
116 | 231 |
| |
117 | 232 |
| |
118 | 233 |
| |
119 |
| - | |
120 |
| - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
121 | 238 |
| |
122 | 239 |
| |
123 | 240 |
| |
| |||
126 | 243 |
| |
127 | 244 |
| |
128 | 245 |
| |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
129 | 315 |
| |
130 | 316 |
| |
131 | 317 |
| |
|
python/paddle/optimizer/adamw.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamw.py+19-2Lines changed: 19 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
345 |
| - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
346 | 363 |
| |
347 | 364 |
| |
348 | 365 |
| |
|
You can’t perform that action at this time.
0 commit comments