CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:51:20 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/"fb5abb1245b426b3763e133374f2fe7f"
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=qBMOK0iUVvXtL477JltiXdCrRVR1hGE63OGb1iSC2aBNEAvVayEwqXB0ImI6nkLWoX1RnOMT38eMoerq2e9G52mlNElDhU7zu0Pm0dSF%2BCB6lPbLdrvoVa4Yt5%2FFP4oO%2FOR99frSgYGS5IfW7B64TAMwvCCw3Qc8KlxqBQd%2FLZrcS5EWeWPB%2BX2j3jBruDnNg65KqrvS9%2FsrLtg%2FvymEw5uFOWGJaJzKcVOff%2FLDfUCj%2BjeQMrCNxknb5nuftxv%2FmZrhTiHV%2BYtu54WKZNJn3g%3D%3D--IFscsruZyFpnE3wL--n%2BGGh9Ni7097oMoG602bJQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.431563953.1753228279; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:51:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:51:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B1C4:2FAFD7:1D33FB:286BB6:688023F7
Add `save`/`load` support for HQQ (#1913) · intel/neural-compressor@34f0a9f · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/hqq/core.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/hqq/qtensor.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/save_load.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/load_entry.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_hqq.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 34f0a9f
File tree
Expand file treeCollapse file tree
6 files changed
+188
-3
lines changedFilter options
- neural_compressor/torch
- algorithms/weight_only
- hqq
- quantization
- test/3x/torch/quantization/weight_only
Expand file treeCollapse file tree
6 files changed
+188
-3
lines changedneural_compressor/torch/algorithms/weight_only/hqq/core.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/hqq/core.py+59-1Lines changed: 59 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 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 | + |
neural_compressor/torch/algorithms/weight_only/hqq/qtensor.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/hqq/qtensor.py+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + |
neural_compressor/torch/algorithms/weight_only/save_load.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/save_load.py+28-1Lines changed: 28 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
128 | 127 |
| |
129 | 128 |
| |
130 | 129 |
| |
| |||
157 | 156 |
| |
158 | 157 |
| |
159 | 158 |
| |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
160 | 167 |
| |
161 | 168 |
| |
| 169 | + | |
| 170 | + | |
| 171 | + | |
162 | 172 |
| |
163 | 173 |
| |
164 | 174 |
| |
| |||
228 | 238 |
| |
229 | 239 |
| |
230 | 240 |
| |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
231 | 258 |
| |
232 | 259 |
| |
233 | 260 |
| |
|
neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
517 | 517 |
| |
518 | 518 |
| |
519 | 519 |
| |
| 520 | + | |
520 | 521 |
| |
521 | 522 |
| |
522 | 523 |
| |
523 | 524 |
| |
524 | 525 |
| |
| 526 | + | |
| 527 | + | |
525 | 528 |
| |
526 | 529 |
| |
527 | 530 |
| |
|
neural_compressor/torch/quantization/load_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/load_entry.py+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
92 |
| - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 |
| |
94 | 97 |
| |
95 | 98 |
| |
|
test/3x/torch/quantization/weight_only/test_hqq.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_hqq.py+78Lines changed: 78 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
| |||
93 | 96 |
| |
94 | 97 |
| |
95 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
96 | 120 |
| |
97 | 121 |
| |
98 | 122 |
| |
| |||
181 | 205 |
| |
182 | 206 |
| |
183 | 207 |
| |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + |
You can’t perform that action at this time.
0 commit comments