CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 09:23: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/"ed1d3caa82b01db83676d2586e4b88ec"
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=zGfwI9yNC4pQ9ZoRz0coDvIZVEMPl%2Fou6MDWpRA0NG%2Blj9WzAoEs2YbSy6cI1tC218GdcxskZbBOxMKIaloH3xjD%2FEN28%2F8la0xDKf8aHbvODuM2%2B6PcMvKQbCUWIcdcySyUgeviFS8y%2FL0L4tbj7KSqsiaFuJkWHjRZTr7uef2voVpizLhRi6Up9BegJk0mepWJ4hbRbtnd65QZUpEjy0Rn0twpcjUbAAv1hfHDbtNj%2BlQmWpLkKdj7eZniTZROBZ4e17FOl2Zxi1IzOx7W4Q%3D%3D--OfX%2FSr%2FF5vyBHJqT--KVERkCYLKfuhDe8pb9apUA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.952653236.1753435394; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:23:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:23:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E718:2026F8:624871:758F62:68834D02
Support tensor attribute runtime (#54692) · PaddlePaddle/Paddle@93f7a02 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/interpretercore.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/pass/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc
Copy file name to clipboard
Copy file name to clipboardExpand all lines: paddle/phi/core/attribute.h
Copy file name to clipboardExpand all lines: paddle/phi/core/infermeta_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/infermeta_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/core/kernel_context.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/kernel_context.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 93f7a02
authored
Support tensor attribute runtime (#54692)
* add kernel dialect
* change DenseTensorTypeStorage to DenseTensorType
* add test case`
* add first pd_op to kernel dialect
* lower pd op to kernel dialect
* update
* update
* remove useless code
* add attrite print test
* fix bug
* update
* update
* update
* update
* polish code
* fix bug
* polish code and add python test
* add test
* fix test error
* add env flag
* fix bug
* revert test env
* change cc_test_old to cc_test
* fix build_static bug
* fix type test error
* udpate cmake
* disable test in windows
* fix inference compile
* update
* support tensor attribute runtime
* add result check
* polish test code
* fix test error
* add scalar test & polish code
* re-open test case1 parent 752670e commit 93f7a02Copy full SHA for 93f7a02
File tree
Expand file treeCollapse file tree
12 files changed
+247
-24
lines changedFilter options
- paddle
- fluid
- framework/new_executor
- interpreter
- ir
- pass
- phi_kernel_adaptor
- phi
- common
- core
- test/cpp/new_executor
Expand file treeCollapse file tree
12 files changed
+247
-24
lines changedpaddle/fluid/framework/new_executor/interpreter/interpreter_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
965 | 965 |
| |
966 | 966 |
| |
967 | 967 |
| |
| 968 | + | |
| 969 | + | |
968 | 970 |
| |
969 | 971 |
| |
970 | 972 |
| |
| |||
976 | 978 |
| |
977 | 979 |
| |
978 | 980 |
| |
| 981 | + | |
| 982 | + | |
979 | 983 |
| |
980 | 984 |
| |
981 | 985 |
| |
| |||
992 | 996 |
| |
993 | 997 |
| |
994 | 998 |
| |
| 999 | + | |
995 | 1000 |
| |
996 | 1001 |
| |
997 | 1002 |
| |
|
paddle/fluid/framework/new_executor/interpretercore.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/interpretercore.cc+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
| 296 | + | |
296 | 297 |
| |
297 | 298 |
| |
| 299 | + | |
298 | 300 |
| |
299 | 301 |
| |
300 | 302 |
| |
|
paddle/fluid/ir/pass/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/pass/pd_op_to_kernel_pass.cc+16-5Lines changed: 16 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 |
| |
50 | 55 |
| |
51 | 56 |
| |
| |||
70 | 75 |
| |
71 | 76 |
| |
72 | 77 |
| |
73 |
| - | |
| 78 | + | |
74 | 79 |
| |
75 | 80 |
| |
76 | 81 |
| |
77 |
| - | |
78 |
| - | |
| 82 | + | |
| 83 | + | |
79 | 84 |
| |
80 | 85 |
| |
81 | 86 |
| |
| |||
89 | 94 |
| |
90 | 95 |
| |
91 | 96 |
| |
92 |
| - | |
| 97 | + | |
93 | 98 |
| |
94 | 99 |
| |
95 | 100 |
| |
| |||
98 | 103 |
| |
99 | 104 |
| |
100 | 105 |
| |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 |
| |
102 | 110 |
| |
103 | 111 |
| |
| |||
154 | 162 |
| |
155 | 163 |
| |
156 | 164 |
| |
| 165 | + | |
157 | 166 |
| |
158 | 167 |
| |
159 | 168 |
| |
| |||
163 | 172 |
| |
164 | 173 |
| |
165 | 174 |
| |
| 175 | + | |
166 | 176 |
| |
167 | 177 |
| |
168 | 178 |
| |
| |||
172 | 182 |
| |
173 | 183 |
| |
174 | 184 |
| |
175 |
| - | |
| 185 | + | |
| 186 | + | |
176 | 187 |
| |
177 | 188 |
| |
178 | 189 |
| |
|
paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc+22-8Lines changed: 22 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 |
| - | |
152 |
| - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
153 | 154 |
| |
154 | 155 |
| |
155 |
| - | |
156 |
| - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 |
| |
158 | 161 |
| |
159 | 162 |
| |
| |||
177 | 180 |
| |
178 | 181 |
| |
179 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 |
| |
181 | 188 |
| |
182 | 189 |
| |
| |||
247 | 254 |
| |
248 | 255 |
| |
249 | 256 |
| |
250 |
| - | |
251 |
| - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
252 | 260 |
| |
253 | 261 |
| |
254 |
| - | |
255 |
| - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
256 | 266 |
| |
257 | 267 |
| |
258 | 268 |
| |
| |||
282 | 292 |
| |
283 | 293 |
| |
284 | 294 |
| |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
285 | 299 |
| |
286 | 300 |
| |
287 | 301 |
| |
|
paddle/phi/common/tensor_ref.h
Copy file name to clipboard+46Lines changed: 46 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 | + |
paddle/phi/core/attribute.h
Copy file name to clipboardExpand all lines: paddle/phi/core/attribute.h+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
49 |
| - | |
| 50 | + | |
| 51 | + | |
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
|
paddle/phi/core/infermeta_utils.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/infermeta_utils.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 |
| |
139 | 143 |
| |
140 | 144 |
| |
| |||
154 | 158 |
| |
155 | 159 |
| |
156 | 160 |
| |
| 161 | + | |
157 | 162 |
| |
158 | 163 |
| |
159 | 164 |
| |
|
paddle/phi/core/infermeta_utils.h
Copy file name to clipboardExpand all lines: paddle/phi/core/infermeta_utils.h+27-2Lines changed: 27 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| |||
116 | 118 |
| |
117 | 119 |
| |
118 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
119 | 144 |
| |
120 | 145 |
| |
121 | 146 |
| |
| |||
197 | 222 |
| |
198 | 223 |
| |
199 | 224 |
| |
200 |
| - | |
201 |
| - | |
| 225 | + | |
| 226 | + | |
202 | 227 |
| |
203 | 228 |
| |
204 | 229 |
| |
|
paddle/phi/core/kernel_context.cc
Copy file name to clipboardExpand all lines: paddle/phi/core/kernel_context.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 |
| |
127 | 131 |
| |
128 | 132 |
| |
| |||
142 | 146 |
| |
143 | 147 |
| |
144 | 148 |
| |
| 149 | + | |
145 | 150 |
| |
146 | 151 |
|
paddle/phi/core/kernel_context.h
Copy file name to clipboardExpand all lines: paddle/phi/core/kernel_context.h+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
|
You can’t perform that action at this time.
0 commit comments