CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 03:51: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/"08f23b7009415b1617f7379cf9eb03fd"
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=fwr7HERVTdKbbT28sgXHoyp30%2FVw0aL0C6B%2FVcw0%2BDFlinGPCK3sOLANONECcnL8KVjNAr3%2Fxg2C2zp%2BexIpZG8k7FQIBTDv2u534WNWWCJe5VzqipjMktkZgjbx2tj0ooDnW9vB0A12mgU3ygAtfBaNZR%2B0Ry7dqj9R49s8j38plO4Z6Ji6HWsdeiZ0uY2QzhmtgJ4HHwrOtt7b2rHO5Cqqx%2FJm2SLEGpIiVoVu5ASqXY1mBHnIgL8TKI6J2ZtgW%2FoZ2TxM5aEML%2FH1s4ystA%3D%3D--sj1l%2BOeoz5eKm8nR--GgP3QzwybvRcoS9sSzAR5w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1754606448.1753847474; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 03:51:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 03:51:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E57C:32AE6E:229589:32437B:688996B2
【Hackathon 7th No.21】为 Paddle 新增 reset_max_memory_reserved/reset_max_… · PaddlePaddle/Paddle@202aff3 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/memory/stats.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/memory/stats.h
Copy file name to clipboardExpand all lines: python/paddle/device/cuda/__init__.py
Copy file name to clipboardExpand all lines: test/cpp/fluid/memory/stats_test.cc
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 202aff3
File tree
Expand file treeCollapse file tree
7 files changed
+307
-3
lines changedFilter options
- paddle
- fluid/pybind
- phi/core/memory
- python/paddle/device/cuda
- test
- cpp/fluid/memory
- legacy_test
Expand file treeCollapse file tree
7 files changed
+307
-3
lines changedpaddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2565 | 2565 |
| |
2566 | 2566 |
| |
2567 | 2567 |
| |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
2568 | 2571 |
| |
2569 | 2572 |
| |
| 2573 | + | |
| 2574 | + | |
2570 | 2575 |
| |
2571 | 2576 |
| |
2572 | 2577 |
| |
|
paddle/phi/core/memory/stats.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/memory/stats.cc+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 |
| |
62 | 66 |
| |
63 | 67 |
| |
| |||
93 | 97 |
| |
94 | 98 |
| |
95 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 |
| |
97 | 105 |
| |
98 | 106 |
| |
| |||
108 | 116 |
| |
109 | 117 |
| |
110 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
111 | 123 |
| |
112 | 124 |
| |
113 | 125 |
| |
|
paddle/phi/core/memory/stats.h
Copy file name to clipboardExpand all lines: paddle/phi/core/memory/stats.h+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| |||
112 | 113 |
| |
113 | 114 |
| |
114 | 115 |
| |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
115 | 132 |
| |
116 | 133 |
| |
117 | 134 |
| |
| |||
128 | 145 |
| |
129 | 146 |
| |
130 | 147 |
| |
| 148 | + | |
131 | 149 |
| |
132 | 150 |
| |
133 | 151 |
| |
134 | 152 |
| |
135 | 153 |
| |
136 | 154 |
| |
| 155 | + | |
137 | 156 |
| |
138 | 157 |
| |
139 | 158 |
| |
| |||
179 | 198 |
| |
180 | 199 |
| |
181 | 200 |
| |
| 201 | + | |
| 202 | + | |
182 | 203 |
| |
183 | 204 |
| |
184 | 205 |
| |
| |||
199 | 220 |
| |
200 | 221 |
| |
201 | 222 |
| |
| 223 | + | |
| 224 | + | |
202 | 225 |
| |
203 | 226 |
| |
204 | 227 |
| |
|
python/paddle/device/cuda/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/device/cuda/__init__.py+62Lines changed: 62 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
| 52 | + | |
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
| |||
298 | 300 |
| |
299 | 301 |
| |
300 | 302 |
| |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
301 | 363 |
| |
302 | 364 |
| |
303 | 365 |
| |
|
test/cpp/fluid/memory/stats_test.cc
Copy file name to clipboardExpand all lines: test/cpp/fluid/memory/stats_test.cc+27-3Lines changed: 27 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| 40 | + | |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| |||
94 | 97 |
| |
95 | 98 |
| |
96 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
97 | 112 |
| |
98 | 113 |
| |
99 | 114 |
| |
| |||
125 | 140 |
| |
126 | 141 |
| |
127 | 142 |
| |
| 143 | + | |
128 | 144 |
| |
129 | 145 |
| |
130 | 146 |
| |
131 | 147 |
| |
132 | 148 |
| |
133 | 149 |
| |
134 |
| - | |
| 150 | + | |
| 151 | + | |
135 | 152 |
| |
136 | 153 |
| |
137 | 154 |
| |
| |||
146 | 163 |
| |
147 | 164 |
| |
148 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
149 | 169 |
| |
150 | 170 |
| |
151 | 171 |
| |
| |||
161 | 181 |
| |
162 | 182 |
| |
163 | 183 |
| |
| 184 | + | |
| 185 | + | |
| 186 | + | |
164 | 187 |
| |
165 | 188 |
| |
166 | 189 |
| |
| |||
169 | 192 |
| |
170 | 193 |
| |
171 | 194 |
| |
172 |
| - | |
| 195 | + | |
| 196 | + | |
173 | 197 |
| |
174 | 198 |
| |
175 | 199 |
| |
|
test/legacy_test/test_cuda_reset_max_memory_allocated.py
Copy file name to clipboard+89Lines changed: 89 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + |
You can’t perform that action at this time.
0 commit comments