CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 20:15:15 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/"17d73531f0c0c9660483f3f152394b04"
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=7kmyhvRGlGsXbKrAvRvgD9PhdseYuWeXY3Xvzz2HdLT0SewR1uFPi8%2BDj57E%2BBx8IT80tQUNa42deAvjRjb58XE0c1UkUldpNNeUS9p0R5uWrphZ1231XM5JWpf163HvVmgeWR6fPuImM2eXjKD%2FnpqztlPMy9Uyqik7JesSWucxBxrI53peVW1ajXt%2BonJTkw8qHK6up8QYOStx5PQipSXcqh4y5rlWe2AGjZG9I4LvwRykahpIUIrtj%2BlJBFieBX0uYEeXE8p%2FvfUNrFCKGg%3D%3D--ro0Bmkr3EGssVdMT--hq%2Ba2fJaOoWG6iC2Ai5kZg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1258566371.1753733714; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 20:15:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 20:15:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DA5E:2A06CB:694B2:8C1E9:6887DA52
【Hackathon 7th PPSCI No.12】Adam、AdamW 优化器支持 amsgrad -part (#68079) · PaddlePaddle/Paddle@d774b83 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: paddle/fluid/operators/fused/fused_adam_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/ops_signature/adam_sig.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/ops_signature/fused_adam_sig.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_generator.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/multiary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/multiary.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit d774b83
authored
【Hackathon 7th PPSCI No.12】Adam、AdamW 优化器支持 amsgrad -part (#68079)
* [init] amsgrad
* [update] refer.h
* [Add] amsgrad gpu
* [Add] amsgrad for adamw and fused
* [Fix] adamw gpu kernel
* [Update] fused adam kernel for gpu
* [Update] xpu adam/adamw param list
* [Update] tests for amsgrad
* [Fix] moment2 max out settting values without amsgrad
* [Update] unittest passed for adam and adamw
* [Update] unittest passed for merged and fused amda
* [Update] make moment2_max optional
* [Update] test_adamw_op.py with new test cast
* [Update] adam adamw with amsgrad formula
* [Update] adam/adamw for test.cc
* [Fix] xpu param name
* [Fix] xpu param name & unittest
* [Fix] xpu param type
* [Fix] xpu unittest
* [Fix] xpu unittest
* [Fix] xpu unittest
* [Fix] merged_adam_ op_compat.yaml
* [Fix] remove UNUSED
* [Fix] remove UNUSED
* [Update] unittest adam op
* [Fix] op_compat.yaml
* [Update] assembly for adam adamw
* [Fix] adamw.cc for assembly jit gen
* [Update] adam with old ir test
* [Update] codestyle
* [Update] npu test rtol adamw
* [Update] xpu amsgrad raise errors
* [Fix] not test xpu amsgrad1 parent 279fa69 commit d774b83Copy full SHA for d774b83
File tree
Expand file treeCollapse file tree
55 files changed
+2669
-820
lines changedFilter options
- paddle
- fluid
- operators
- fused
- ops_signature
- pybind
- phi
- infermeta
- spmd_rules
- kernels
- cpu
- funcs
- jit
- gen
- refer
- gpu
- selected_rows
- cpu
- gpu
- xpu
- xpu
- ops/yaml
- inconsistent
- python/paddle/optimizer
- test
- auto_parallel
- collective/fleet
- cpp/phi/kernels
- legacy_test
- white_list
- xpu
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
55 files changed
+2669
-820
lines changedpaddle/fluid/operators/fused/fused_adam_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/fused/fused_adam_op.cc+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 |
| |
61 | 64 |
| |
62 | 65 |
| |
| |||
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 |
| |
76 | 83 |
| |
77 | 84 |
| |
| |||
122 | 129 |
| |
123 | 130 |
| |
124 | 131 |
| |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
125 | 136 |
| |
126 | 137 |
| |
127 | 138 |
| |
|
paddle/fluid/operators/ops_signature/adam_sig.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/ops_signature/adam_sig.cc+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
| |||
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
| 51 | + | |
49 | 52 |
| |
50 | 53 |
| |
51 | 54 |
| |
|
paddle/fluid/operators/ops_signature/fused_adam_sig.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/ops_signature/fused_adam_sig.cc+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
42 | 44 |
| |
43 | 45 |
| |
44 | 46 |
| |
45 |
| - | |
| 47 | + | |
| 48 | + | |
46 | 49 |
| |
47 | 50 |
| |
48 | 51 |
| |
|
paddle/fluid/pybind/eager_generator.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_generator.cc+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3344 | 3344 |
| |
3345 | 3345 |
| |
3346 | 3346 |
| |
| 3347 | + | |
3347 | 3348 |
| |
3348 | 3349 |
| |
3349 | 3350 |
| |
3350 | 3351 |
| |
3351 | 3352 |
| |
3352 | 3353 |
| |
3353 | 3354 |
| |
| 3355 | + | |
3354 | 3356 |
| |
3355 | 3357 |
| |
3356 | 3358 |
| |
3357 | 3359 |
| |
3358 | 3360 |
| |
3359 | 3361 |
| |
3360 | 3362 |
| |
| 3363 | + | |
3361 | 3364 |
| |
3362 | 3365 |
| |
3363 | 3366 |
| |
3364 | 3367 |
| |
3365 | 3368 |
| |
3366 | 3369 |
| |
3367 | 3370 |
| |
| 3371 | + | |
3368 | 3372 |
| |
3369 | 3373 |
| |
3370 | 3374 |
| |
| |||
3544 | 3548 |
| |
3545 | 3549 |
| |
3546 | 3550 |
| |
| 3551 | + | |
3547 | 3552 |
| |
3548 | 3553 |
| |
3549 | 3554 |
| |
| |||
3553 | 3558 |
| |
3554 | 3559 |
| |
3555 | 3560 |
| |
| 3561 | + | |
3556 | 3562 |
| |
3557 | 3563 |
| |
3558 | 3564 |
| |
| |||
3562 | 3568 |
| |
3563 | 3569 |
| |
3564 | 3570 |
| |
| 3571 | + | |
3565 | 3572 |
| |
3566 | 3573 |
| |
3567 | 3574 |
| |
| |||
3572 | 3579 |
| |
3573 | 3580 |
| |
3574 | 3581 |
| |
| 3582 | + | |
3575 | 3583 |
| |
3576 | 3584 |
| |
3577 | 3585 |
| |
| |||
3723 | 3731 |
| |
3724 | 3732 |
| |
3725 | 3733 |
| |
| 3734 | + | |
3726 | 3735 |
| |
3727 | 3736 |
| |
3728 | 3737 |
| |
3729 | 3738 |
| |
3730 | 3739 |
| |
3731 | 3740 |
| |
3732 | 3741 |
| |
| 3742 | + | |
3733 | 3743 |
| |
3734 | 3744 |
| |
3735 | 3745 |
| |
3736 | 3746 |
| |
3737 | 3747 |
| |
3738 | 3748 |
| |
3739 | 3749 |
| |
| 3750 | + | |
3740 | 3751 |
| |
3741 | 3752 |
| |
3742 | 3753 |
| |
3743 | 3754 |
| |
3744 | 3755 |
| |
3745 | 3756 |
| |
3746 | 3757 |
| |
| 3758 | + | |
3747 | 3759 |
| |
3748 | 3760 |
| |
3749 | 3761 |
| |
|
paddle/phi/infermeta/multiary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/multiary.cc+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
| 155 | + | |
155 | 156 |
| |
156 | 157 |
| |
157 | 158 |
| |
| |||
163 | 164 |
| |
164 | 165 |
| |
165 | 166 |
| |
| 167 | + | |
166 | 168 |
| |
167 | 169 |
| |
168 | 170 |
| |
| 171 | + | |
169 | 172 |
| |
170 | 173 |
| |
171 | 174 |
| |
| |||
232 | 235 |
| |
233 | 236 |
| |
234 | 237 |
| |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
235 | 242 |
| |
236 | 243 |
| |
237 | 244 |
| |
| |||
328 | 335 |
| |
329 | 336 |
| |
330 | 337 |
| |
| 338 | + | |
331 | 339 |
| |
332 | 340 |
| |
333 | 341 |
| |
| |||
342 | 350 |
| |
343 | 351 |
| |
344 | 352 |
| |
| 353 | + | |
345 | 354 |
| |
346 | 355 |
| |
347 | 356 |
| |
| 357 | + | |
348 | 358 |
| |
349 | 359 |
| |
350 | 360 |
| |
| |||
353 | 363 |
| |
354 | 364 |
| |
355 | 365 |
| |
| 366 | + | |
356 | 367 |
| |
357 | 368 |
| |
358 | 369 |
| |
| |||
364 | 375 |
| |
365 | 376 |
| |
366 | 377 |
| |
| 378 | + | |
367 | 379 |
| |
368 | 380 |
| |
369 | 381 |
| |
| 382 | + | |
370 | 383 |
| |
371 | 384 |
| |
372 | 385 |
| |
| |||
3866 | 3879 |
| |
3867 | 3880 |
| |
3868 | 3881 |
| |
| 3882 | + | |
3869 | 3883 |
| |
3870 | 3884 |
| |
3871 | 3885 |
| |
| |||
3874 | 3888 |
| |
3875 | 3889 |
| |
3876 | 3890 |
| |
| 3891 | + | |
3877 | 3892 |
| |
3878 | 3893 |
| |
3879 | 3894 |
| |
| 3895 | + | |
3880 | 3896 |
| |
3881 | 3897 |
| |
3882 | 3898 |
| |
| |||
5796 | 5812 |
| |
5797 | 5813 |
| |
5798 | 5814 |
| |
| 5815 | + | |
5799 | 5816 |
| |
5800 | 5817 |
| |
5801 | 5818 |
| |
| |||
5808 | 5825 |
| |
5809 | 5826 |
| |
5810 | 5827 |
| |
| 5828 | + | |
5811 | 5829 |
| |
5812 | 5830 |
| |
5813 | 5831 |
| |
| 5832 | + | |
5814 | 5833 |
| |
5815 | 5834 |
| |
5816 | 5835 |
| |
| |||
5822 | 5841 |
| |
5823 | 5842 |
| |
5824 | 5843 |
| |
| 5844 | + | |
| 5845 | + | |
| 5846 | + | |
| 5847 | + | |
5825 | 5848 |
| |
5826 | 5849 |
| |
5827 | 5850 |
| |
|
paddle/phi/infermeta/multiary.h
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/multiary.h+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
| |||
97 | 98 |
| |
98 | 99 |
| |
99 | 100 |
| |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
| 105 | + | |
103 | 106 |
| |
104 | 107 |
| |
105 | 108 |
| |
| |||
109 | 112 |
| |
110 | 113 |
| |
111 | 114 |
| |
| 115 | + | |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
| |||
123 | 127 |
| |
124 | 128 |
| |
125 | 129 |
| |
| 130 | + | |
126 | 131 |
| |
127 | 132 |
| |
128 | 133 |
| |
| 134 | + | |
129 | 135 |
| |
130 | 136 |
| |
131 | 137 |
| |
| |||
711 | 717 |
| |
712 | 718 |
| |
713 | 719 |
| |
| 720 | + | |
714 | 721 |
| |
715 | 722 |
| |
716 | 723 |
| |
| |||
719 | 726 |
| |
720 | 727 |
| |
721 | 728 |
| |
| 729 | + | |
722 | 730 |
| |
723 | 731 |
| |
724 | 732 |
| |
| 733 | + | |
725 | 734 |
| |
726 | 735 |
| |
727 | 736 |
| |
| |||
1117 | 1126 |
| |
1118 | 1127 |
| |
1119 | 1128 |
| |
| 1129 | + | |
1120 | 1130 |
| |
1121 | 1131 |
| |
1122 | 1132 |
| |
| |||
1129 | 1139 |
| |
1130 | 1140 |
| |
1131 | 1141 |
| |
| 1142 | + | |
1132 | 1143 |
| |
1133 | 1144 |
| |
1134 | 1145 |
| |
| 1146 | + | |
1135 | 1147 |
| |
1136 | 1148 |
| |
1137 | 1149 |
| |
|
You can’t perform that action at this time.
0 commit comments