CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 20:29:34 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/"b1be15d1662d4e01982a3346a144fefd"
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=UGtMvBPzDR290K2NCe%2FncQfV74ZlLZefAs4%2BdnDy0TIohP5vTn5bGwtme9XQTvRRUw8XHMG%2F8Mb18yId77hNpbQrvAcJ10VpiiLe7AhaShdjakxJxZp13FG94lJz8XYQpvmhqB73wH%2FcZ5yTj0MesQu3IVxV1HgH7dS3MTgBMB7DG3cAeXvwVxL%2FwQElnL%2BQp0FVEiVqSlrkPqdB9E6E%2BA1JSmxIPegjIqpMW3tNnCoVdnFQTxMmG5bSF98JX1m%2BZIUIZznX0fFifWt4f01hIg%3D%3D--dGHzFGFlBxhdmnTq--4l%2Bjs14hE381OIZtU%2BdvOA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.171776454.1753475374; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 20:29:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 20:29:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9626:17C58D:A57A6:DDC69:6883E92E
[AMP] Add check_numerics API. (#54301) · PaddlePaddle/Paddle@a544459 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/framework/details/nan_inf_utils_detail.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/details/nan_inf_utils_detail.h
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/yaml/ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/check_numerics_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/check_numerics_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/check_numerics_utils.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit a544459
authored
[AMP] Add check_numerics API. (#54301)
* Add outputs to check_numerics_kernel.
* Add check_numerics to yaml.
* Add API and unittest.
* Add check_nan_inf_level as argument of check_numerics_kernel.
* Add more unittests.
* Fix static API implementation and unittest.
* Move the implementation of check_numerics to paddle.amp.
* Fix import error.1 parent 418d279 commit a544459Copy full SHA for a544459
File tree
Expand file treeCollapse file tree
12 files changed
+331
-90
lines changedFilter options
- paddle
- fluid
- framework/details
- pybind
- phi
- api/yaml
- infermeta
- kernels
- cpu
- funcs
- gpu
- python/paddle/amp
- test/legacy_test
Expand file treeCollapse file tree
12 files changed
+331
-90
lines changedpaddle/fluid/framework/details/nan_inf_utils_detail.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/details/nan_inf_utils_detail.cc-2Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 |
| - | |
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
|
paddle/fluid/framework/details/nan_inf_utils_detail.h
Copy file name to clipboardExpand all lines: paddle/fluid/framework/details/nan_inf_utils_detail.h+14-2Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| 26 | + | |
| 27 | + | |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| |||
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
| 64 | + | |
| 65 | + | |
61 | 66 |
| |
62 |
| - | |
63 |
| - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
64 | 76 |
| |
65 | 77 |
| |
66 | 78 |
| |
|
paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc-6Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2699 | 2699 |
| |
2700 | 2700 |
| |
2701 | 2701 |
| |
2702 |
| - | |
2703 |
| - | |
2704 |
| - | |
2705 |
| - | |
2706 |
| - | |
2707 |
| - | |
2708 | 2702 |
| |
2709 | 2703 |
| |
2710 | 2704 |
| |
|
paddle/phi/api/yaml/ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/api/yaml/ops.yaml+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
393 | 401 |
| |
394 | 402 |
| |
395 | 403 |
| |
|
paddle/phi/infermeta/unary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.cc+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4959 | 4959 |
| |
4960 | 4960 |
| |
4961 | 4961 |
| |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
| 4971 | + | |
| 4972 | + | |
| 4973 | + | |
| 4974 | + | |
| 4975 | + | |
4962 | 4976 |
| |
4963 | 4977 |
| |
4964 | 4978 |
|
paddle/phi/infermeta/unary.h
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/unary.h+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 |
| |
78 | 87 |
| |
79 | 88 |
| |
|
paddle/phi/kernels/check_numerics_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/check_numerics_kernel.h+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 |
| |
29 | 32 |
|
paddle/phi/kernels/cpu/check_numerics_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/check_numerics_kernel.cc+16-6Lines changed: 16 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
22 |
| - | |
23 |
| - | |
24 | 21 |
| |
25 | 22 |
| |
26 | 23 |
| |
27 | 24 |
| |
28 | 25 |
| |
29 | 26 |
| |
30 | 27 |
| |
| 28 | + | |
31 | 29 |
| |
32 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 |
| |
34 | 42 |
| |
35 | 43 |
| |
36 | 44 |
| |
37 | 45 |
| |
38 |
| - | |
| 46 | + | |
39 | 47 |
| |
40 |
| - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 |
| |
42 | 52 |
| |
43 | 53 |
| |
|
paddle/phi/kernels/funcs/check_numerics_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/check_numerics_utils.h+38-4Lines changed: 38 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
64 | 85 |
| |
65 | 86 |
| |
66 | 87 |
| |
| |||
197 | 218 |
| |
198 | 219 |
| |
199 | 220 |
| |
200 |
| - | |
201 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
202 | 225 |
| |
203 | 226 |
| |
204 | 227 |
| |
| |||
263 | 286 |
| |
264 | 287 |
| |
265 | 288 |
| |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
266 | 298 |
| |
267 | 299 |
| |
268 | 300 |
| |
| |||
298 | 330 |
| |
299 | 331 |
| |
300 | 332 |
| |
301 |
| - | |
302 |
| - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
303 | 337 |
| |
304 | 338 |
| |
305 | 339 |
| |
|
You can’t perform that action at this time.
0 commit comments