CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 23:42:19 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/"f477231b82259fc85a681c79bab2d88a"
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=jOFtFXV7pT1azKEkkVI%2BqFtkgOtHlx0vEG5AJI1HIVn1lLIXyeILZPtJ8DznvKCAgAX9tCzHV%2FAvN0qFdbQhvxigiFzS2liuChPsFr16kcGf7Bad07uB83q%2FeRaCMxzGFK%2B69Q%2FiFevXBxL3fNWFFyUgTHM63veHTCdykbmL%2FtchVb0AQ29GzljuYU%2Ff62Z61EVihgNq0CB6C5zGp68s1HyEwVicbJinlerzxN%2B2gvLlPXsZVy%2FrdGc%2Bt%2BMoKwGMoiPcjQ79CJMw5a3gRj5ghQ%3D%3D--tdbFg98oDJ8Pmamf--Xb4jvzRsM9A6YGvgyNOuEw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.821431018.1753314138; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:42:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:42:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B6E0:0A76:1295FE:1ADEC3:6881735A
Enable the tuning of WOQ algorithm (#1328) · intel/neural-compressor@6d4ea5b · GitHub

![pre-commit-ci[bot]](https://avatars.githubusercontent.com/in/68672?v=4&size=40)
authored
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/auto.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/basic.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/strategy.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/utils/constant.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/utils/tuning_sampler.py
Copy file name to clipboardExpand all lines: neural_compressor/utils/utility.py
Copy file name to clipboardExpand all lines: test/adaptor/onnxrt_adaptor/test_weight_only_adaptor.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 6d4ea5b
Enable the tuning of WOQ algorithm (#1328)
* support WOQ algos tuning
---------
Signed-off-by: Kaihui-intel <kaihui.tang@intel.com>
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: yuwenzho <yuwen.zhou@intel.com>1 parent d817328 commit 6d4ea5bCopy full SHA for 6d4ea5b
File tree
Expand file treeCollapse file tree
8 files changed
+243
-10
lines changedFilter options
- neural_compressor
- adaptor
- strategy
- utils
- utils
- test/adaptor/onnxrt_adaptor
Expand file treeCollapse file tree
8 files changed
+243
-10
lines changedneural_compressor/adaptor/onnxrt.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/onnxrt.py+47-10Lines changed: 47 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1632 | 1632 |
| |
1633 | 1633 |
| |
1634 | 1634 |
| |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1635 | 1644 |
| |
1636 | 1645 |
| |
1637 | 1646 |
| |
1638 | 1647 |
| |
1639 |
| - | |
| 1648 | + | |
1640 | 1649 |
| |
| 1650 | + | |
1641 | 1651 |
| |
1642 | 1652 |
| |
1643 | 1653 |
| |
1644 | 1654 |
| |
1645 | 1655 |
| |
| 1656 | + | |
1646 | 1657 |
| |
1647 | 1658 |
| |
1648 | 1659 |
| |
1649 | 1660 |
| |
1650 | 1661 |
| |
1651 | 1662 |
| |
1652 |
| - | |
1653 |
| - | |
| 1663 | + | |
| 1664 | + | |
1654 | 1665 |
| |
1655 | 1666 |
| |
1656 | 1667 |
| |
| |||
1663 | 1674 |
| |
1664 | 1675 |
| |
1665 | 1676 |
| |
| 1677 | + | |
1666 | 1678 |
| |
1667 | 1679 |
| |
1668 | 1680 |
| |
1669 |
| - | |
1670 |
| - | |
| 1681 | + | |
| 1682 | + | |
1671 | 1683 |
| |
1672 | 1684 |
| |
1673 | 1685 |
| |
| |||
1677 | 1689 |
| |
1678 | 1690 |
| |
1679 | 1691 |
| |
1680 |
| - | |
1681 |
| - | |
1682 |
| - | |
1683 |
| - | |
1684 |
| - | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
1685 | 1697 |
| |
1686 | 1698 |
| |
1687 | 1699 |
| |
| |||
1747 | 1759 |
| |
1748 | 1760 |
| |
1749 | 1761 |
| |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1750 | 1787 |
| |
1751 | 1788 |
| |
1752 | 1789 |
| |
|
neural_compressor/strategy/auto.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/auto.py+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 |
| |
124 | 130 |
| |
125 | 131 |
| |
|
neural_compressor/strategy/basic.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/basic.py+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
315 | 321 |
| |
316 | 322 |
| |
317 | 323 |
| |
|
neural_compressor/strategy/strategy.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/strategy.py+36Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
| |||
1153 | 1154 |
| |
1154 | 1155 |
| |
1155 | 1156 |
| |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1156 | 1191 |
| |
1157 | 1192 |
| |
1158 | 1193 |
| |
| |||
1322 | 1357 |
| |
1323 | 1358 |
| |
1324 | 1359 |
| |
| 1360 | + | |
1325 | 1361 |
| |
1326 | 1362 |
| |
1327 | 1363 |
| |
|
neural_compressor/strategy/utils/constant.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/utils/constant.py+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + |
neural_compressor/strategy/utils/tuning_sampler.py
Copy file name to clipboardExpand all lines: neural_compressor/strategy/utils/tuning_sampler.py+32Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
609 | 610 |
| |
610 | 611 |
| |
611 | 612 |
| |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + |
neural_compressor/utils/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/utils/utility.py+31Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1092 | 1092 |
| |
1093 | 1093 |
| |
1094 | 1094 |
| |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + |
test/adaptor/onnxrt_adaptor/test_weight_only_adaptor.py
Copy file name to clipboardExpand all lines: test/adaptor/onnxrt_adaptor/test_weight_only_adaptor.py+75Lines changed: 75 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
| |||
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
| |||
265 | 267 |
| |
266 | 268 |
| |
267 | 269 |
| |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 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 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
268 | 343 |
| |
269 | 344 |
| |
270 | 345 |
|
You can’t perform that action at this time.
0 commit comments