CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 03:40:31 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/"1cfafe17f5ad59190d558a1044934eb0"
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=Q%2B0wGEKAHqUBekif%2F2myV2HU%2BlsRMVc6LcW%2FJ178Y6DqzEObrWbIAaZWorU%2BzTvZA2jfKCW7Nuc528uXBHszT3sK9%2BWNBduaJXjdW5hD3wHZQotA8%2BplC3HWAvenFqJ4GzdEjU%2BEt%2BH7S3JIrGJS%2B6w1WIYtmuBSOPQGp8oAuuqbvOfPVYXRZF0s92CobxHzUmcNMhYvZNP99Biy8xPTehZ6Psw2M1R2qcWZ4drdcTF%2BhZONGSMEe2lnCUebDVpoycnDT%2BLqnbwtoHTUcfCofQ%3D%3D--20iKtTdQo5TO0qhy--qtxlThSH8LqIzGYRg5PBzA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1869880320.1753155630; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:40:30 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:40:30 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 93EC:87FF2:E6D1E:14A1C1:687F082E
Enhance 3.x torch algorithm entry (#1779) · intel/neural-compressor@ec49a29 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/base_algorithm.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/autoround.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/quantize.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/utility.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_autoround.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_mixed_algos.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit ec49a29
File tree
Expand file treeCollapse file tree
7 files changed
+111
-90
lines changedFilter options
- neural_compressor/torch
- algorithms
- weight_only
- quantization
- utils
- test/3x/torch/quantization/weight_only
Expand file treeCollapse file tree
7 files changed
+111
-90
lines changedneural_compressor/torch/algorithms/base_algorithm.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/base_algorithm.py+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
110 | 109 |
| |
111 | 110 |
| |
112 | 111 |
| |
|
neural_compressor/torch/algorithms/weight_only/autoround.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/autoround.py+5-6Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
| 54 | + | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 |
| - | |
95 | 94 |
| |
96 | 95 |
| |
97 | 96 |
| |
| |||
125 | 124 |
| |
126 | 125 |
| |
127 | 126 |
| |
128 |
| - | |
| 127 | + | |
129 | 128 |
| |
130 | 129 |
| |
131 | 130 |
| |
|
neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py+56-75Lines changed: 56 additions & 75 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 |
| |
35 | 42 |
| |
36 | 43 |
| |
| |||
69 | 76 |
| |
70 | 77 |
| |
71 | 78 |
| |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
| 79 | + | |
77 | 80 |
| |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
| 81 | + | |
83 | 82 |
| |
84 | 83 |
| |
85 | 84 |
| |
| |||
126 | 125 |
| |
127 | 126 |
| |
128 | 127 |
| |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
| 128 | + | |
| 129 | + | |
133 | 130 |
| |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
| 131 | + | |
| 132 | + | |
138 | 133 |
| |
139 | 134 |
| |
140 | 135 |
| |
| |||
180 | 175 |
| |
181 | 176 |
| |
182 | 177 |
| |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
| 178 | + | |
188 | 179 |
| |
| 180 | + | |
189 | 181 |
| |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 | 182 |
| |
195 | 183 |
| |
196 | 184 |
| |
| |||
323 | 311 |
| |
324 | 312 |
| |
325 | 313 |
| |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
| 314 | + | |
331 | 315 |
| |
332 | 316 |
| |
333 | 317 |
| |
| |||
340 | 324 |
| |
341 | 325 |
| |
342 | 326 |
| |
| 327 | + | |
343 | 328 |
| |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 | 329 |
| |
349 | 330 |
| |
350 | 331 |
| |
| |||
386 | 367 |
| |
387 | 368 |
| |
388 | 369 |
| |
389 |
| - | |
390 |
| - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
391 | 378 |
| |
392 | 379 |
| |
| 380 | + | |
| 381 | + | |
393 | 382 |
| |
394 | 383 |
| |
395 | 384 |
| |
| |||
436 | 425 |
| |
437 | 426 |
| |
438 | 427 |
| |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
453 |
| - | |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
463 | 452 |
| |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
| 453 | + | |
| 454 | + | |
468 | 455 |
| |
469 | 456 |
| |
470 | 457 |
| |
| |||
482 | 469 |
| |
483 | 470 |
| |
484 | 471 |
| |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
489 | 472 |
| |
| 473 | + | |
490 | 474 |
| |
| 475 | + | |
491 | 476 |
| |
492 |
| - | |
493 |
| - | |
494 |
| - | |
495 |
| - | |
496 | 477 |
| |
497 | 478 |
| |
498 | 479 |
| |
|
neural_compressor/torch/quantization/quantize.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/quantize.py+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
109 | 108 |
| |
110 | 109 |
| |
111 | 110 |
| |
| |||
148 | 147 |
| |
149 | 148 |
| |
150 | 149 |
| |
151 |
| - | |
| 150 | + | |
152 | 151 |
| |
153 | 152 |
| |
154 | 153 |
| |
| |||
159 | 158 |
| |
160 | 159 |
| |
161 | 160 |
| |
162 |
| - | |
163 | 161 |
| |
164 | 162 |
| |
165 | 163 |
| |
|
neural_compressor/torch/utils/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/utility.py+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
140 | 181 |
| |
141 | 182 |
| |
142 | 183 |
| |
|
test/3x/torch/quantization/weight_only/test_autoround.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_autoround.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
|
test/3x/torch/quantization/weight_only/test_mixed_algos.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_mixed_algos.py+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 |
| |
16 | 19 |
| |
17 | 20 |
| |
|
You can’t perform that action at this time.
0 commit comments