CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 02:24:59 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/"2f0c1fcc375c4c7d4f89b0eb4e976748"
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=ntYEVKgCxOZugEhFT1Q6AjdZo7Jf%2BXMuxxpAyiTN0LMJnDnRcT09o356eJUccd1KNlRTCuOUntjR1dno49cCW01IW4VuEld%2BMvkOtuuxllVt3V%2Bx1vCJaCEN7JD4kqIb4eHV%2BrWM%2BYryFvRlXK3kAw3G6jSpuhyAbPOtOp5ubQ242dcaQgj0UOkd%2BfJ0%2BSoBQ%2FcyBB9rHaA7XJMKTVX0ZI3M6K0LLYEsVhv2crpd6imYZkXyD25BUyFOA6vwL7AfLZZG0agQF5wOZDIDDyGCRQ%3D%3D--xf8%2Fmcs5bvTPSge%2F--bZ9ZToHCQi2wz1Nl%2BjZ9VQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.38019214.1753669498; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:24:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:24:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8B4A:246CCF:162E1F:228B53:6886DF7A
[Inference] Some effective methods to reduce the loading time of pir … · PaddlePaddle/Paddle@59ebcb7 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/general/params_sync_among_devices_pass.cc
Copy file name to clipboardExpand all lines: python/paddle/static/pir_io.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 59ebcb7
authored
[Inference] Some effective methods to reduce the loading time of pir models (#70219)
* params_sync_among_devices_pass support multi threads and multi streams
* add separate_parameters for pir jit.save
* pir model load support multi threads
* del. useless cudaStream and extra load_pir_model_
* params_sync_among_devices_pass: Adjust thread count dynamically
* add unittest for ir and pir inference_save_or_load_sep_model
* del. useless code
* del. useless code
* align num_thread logic
* fix some bugs for model path
* align to ir
* del. useless code1 parent 7ed64ea commit 59ebcb7Copy full SHA for 59ebcb7
File tree
Expand file treeCollapse file tree
4 files changed
+383
-13
lines changedFilter options
- paddle/fluid
- inference/api
- pir/transforms/general
- python/paddle/static
- test/ir/inference
Expand file treeCollapse file tree
4 files changed
+383
-13
lines changedpaddle/fluid/inference/api/analysis_predictor.cc
Copy file name to clipboardExpand all lines: paddle/fluid/inference/api/analysis_predictor.cc+87-4Lines changed: 87 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
439 | 440 |
| |
440 | 441 |
| |
441 | 442 |
| |
442 |
| - | |
443 |
| - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
444 | 458 |
| |
445 | 459 |
| |
446 | 460 |
| |
| |||
1229 | 1243 |
| |
1230 | 1244 |
| |
1231 | 1245 |
| |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1232 | 1251 |
| |
1233 | 1252 |
| |
1234 | 1253 |
| |
| |||
1239 | 1258 |
| |
1240 | 1259 |
| |
1241 | 1260 |
| |
1242 |
| - | |
1243 |
| - | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1244 | 1327 |
| |
1245 | 1328 |
| |
1246 | 1329 |
| |
|
paddle/fluid/pir/transforms/general/params_sync_among_devices_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/general/params_sync_among_devices_pass.cc+43-7Lines changed: 43 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
| 68 | + | |
67 | 69 |
| |
68 |
| - | |
| 70 | + | |
| 71 | + | |
69 | 72 |
| |
70 | 73 |
| |
71 |
| - | |
| 74 | + | |
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
77 |
| - | |
| 80 | + | |
78 | 81 |
| |
79 | 82 |
| |
80 | 83 |
| |
81 | 84 |
| |
82 | 85 |
| |
83 | 86 |
| |
| 87 | + | |
84 | 88 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
92 | 93 |
| |
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
96 | 132 |
| |
97 | 133 |
| |
98 | 134 |
| |
|
python/paddle/static/pir_io.py
Copy file name to clipboardExpand all lines: python/paddle/static/pir_io.py+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
765 | 765 |
| |
766 | 766 |
| |
767 | 767 |
| |
768 |
| - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
769 | 778 |
| |
770 | 779 |
| |
771 | 780 |
| |
| |||
774 | 783 |
| |
775 | 784 |
| |
776 | 785 |
| |
777 |
| - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
778 | 791 |
| |
779 | 792 |
| |
780 | 793 |
| |
|
You can’t perform that action at this time.
0 commit comments