CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 07:21:27 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/"a7fff2199805397fb300bc944173dd6d"
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=E2DUNBuCiCK%2FrKTjAEeLHn6EjcGTfmSjK2GqR43GJGhTiBWTXsBXGXFm8ELZboCl4iOr8uiOR3PERSDoSl23UlMf9JfwgyUKLwS2UhP9d70tUOE8wLPWrHrqWuFBI%2FWr8j17%2BWga8YDvUxGCZNdtok4aZO2tbRZxRvLfBinyh1QlJe0Zpl%2BK8Zpakxt%2FmTGdVAECPqY94zlOVQUZG53%2BpQe%2FybzZcTXi5ugpmQrwq%2BLjhVRFuqgRn2NeRNKHEOTiP3dXMwH4lV%2BWV1qD0RBSJg%3D%3D--EfaB07YCObUztTr2--z9FEDXaXk%2BFzDe2%2FXmZ7sw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.634422635.1753428087; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:21:27 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:21:27 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D056:2026F8:44B1EB:542A48:68833076
解决 grad_fn next_functions api 接口导致内存异常的问题 - (#55627) · PaddlePaddle/Paddle@03a2f18 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_properties.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.h
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: test/legacy_test/test_grad_fn_and_next_functions.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 03a2f18
authored
解决 grad_fn next_functions api 接口导致内存异常的问题 - (#55627)
* [尝试] 给tensor增加一个属性, 这个属性是一个定值 1
* 暴露gradnode 并构建gradnode新的方法(用来测试)进行暴露给python python端可以访问
* 开发grad_fn、next_functions两个API 并暴露到python端- 做一些规范化处理
* 增加一个单元测试
* 优化 code-style
* 将单侧文件迁到正确的位置
* 优化 code-style
* 删除无用注释
* 解决 __main__ has no attribute
* 修改单侧文件
* 修改单侧脚本-temp
* 解决 grad_fn next_functions api 接口导致内存异常的问题
* 修改单测内容
* 解决 code-style 问题1 parent 05a4069 commit 03a2f18Copy full SHA for 03a2f18
File tree
Expand file treeCollapse file tree
5 files changed
+30
-15
lines changedFilter options
- paddle/fluid/pybind
- test/legacy_test
Expand file treeCollapse file tree
5 files changed
+30
-15
lines changedpaddle/fluid/pybind/eager_properties.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_properties.cc+4-5Lines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
317 | 317 |
| |
318 | 318 |
| |
319 | 319 |
| |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
| 320 | + | |
| 321 | + | |
324 | 322 |
| |
325 | 323 |
| |
326 | 324 |
| |
327 | 325 |
| |
328 |
| - | |
| 326 | + | |
329 | 327 |
| |
330 | 328 |
| |
| 329 | + | |
331 | 330 |
| |
332 | 331 |
| |
333 | 332 |
| |
|
paddle/fluid/pybind/eager_utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.cc+2-3Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1006 | 1006 |
| |
1007 | 1007 |
| |
1008 | 1008 |
| |
1009 |
| - | |
| 1009 | + | |
1010 | 1010 |
| |
1011 |
| - | |
1012 |
| - | |
| 1011 | + | |
1013 | 1012 |
| |
1014 | 1013 |
| |
1015 | 1014 |
| |
|
paddle/fluid/pybind/eager_utils.h
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/eager_utils.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
129 |
| - | |
| 129 | + | |
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
|
paddle/fluid/pybind/pybind.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/pybind.cc+18-6Lines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
778 | 778 |
| |
779 | 779 |
| |
780 | 780 |
| |
781 |
| - | |
782 |
| - | |
783 |
| - | |
784 |
| - | |
785 |
| - | |
786 |
| - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
787 | 799 |
| |
788 | 800 |
| |
789 | 801 |
| |
|
test/legacy_test/test_grad_fn_and_next_functions.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_grad_fn_and_next_functions.py+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 |
| |
87 | 92 |
| |
88 | 93 |
| |
|
You can’t perform that action at this time.
0 commit comments