CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 10:54:04 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/"c5d12a13e1f88a90451b4019d9fcc39a"
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=nlZzZ1qNKMA9rDy3OyvQ%2Fah800bZ48YFnVrnkreEQMcdsDmRfVMwDWwRoyzJ01lhZY0kt5tQCLxJZFSL1JFXYx0bMHS70sdodL%2BwU0mVb0dkZpCL6wfeQQ7O51SOXvCcWHp07nFUkFSOrBBNvjtgs2VMgs1APKko5Rf8TBIxtqm21j4d7b45FdU8A7DqoYRMgBuJrw23Lh5wMG0tIaf5dJRXvr7jH71Wk32UyvvEiKM8r89bK3jfiam6rA1K3glzhPxZR1AQNdVLCnoEEsw0Lg%3D%3D--GxQps3e6vV7nVv%2BC--YSa1JuygaXSaX5ZRowiAtA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.88762090.1753786443; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 10:54:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 10:54:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CDAE:E69F3:90FEE1:AEE0D9:6888A84B
[PIR save/load]Migrate paddle.save, paddle.load and add program state… · PaddlePaddle/Paddle@0474465 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/framework/io.py
Copy file name to clipboardExpand all lines: python/paddle/framework/io_utils.py
Copy file name to clipboardExpand all lines: test/deprecated/legacy_test/test_static_save_load.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 0474465
authored
[PIR save/load]Migrate paddle.save, paddle.load and add program state_dict to pir (#63957)
* static.save and static.load passed
* refine
* fix pybind stop_gradient
* fix CI bug
* add create_loaded_params
* fix CI bug
* refine
* migrate paddle.save and paddle.load and add program state_dict to pir
* fix1 parent 7ce121d commit 0474465Copy full SHA for 0474465
File tree
Expand file treeCollapse file tree
6 files changed
+260
-55
lines changedFilter options
- paddle/fluid/pybind
- python/paddle
- framework
- static
- test
- deprecated/legacy_test
- legacy_test
Expand file treeCollapse file tree
6 files changed
+260
-55
lines changed+84-28Lines changed: 84 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 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 | + | |
197 | 224 |
| |
198 | 225 |
| |
199 | 226 |
| |
| |||
336 | 363 |
| |
337 | 364 |
| |
338 | 365 |
| |
339 |
| - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
340 | 423 |
| |
341 | 424 |
| |
342 | 425 |
| |
| |||
755 | 838 |
| |
756 | 839 |
| |
757 | 840 |
| |
758 |
| - | |
759 |
| - | |
760 |
| - | |
761 |
| - | |
762 |
| - | |
763 |
| - | |
764 |
| - | |
765 |
| - | |
766 |
| - | |
767 |
| - | |
768 |
| - | |
769 |
| - | |
770 |
| - | |
771 |
| - | |
772 |
| - | |
773 |
| - | |
774 |
| - | |
775 |
| - | |
776 |
| - | |
777 |
| - | |
778 |
| - | |
779 |
| - | |
780 |
| - | |
781 |
| - | |
782 |
| - | |
783 |
| - | |
784 |
| - | |
785 | 841 |
| |
786 | 842 |
| |
787 | 843 |
| |
|
python/paddle/framework/io.py
Copy file name to clipboardExpand all lines: python/paddle/framework/io.py+11-4Lines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
| 40 | + | |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
| |||
519 | 521 |
| |
520 | 522 |
| |
521 | 523 |
| |
522 |
| - | |
| 524 | + | |
523 | 525 |
| |
524 | 526 |
| |
525 | 527 |
| |
| |||
888 | 890 |
| |
889 | 891 |
| |
890 | 892 |
| |
891 |
| - | |
892 |
| - | |
893 |
| - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
894 | 901 |
| |
895 | 902 |
| |
896 | 903 |
| |
|
python/paddle/framework/io_utils.py
Copy file name to clipboardExpand all lines: python/paddle/framework/io_utils.py+53-1Lines changed: 53 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
25 |
| - | |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
271 | 272 |
| |
272 | 273 |
| |
273 | 274 |
| |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + |
+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
| |||
1731 | 1732 |
| |
1732 | 1733 |
| |
1733 | 1734 |
| |
1734 |
| - | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1735 | 1740 |
| |
1736 | 1741 |
| |
1737 | 1742 |
| |
|
test/deprecated/legacy_test/test_static_save_load.py
Copy file name to clipboardExpand all lines: test/deprecated/legacy_test/test_static_save_load.py+46Lines changed: 46 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
705 | 705 |
| |
706 | 706 |
| |
707 | 707 |
| |
| 708 | + | |
708 | 709 |
| |
709 | 710 |
| |
710 | 711 |
| |
| |||
797 | 798 |
| |
798 | 799 |
| |
799 | 800 |
| |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
800 | 806 |
| |
801 | 807 |
| |
802 | 808 |
| |
| |||
811 | 817 |
| |
812 | 818 |
| |
813 | 819 |
| |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
814 | 825 |
| |
815 | 826 |
| |
816 | 827 |
| |
| |||
841 | 852 |
| |
842 | 853 |
| |
843 | 854 |
| |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
844 | 860 |
| |
845 | 861 |
| |
846 | 862 |
| |
| |||
850 | 866 |
| |
851 | 867 |
| |
852 | 868 |
| |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
853 | 874 |
| |
854 | 875 |
| |
855 | 876 |
| |
| |||
863 | 884 |
| |
864 | 885 |
| |
865 | 886 |
| |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
866 | 892 |
| |
867 | 893 |
| |
868 | 894 |
| |
| |||
872 | 898 |
| |
873 | 899 |
| |
874 | 900 |
| |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
875 | 906 |
| |
876 | 907 |
| |
877 | 908 |
| |
| |||
885 | 916 |
| |
886 | 917 |
| |
887 | 918 |
| |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
888 | 924 |
| |
889 | 925 |
| |
890 | 926 |
| |
| |||
894 | 930 |
| |
895 | 931 |
| |
896 | 932 |
| |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
897 | 938 |
| |
898 | 939 |
| |
899 | 940 |
| |
| |||
907 | 948 |
| |
908 | 949 |
| |
909 | 950 |
| |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
910 | 956 |
| |
911 | 957 |
| |
912 | 958 |
| |
|
You can’t perform that action at this time.
0 commit comments