CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 05:50:20 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/"de922107da79821d42ecd97b5c32b145"
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=7z51zKYBxcYtCYBlK1dAPIUltaIzEjCFXlrAl3wWC3li68LRRfbsuybu%2FINlN8jf9ar3R%2BQV4KQI6t7zhU1ppXF9PKOjVdNLZTupXB3Y5z726W2eC2lVBO5%2BHSvt8AngH1kt%2F1R2c6C7XehaL%2F2FyU0VCPTmiPC8mcAPA69YzCo7ZasmPui1K6eXPF0YBd2MqlGWNjNkPpkICfRpZqFo0PZzd%2FqwZBMeG5Q74CxDq30bZF6je4t3VxAkthR%2Fi6vD4C5PyB3jrKQYFjf9YDuzHg%3D%3D--w3%2Fk2Qj%2FOlM%2B3lh3--COzkGU3fHeUcGS75PpSjRA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1717816755.1753509019; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 05:50:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 05:50:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B25E:1FA760:206688:2DEADD:68846C9B
【SOT】fix sot memory leakage when fallback (#58423) · PaddlePaddle/Paddle@3d6b6b2 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/executor_cache.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/function_graph.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/opcode_executor.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/variables/callable.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/symbolic/statement_ir.py
Copy file name to clipboardExpand all lines: test/sot/test_simulate_initialize.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 3d6b6b2
【SOT】fix sot memory leakage when fallback (#58423)
* fix sot memory leakage when fallback
* inplace clean call_stack
* [bugfix] fix layer created in forward function bugs: add check and make weakref to string ref.
---------
Co-authored-by: SigureMo <sigure.qaq@gmail.com>1 parent da8d9de commit 3d6b6b2Copy full SHA for 3d6b6b2
File tree
Expand file treeCollapse file tree
6 files changed
+56
-6
lines changedFilter options
- python/paddle/jit/sot
- opcode_translator/executor
- variables
- symbolic
- test/sot
Expand file treeCollapse file tree
6 files changed
+56
-6
lines changedpython/paddle/jit/sot/opcode_translator/executor/executor_cache.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/executor_cache.py+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
228 | 229 |
| |
229 | 230 |
| |
230 | 231 |
| |
| 232 | + | |
| 233 | + |
python/paddle/jit/sot/opcode_translator/executor/function_graph.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/function_graph.py+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
| 429 | + | |
429 | 430 |
| |
430 | 431 |
| |
431 | 432 |
| |
| |||
442 | 443 |
| |
443 | 444 |
| |
444 | 445 |
| |
445 |
| - | |
| 446 | + | |
446 | 447 |
| |
447 | 448 |
| |
448 | 449 |
| |
|
python/paddle/jit/sot/opcode_translator/executor/opcode_executor.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/opcode_executor.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1460 | 1460 |
| |
1461 | 1461 |
| |
1462 | 1462 |
| |
| 1463 | + | |
1463 | 1464 |
| |
1464 | 1465 |
| |
1465 | 1466 |
| |
|
python/paddle/jit/sot/opcode_translator/executor/variables/callable.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/opcode_translator/executor/variables/callable.py+12-1Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
526 | 529 |
| |
527 | 530 |
| |
528 | 531 |
| |
| |||
740 | 743 |
| |
741 | 744 |
| |
742 | 745 |
| |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
743 | 751 |
| |
744 | 752 |
| |
745 | 753 |
| |
746 | 754 |
| |
| 755 | + | |
| 756 | + | |
| 757 | + | |
747 | 758 |
| |
748 | 759 |
| |
749 | 760 |
| |
|
python/paddle/jit/sot/symbolic/statement_ir.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/symbolic/statement_ir.py+17-3Lines changed: 17 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 | 25 |
| |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
30 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
31 | 45 |
| |
32 | 46 |
| |
33 | 47 |
| |
| |||
139 | 153 |
| |
140 | 154 |
| |
141 | 155 |
| |
142 |
| - | |
| 156 | + | |
143 | 157 |
| |
144 | 158 |
| |
145 | 159 |
| |
146 | 160 |
| |
147 | 161 |
| |
148 | 162 |
| |
149 | 163 |
| |
150 |
| - | |
| 164 | + | |
151 | 165 |
| |
152 | 166 |
| |
153 | 167 |
| |
|
test/sot/test_simulate_initialize.py
Copy file name to clipboardExpand all lines: test/sot/test_simulate_initialize.py+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 |
| |
35 | 47 |
| |
36 | 48 |
| |
| |||
40 | 52 |
| |
41 | 53 |
| |
42 | 54 |
| |
| 55 | + | |
43 | 56 |
| |
44 | 57 |
| |
45 | 58 |
| |
46 | 59 |
| |
47 | 60 |
| |
48 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
49 | 69 |
| |
50 | 70 |
| |
51 | 71 |
|
You can’t perform that action at this time.
0 commit comments