CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:46:57 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/"1de16b5287f8404bbc7e201212cbb16e"
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=89xo96hDvS1wr6OV1B%2FSXA9C1FAfgjoIBWUCTtHyleoslrZUK4ZgREHVrltVT19g0tynVjrvX6%2BhFyEVnRn%2BL8s5Kql%2BQK7bbvzsERBIE%2Biurg7EvHdWD0tOt9yTV414Mb1xyufdDNhBb407EVKG79PsEsNY3yk%2BmH7fEitu3EcO4fyQVEnZRvhDv%2BuI5ZUAdlDKvH9iI5y8bRDfyPN8OhsOQUnMi7xgSFZN7hY2LqFrfz7ehSVLXBbYIgLVhoSBv6IYLUbrXcOh7PlnLZ3yEw%3D%3D--6r2WXTiGX1nSp5UM--PPf18f9cVRORGcmx0MQFtQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1812665196.1753228016; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:46:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:46:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 93B2:26221E:1D1B91:282F81:688022F0
Add 'excluded_precisions' to static_quant and smooth_quant (#1814) · intel/neural-compressor@eaa3a58 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/smooth_quant/smooth_quant.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/smooth_quant/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/static_quant/static_quant.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/config.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/test_smooth_quant.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/test_static_quant.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit eaa3a58
authored
File tree
Expand file treeCollapse file tree
7 files changed
+137
-44
lines changedFilter options
- neural_compressor/torch
- algorithms
- smooth_quant
- static_quant
- quantization
- test/3x/torch/quantization
Expand file treeCollapse file tree
7 files changed
+137
-44
lines changedneural_compressor/torch/algorithms/smooth_quant/smooth_quant.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/smooth_quant/smooth_quant.py+53-23Lines changed: 53 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
84 | 86 |
| |
85 | 87 |
| |
86 | 88 |
| |
| 89 | + | |
| 90 | + | |
87 | 91 |
| |
88 | 92 |
| |
89 | 93 |
| |
| |||
133 | 137 |
| |
134 | 138 |
| |
135 | 139 |
| |
| 140 | + | |
| 141 | + | |
136 | 142 |
| |
137 |
| - | |
| 143 | + | |
138 | 144 |
| |
139 | 145 |
| |
140 | 146 |
| |
| |||
169 | 175 |
| |
170 | 176 |
| |
171 | 177 |
| |
| 178 | + | |
| 179 | + | |
172 | 180 |
| |
173 | 181 |
| |
174 | 182 |
| |
| |||
223 | 231 |
| |
224 | 232 |
| |
225 | 233 |
| |
226 |
| - | |
| 234 | + | |
227 | 235 |
| |
228 | 236 |
| |
229 | 237 |
| |
| |||
247 | 255 |
| |
248 | 256 |
| |
249 | 257 |
| |
| 258 | + | |
| 259 | + | |
250 | 260 |
| |
251 | 261 |
| |
252 | 262 |
| |
| |||
296 | 306 |
| |
297 | 307 |
| |
298 | 308 |
| |
299 |
| - | |
| 309 | + | |
300 | 310 |
| |
301 | 311 |
| |
302 | 312 |
| |
| |||
334 | 344 |
| |
335 | 345 |
| |
336 | 346 |
| |
337 |
| - | |
| 347 | + | |
338 | 348 |
| |
339 | 349 |
| |
340 | 350 |
| |
341 | 351 |
| |
342 | 352 |
| |
| 353 | + | |
343 | 354 |
| |
344 | 355 |
| |
345 | 356 |
| |
346 | 357 |
| |
347 | 358 |
| |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
| 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 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + |
neural_compressor/torch/algorithms/smooth_quant/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/smooth_quant/utility.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
|
neural_compressor/torch/algorithms/static_quant/static_quant.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/static_quant/static_quant.py+47-21Lines changed: 47 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
| 38 | + | |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
| |||
75 | 77 |
| |
76 | 78 |
| |
77 | 79 |
| |
| 80 | + | |
| 81 | + | |
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
| |||
108 | 112 |
| |
109 | 113 |
| |
110 | 114 |
| |
| 115 | + | |
| 116 | + | |
111 | 117 |
| |
112 | 118 |
| |
113 | 119 |
| |
114 |
| - | |
| 120 | + | |
115 | 121 |
| |
116 | 122 |
| |
117 | 123 |
| |
| |||
125 | 131 |
| |
126 | 132 |
| |
127 | 133 |
| |
128 |
| - | |
| 134 | + | |
129 | 135 |
| |
130 | 136 |
| |
131 | 137 |
| |
132 | 138 |
| |
133 | 139 |
| |
| 140 | + | |
134 | 141 |
| |
135 | 142 |
| |
136 | 143 |
| |
137 | 144 |
| |
138 | 145 |
| |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
| 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 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + |
neural_compressor/torch/quantization/algorithm_entry.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/algorithm_entry.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
| 184 | + | |
184 | 185 |
| |
185 | 186 |
| |
186 | 187 |
| |
| |||
278 | 279 |
| |
279 | 280 |
| |
280 | 281 |
| |
| 282 | + | |
281 | 283 |
| |
282 | 284 |
| |
283 | 285 |
| |
|
neural_compressor/torch/quantization/config.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/quantization/config.py+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
971 | 971 |
| |
972 | 972 |
| |
973 | 973 |
| |
| 974 | + | |
974 | 975 |
| |
975 | 976 |
| |
976 | 977 |
| |
| |||
984 | 985 |
| |
985 | 986 |
| |
986 | 987 |
| |
| 988 | + | |
987 | 989 |
| |
988 | 990 |
| |
989 | 991 |
| |
| |||
996 | 998 |
| |
997 | 999 |
| |
998 | 1000 |
| |
| 1001 | + | |
999 | 1002 |
| |
1000 | 1003 |
| |
1001 | 1004 |
| |
| |||
1057 | 1060 |
| |
1058 | 1061 |
| |
1059 | 1062 |
| |
| 1063 | + | |
1060 | 1064 |
| |
1061 | 1065 |
| |
1062 | 1066 |
| |
| |||
1074 | 1078 |
| |
1075 | 1079 |
| |
1076 | 1080 |
| |
| 1081 | + | |
1077 | 1082 |
| |
1078 | 1083 |
| |
1079 | 1084 |
| |
| |||
1097 | 1102 |
| |
1098 | 1103 |
| |
1099 | 1104 |
| |
| 1105 | + | |
1100 | 1106 |
| |
1101 | 1107 |
| |
1102 | 1108 |
| |
|
test/3x/torch/quantization/test_smooth_quant.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/test_smooth_quant.py+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + |
test/3x/torch/quantization/test_static_quant.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/test_static_quant.py+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + |
You can’t perform that action at this time.
0 commit comments