CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:00:04 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/"0fc3bdda994f7a7a890d0a19f7d21a84"
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=JpFOFD8eExGUwWp9vKmvXvMfI6aZS%2FoRAPaceEgTs8AMReSrou9BHwq3U6oFxVflOvHDzWycAPOwRSBNkNLEhytQQARh5aihEXDp52whCNueb8Cc%2BBVXRh5LwkuxBIY4WNvB9xeESDje8Mv%2FXQxRGgPHeCsMYqo9LvEXEl2fxBiqZxL9FkdHKolpQvnBgqvEXRcpzkxzjFwdkKrm3OCURH9GoyHnfquypuTZTqVDe0BL4i%2Fc1GCI%2BauVOKA6TNidlwWoXTCiGXJFp6UOW5a0gA%3D%3D--xpivLWXo6HzGYmJV--G0OwsPcmCS2KBzPVa2iNTQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2099971547.1753430403; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:00:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:00:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A496:1D2B8F:4EC758:5F72D1:68833983
[xpu] support: each parameter has different lr in merged_momentum (#7… · PaddlePaddle/Paddle@f4e8acb · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/merged_momentum_kernel.cc
Copy file name to clipboardExpand all lines: test/xpu/test_merged_momentum_op_xpu.py
Copy file name to clipboardExpand all lines: test/xpu/test_merged_momentum_op_xpu_base.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit f4e8acb
authored
[xpu] support: each parameter has different lr in merged_momentum (#71212)
* support: each parameter has different lr in merged_momentum
* fix code style
* support only one lr in merged_momentum
* support only one lr in merged_momentum
* limit: lr should be either 1 or len of param
* fix code style
* add some test cases for merged_moementum1 parent 1d7d88b commit f4e8acbCopy full SHA for f4e8acb
File tree
Expand file treeCollapse file tree
3 files changed
+72
-19
lines changedFilter options
- paddle/phi/kernels/xpu
- test/xpu
Expand file treeCollapse file tree
3 files changed
+72
-19
lines changedpaddle/phi/kernels/xpu/merged_momentum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/merged_momentum_kernel.cc+32-4Lines changed: 32 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
16 | 18 |
| |
| 19 | + | |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
21 |
| - | |
22 |
| - | |
23 | 24 |
| |
24 | 25 |
| |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
| |||
43 | 45 |
| |
44 | 46 |
| |
45 | 47 |
| |
46 |
| - | |
47 | 48 |
| |
48 | 49 |
| |
| 50 | + | |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
| |||
78 | 80 |
| |
79 | 81 |
| |
80 | 82 |
| |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 |
| |
82 | 89 |
| |
83 | 90 |
| |
84 | 91 |
| |
85 | 92 |
| |
| 93 | + | |
86 | 94 |
| |
87 | 95 |
| |
88 | 96 |
| |
| |||
96 | 104 |
| |
97 | 105 |
| |
98 | 106 |
| |
| 107 | + | |
| 108 | + | |
| 109 | + | |
99 | 110 |
| |
100 | 111 |
| |
101 | 112 |
| |
| |||
116 | 127 |
| |
117 | 128 |
| |
118 | 129 |
| |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
119 | 148 |
| |
120 | 149 |
| |
121 | 150 |
| |
| |||
129 | 158 |
| |
130 | 159 |
| |
131 | 160 |
| |
132 |
| - | |
133 | 161 |
| |
134 | 162 |
| |
135 | 163 |
| |
|
test/xpu/test_merged_momentum_op_xpu.py
Copy file name to clipboardExpand all lines: test/xpu/test_merged_momentum_op_xpu.py+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| 51 | + | |
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
| 56 | + | |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
57 | 60 |
| |
| 61 | + | |
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
| 66 | + | |
62 | 67 |
| |
63 | 68 |
| |
64 | 69 |
| |
|
test/xpu/test_merged_momentum_op_xpu_base.py
Copy file name to clipboardExpand all lines: test/xpu/test_merged_momentum_op_xpu_base.py+35-15Lines changed: 35 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 |
| |
73 | 75 |
| |
74 | 76 |
| |
| |||
98 | 100 |
| |
99 | 101 |
| |
100 | 102 |
| |
101 |
| - | |
102 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
103 | 111 |
| |
104 | 112 |
| |
105 | 113 |
| |
| |||
129 | 137 |
| |
130 | 138 |
| |
131 | 139 |
| |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 |
| |
133 | 145 |
| |
134 | 146 |
| |
| |||
158 | 170 |
| |
159 | 171 |
| |
160 | 172 |
| |
161 |
| - | |
| 173 | + | |
162 | 174 |
| |
163 | 175 |
| |
164 | 176 |
| |
| |||
190 | 202 |
| |
191 | 203 |
| |
192 | 204 |
| |
| 205 | + | |
193 | 206 |
| |
194 | 207 |
| |
195 | 208 |
| |
196 | 209 |
| |
197 | 210 |
| |
198 | 211 |
| |
199 | 212 |
| |
200 |
| - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
201 | 216 |
| |
202 | 217 |
| |
203 | 218 |
| |
204 | 219 |
| |
205 |
| - | |
| 220 | + | |
206 | 221 |
| |
207 | 222 |
| |
208 | 223 |
| |
209 | 224 |
| |
210 |
| - | |
| 225 | + | |
211 | 226 |
| |
212 | 227 |
| |
213 | 228 |
| |
214 | 229 |
| |
215 | 230 |
| |
216 | 231 |
| |
217 | 232 |
| |
218 |
| - | |
| 233 | + | |
219 | 234 |
| |
220 |
| - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
221 | 241 |
| |
222 | 242 |
| |
223 | 243 |
| |
| |||
227 | 247 |
| |
228 | 248 |
| |
229 | 249 |
| |
230 |
| - | |
| 250 | + | |
231 | 251 |
| |
232 | 252 |
| |
233 | 253 |
| |
|
You can’t perform that action at this time.
0 commit comments