CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 10:21:03 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/intel/neural-compressor.git
etag: W/"1e6871ac56efc1bc1af68db5e0120328"
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=1pAejlpEPha%2FKPyxm5lbXnb6vpsvtfcORmtipXaTjLH9OB3QgFkeM2gGEbLQp7lV7YfP7YL4wz1tPg5Tzw7hyAdM6wc4FfOw7YyGd5fx8v5pa3o8vkbBgFnqNtQjn297mKO%2BGxRf%2FzHEdPu9dTLSU2mTpJv6NJjKWq7K%2FRg6tQDofD4WObd%2ByF3fz4rne47p%2FtVMNvg3sP0KEBp5Z1selDFVj8BW9b93CIWEnmXt7BtFFmPhZw%2B3pv%2FPTEy2PX7PjWAXLAssCsdsWLqVNaTvpQ%3D%3D--Brqm1T29yqiGoFBb--CFpLCar0klu%2FaxW75pmqQg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1456276345.1753179662; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 10:21:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 10:21:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8384:231C47:57097B:610084:687F660E
Support ONNXRT layer-wise W8A8 quantization (#1389) · intel/neural-compressor@6142e48 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/ox_utils/calibration.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 6142e48
File tree
Expand file treeCollapse file tree
5 files changed
+648
-42
lines changedFilter options
- neural_compressor
- adaptor
- ox_utils
- model
- test
- adaptor/onnxrt_adaptor
- model
Expand file treeCollapse file tree
5 files changed
+648
-42
lines changedneural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py+168-21Lines changed: 168 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
267 | 268 |
| |
268 | 269 |
| |
269 | 270 |
| |
270 |
| - | |
271 |
| - | |
272 | 271 |
| |
273 | 272 |
| |
274 | 273 |
| |
| |||
308 | 307 |
| |
309 | 308 |
| |
310 | 309 |
| |
311 |
| - | |
312 |
| - | |
313 |
| - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
314 | 387 |
| |
315 |
| - | |
316 |
| - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
317 | 399 |
| |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
318 | 445 |
| |
319 | 446 |
| |
320 | 447 |
| |
321 | 448 |
| |
322 |
| - | |
| 449 | + | |
323 | 450 |
| |
324 | 451 |
| |
325 | 452 |
| |
| |||
339 | 466 |
| |
340 | 467 |
| |
341 | 468 |
| |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
348 | 479 |
| |
349 | 480 |
| |
350 | 481 |
| |
| |||
570 | 701 |
| |
571 | 702 |
| |
572 | 703 |
| |
573 |
| - | |
| 704 | + | |
574 | 705 |
| |
575 | 706 |
| |
576 | 707 |
| |
| |||
588 | 719 |
| |
589 | 720 |
| |
590 | 721 |
| |
| 722 | + | |
591 | 723 |
| |
592 | 724 |
| |
593 | 725 |
| |
594 |
| - | |
| 726 | + | |
| 727 | + | |
595 | 728 |
| |
596 | 729 |
| |
597 | 730 |
| |
| |||
606 | 739 |
| |
607 | 740 |
| |
608 | 741 |
| |
609 |
| - | |
610 | 742 |
| |
611 | 743 |
| |
612 | 744 |
| |
| |||
763 | 895 |
| |
764 | 896 |
| |
765 | 897 |
| |
| 898 | + | |
| 899 | + | |
| 900 | + | |
766 | 901 |
| |
767 | 902 |
| |
768 | 903 |
| |
| |||
778 | 913 |
| |
779 | 914 |
| |
780 | 915 |
| |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
781 | 928 |
| |
782 | 929 |
| |
783 | 930 |
| |
784 | 931 |
| |
| 932 | + | |
785 | 933 |
| |
786 | 934 |
| |
787 | 935 |
| |
| |||
792 | 940 |
| |
793 | 941 |
| |
794 | 942 |
| |
795 |
| - | |
796 | 943 |
| |
797 | 944 |
| |
798 |
| - | |
| 945 | + | |
| 946 | + | |
799 | 947 |
| |
800 | 948 |
| |
801 | 949 |
| |
| 950 | + | |
802 | 951 |
| |
803 | 952 |
| |
804 | 953 |
| |
| |||
903 | 1052 |
| |
904 | 1053 |
| |
905 | 1054 |
| |
906 |
| - | |
907 |
| - | |
908 | 1055 |
| |
909 | 1056 |
| |
910 | 1057 |
| |
|
neural_compressor/adaptor/ox_utils/calibration.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/ox_utils/calibration.py+36-5Lines changed: 36 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| |||
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
97 | 108 |
| |
98 | 109 |
| |
99 | 110 |
| |
| |||
245 | 256 |
| |
246 | 257 |
| |
247 | 258 |
| |
| 259 | + | |
| 260 | + | |
248 | 261 |
| |
249 | 262 |
| |
250 | 263 |
| |
251 | 264 |
| |
252 | 265 |
| |
253 |
| - | |
254 | 266 |
| |
255 | 267 |
| |
256 | 268 |
| |
| |||
271 | 283 |
| |
272 | 284 |
| |
273 | 285 |
| |
| 286 | + | |
274 | 287 |
| |
275 | 288 |
| |
276 | 289 |
| |
| |||
281 | 294 |
| |
282 | 295 |
| |
283 | 296 |
| |
284 |
| - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
285 | 300 |
| |
286 | 301 |
| |
287 | 302 |
| |
288 | 303 |
| |
289 | 304 |
| |
290 | 305 |
| |
291 | 306 |
| |
292 |
| - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
293 | 316 |
| |
294 | 317 |
| |
295 | 318 |
| |
| |||
321 | 344 |
| |
322 | 345 |
| |
323 | 346 |
| |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
324 | 352 |
| |
325 | 353 |
| |
326 | 354 |
| |
327 | 355 |
| |
328 |
| - | |
| 356 | + | |
329 | 357 |
| |
330 |
| - | |
| 358 | + | |
331 | 359 |
| |
332 | 360 |
| |
333 | 361 |
| |
| |||
344 | 372 |
| |
345 | 373 |
| |
346 | 374 |
| |
| 375 | + | |
| 376 | + | |
| 377 | + | |
347 | 378 |
| |
348 | 379 |
| |
349 | 380 |
| |
|
You can’t perform that action at this time.
0 commit comments