CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 22:06:21 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/"c03169d09a23ffc5fb165e502986c1b1"
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=ursAn5jevWbI0ODqwDblop4xWr5ZDQBn2veeS3zAq0yis5gerl19clpsZS0%2FCd7TMLrKXBmTBW%2FZF0ueUGmomxELN2I0tgxMnA3VaXXPz2IjrLZUrWR3rEJAftrfx4sPWvQvGW3dsLCmH%2Bk6vBDL1GHh3qQIJnA16XejPqifFYCrBGZTGT2EQEl0uS4Bz5SooldWAOJab5DyiHN8HniBeKdWPf4MV3zSCO8XgBU2W0xoLbf3eYIr%2FKIGGzzxo7sZw4Ng8RrfWTxown7hBusE7g%3D%3D--%2B%2FAYcOrxlm0vaj5E--z77rhQztKS4dFAdSNYlT6A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.980793156.1753826780; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 22:06:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 22:06:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E732:19B5FE:B03AA:FAF40:688945DC
【pir】 add array_write and array_read grad case (#60360) · PaddlePaddle/Paddle@2515e7c · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.cc
Copy file name to clipboardExpand all lines: python/paddle/tensor/array.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_array_read_write_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_while_loop_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 2515e7c
【pir】 add array_write and array_read grad case (#60360)
* optimize backward
* [PIR] add vjp interface for while op
* [PIR] fix ci error.
* modify while stopgradient
* merge
* modify while grad bug
* modify while grad op
* modify
* increment vp
* [PIR] add get_used_external_value interface for block.
* while case
* delete print
* delete print
* Update python/paddle/autograd/ir_backward.py
* [PIR] add unit_test for get_used_external_value
* modify while_loop
* code_style
* modofy ci bug
* modify while api
* modify ci
* modify array
* Update python/paddle/autograd/ir_backward.py
* Update test/legacy_test/test_cond.py
* update
* modify array_write grad info
---------
Co-authored-by: winter-wang <1030748926@qq.com>1 parent bc60ffa commit 2515e7cCopy full SHA for 2515e7c
File tree
Expand file treeCollapse file tree
7 files changed
+71
-8
lines changedFilter options
- paddle/fluid
- pir/dialect/operator
- ir
- utils
- pybind
- python/paddle/tensor
- test/legacy_test
Expand file treeCollapse file tree
7 files changed
+71
-8
lines changedpaddle/fluid/pir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op.cc+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1260 | 1260 |
| |
1261 | 1261 |
| |
1262 | 1262 |
| |
1263 |
| - | |
| 1263 | + | |
1264 | 1264 |
| |
1265 | 1265 |
| |
1266 | 1266 |
| |
| |||
1370 | 1370 |
| |
1371 | 1371 |
| |
1372 | 1372 |
| |
| 1373 | + | |
1373 | 1374 |
| |
1374 | 1375 |
| |
1375 | 1376 |
| |
| |||
1428 | 1429 |
| |
1429 | 1430 |
| |
1430 | 1431 |
| |
1431 |
| - | |
| 1432 | + | |
1432 | 1433 |
| |
1433 | 1434 |
| |
1434 | 1435 |
| |
| |||
1493 | 1494 |
| |
1494 | 1495 |
| |
1495 | 1496 |
| |
| 1497 | + | |
1496 | 1498 |
| |
1497 | 1499 |
| |
1498 | 1500 |
| |
|
paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/manual_op_vjp.cc+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
260 |
| - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
261 | 266 |
| |
262 | 267 |
| |
263 | 268 |
| |
|
paddle/fluid/pir/dialect/operator/utils/utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.cc+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
| 276 | + | |
| 277 | + | |
| 278 | + | |
276 | 279 |
| |
277 | 280 |
| |
278 | 281 |
| |
|
+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
562 | 562 |
| |
563 | 563 |
| |
564 | 564 |
| |
| 565 | + | |
| 566 | + | |
| 567 | + | |
565 | 568 |
| |
566 | 569 |
| |
567 | 570 |
| |
|
python/paddle/tensor/array.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/array.py+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
223 |
| - | |
224 |
| - | |
225 |
| - | |
| 223 | + | |
226 | 224 |
| |
227 | 225 |
| |
228 | 226 |
| |
| |||
304 | 302 |
| |
305 | 303 |
| |
306 | 304 |
| |
307 |
| - | |
| 305 | + | |
308 | 306 |
| |
309 | 307 |
| |
310 | 308 |
| |
|
test/legacy_test/test_array_read_write_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_array_read_write_op.py+51Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
191 | 192 |
| |
192 | 193 |
| |
193 | 194 |
| |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
194 | 245 |
| |
195 | 246 |
| |
196 | 247 |
|
test/legacy_test/test_while_loop_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_while_loop_op.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
| 421 | + | |
421 | 422 |
| |
422 | 423 |
| |
423 | 424 |
| |
|
You can’t perform that action at this time.
0 commit comments