CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 02:34: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/"35614d7c0ae623e229d6038c42d1c6c1"
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=xzRQhLm9sd9cllAO1OaVxU4JS4B6eFRUpQMzCkcvv1JnC6YZIVbSnbXTiEz0WXztQ%2BfhDeIGdpsk0hn7npOGYZvz3uX2v82Goez%2F5M8KQe981XuL4ljqFloOsVCsAxGMxdL4qHEyoHMNIZdPP6fv2cIUYwrgHTd9egFkEflP18ayBsT0JIRa9DS44OVCUOqqxvf4Z%2Fgj7HgHmMl5tpm2aYjuo5hnC8k45fznt%2FKuN%2BXWgOzCZqEK9dj6626Doxqq6GxllyXEFSqY5dDe5n%2FM7g%3D%3D--qAn5uf70LijbIlGN--5oF9eoQIKB8tqVf186pd2g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.211334030.1753670066; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:34:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:34:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8F18:290E4F:954800:C9694A:6886E1B2
[Inference] Predictor support pir model save(.json) (#65223) · PaddlePaddle/Paddle@f69296c · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.cc
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.h
Copy file name to clipboardExpand all lines: test/deprecated/legacy_test/test_cumsum_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit f69296c
[Inference] Predictor support pir model save(.json) (#65223)
* predictor save
* fix
* 删除value.type()
* pass优化后的不走pass了
* 根据旧ir use_optimized_model_写pir逻辑
* predictor support save optimized model(pir .json)
* optimized_model打印写错
* 加打印日志
---------
Co-authored-by: yuanlehome <yuanlehome@163.com>1 parent fb7b961 commit f69296cCopy full SHA for f69296c
File tree
Expand file treeCollapse file tree
3 files changed
+136
-104
lines changedFilter options
- paddle/fluid/inference/api
- test/deprecated/legacy_test
Expand file treeCollapse file tree
3 files changed
+136
-104
lines changedpaddle/fluid/inference/api/analysis_predictor.cc
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.cc+133-102Lines changed: 133 additions & 102 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
| 441 | + | |
| 442 | + | |
| 443 | + | |
441 | 444 |
| |
442 | 445 |
| |
443 | 446 |
| |
444 |
| - | |
445 |
| - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
446 | 453 |
| |
447 | 454 |
| |
448 | 455 |
| |
449 | 456 |
| |
450 |
| - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
451 | 460 |
| |
452 | 461 |
| |
453 | 462 |
| |
| |||
468 | 477 |
| |
469 | 478 |
| |
470 | 479 |
| |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 | 480 |
| |
475 | 481 |
| |
476 | 482 |
| |
| |||
797 | 803 |
| |
798 | 804 |
| |
799 | 805 |
| |
| 806 | + | |
800 | 807 |
| |
801 |
| - | |
802 |
| - | |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 |
| - | |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
817 | 824 |
| |
818 |
| - | |
819 |
| - | |
820 |
| - | |
821 |
| - | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
822 | 829 |
| |
823 |
| - | |
824 |
| - | |
825 |
| - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
826 | 833 |
| |
827 |
| - | |
828 |
| - | |
829 |
| - | |
830 |
| - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
831 | 838 |
| |
832 | 839 |
| |
833 |
| - | |
834 |
| - | |
835 |
| - | |
836 |
| - | |
837 |
| - | |
838 |
| - | |
839 |
| - | |
840 |
| - | |
841 |
| - | |
842 |
| - | |
843 |
| - | |
844 |
| - | |
845 |
| - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
846 | 846 |
| |
847 | 847 |
| |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
848 | 855 |
| |
849 | 856 |
| |
850 |
| - | |
851 |
| - | |
852 |
| - | |
853 |
| - | |
854 |
| - | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
855 | 864 |
| |
856 |
| - | |
857 | 865 |
| |
858 | 866 |
| |
859 | 867 |
| |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 |
| - | |
864 |
| - | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
865 | 874 |
| |
866 |
| - | |
867 | 875 |
| |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
873 | 882 |
| |
874 | 883 |
| |
875 |
| - | |
876 | 884 |
| |
877 |
| - | |
878 |
| - | |
879 |
| - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
880 | 894 |
| |
881 |
| - | |
882 |
| - | |
883 |
| - | |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
894 |
| - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
895 | 912 |
| |
896 | 913 |
| |
897 |
| - | |
898 | 914 |
| |
899 | 915 |
| |
900 | 916 |
| |
| |||
949 | 965 |
| |
950 | 966 |
| |
951 | 967 |
| |
952 |
| - | |
| 968 | + | |
953 | 969 |
| |
954 | 970 |
| |
955 | 971 |
| |
| |||
1007 | 1023 |
| |
1008 | 1024 |
| |
1009 | 1025 |
| |
1010 |
| - | |
1011 |
| - | |
1012 |
| - | |
1013 |
| - | |
1014 |
| - | |
1015 |
| - | |
1016 |
| - | |
1017 |
| - | |
1018 |
| - | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1019 | 1040 |
| |
1020 | 1041 |
| |
1021 | 1042 |
| |
1022 | 1043 |
| |
1023 | 1044 |
| |
1024 |
| - | |
1025 |
| - | |
1026 |
| - | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1027 | 1057 |
| |
1028 | 1058 |
| |
1029 | 1059 |
| |
1030 | 1060 |
| |
1031 | 1061 |
| |
1032 | 1062 |
| |
1033 |
| - | |
1034 |
| - | |
1035 |
| - | |
1036 |
| - | |
1037 |
| - | |
1038 | 1063 |
| |
1039 |
| - | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1040 | 1068 |
| |
1041 |
| - | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1042 | 1073 |
| |
1043 | 1074 |
| |
1044 | 1075 |
| |
|
paddle/fluid/inference/api/analysis_predictor.h
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.h+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
| 396 | + | |
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
400 |
| - | |
| 400 | + | |
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
|
test/deprecated/legacy_test/test_cumsum_op.py
Copy file name to clipboardExpand all lines: test/deprecated/legacy_test/test_cumsum_op.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
| 571 | + | |
571 | 572 |
| |
572 | 573 |
| |
573 | 574 |
| |
|
You can’t perform that action at this time.
0 commit comments