CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:53:47 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/"cbe10db2f2e46b0596645fcbbe550fd8"
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=bZ%2F7%2BVGvm7LlnhX8V6g%2Bs7VXOFS1XhdLre7Z55wTT3q8LyAw%2BNUcZZFY9k3fj8VqcHd7%2FxFYwSELgXmcGgm2r0rZlx4NwYijUqykjo6MGja1THdQhDfmN7HDXX9KNp%2F56%2BlWUqYyDgnm%2Bd17IOaGwUem9TKDApJsAOZpK%2FCJCSbybPqq3y1wgrQtHqZ6u51C3QlAHpM7HOO2KiplIqtYR59bUPFGkw2OovyBfA%2FvL8TEoXKj%2BM6YJpZ9wUD8cslQWSQWb6PEsTnXMh9VnvPp1g%3D%3D--XSiNz5djdsko%2BOY%2B--tZViyONxGE1ioU7G6h0xiw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.819367299.1753336426; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:53:46 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:53:46 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9CC6:0A62:312F0C:4051C7:6881CA6A
Support auto device for TEQ and AWQ (#1634) · intel/neural-compressor@5343009 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/awq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/teq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/auto_accelerator.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_woq_on_cuda.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 5343009
File tree
Expand file treeCollapse file tree
4 files changed
+177
-14
lines changedFilter options
- neural_compressor/torch
- algorithms/weight_only
- utils
- test/3x/torch/quantization/weight_only
Expand file treeCollapse file tree
4 files changed
+177
-14
lines changedneural_compressor/torch/algorithms/weight_only/awq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/awq.py+12-3Lines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
22 |
| - | |
| 21 | + | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
| |||
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
| 35 | + | |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
122 | 123 |
| |
123 | 124 |
| |
124 | 125 |
| |
| 126 | + | |
125 | 127 |
| |
| 128 | + | |
126 | 129 |
| |
127 | 130 |
| |
128 | 131 |
| |
| 132 | + | |
129 | 133 |
| |
130 | 134 |
| |
131 | 135 |
| |
| |||
139 | 143 |
| |
140 | 144 |
| |
141 | 145 |
| |
142 |
| - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
143 | 152 |
| |
144 | 153 |
| |
145 | 154 |
| |
|
neural_compressor/torch/algorithms/weight_only/teq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/teq.py+11-3Lines changed: 11 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 |
| - | |
| 43 | + | |
| 44 | + | |
42 | 45 |
| |
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
48 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
49 | 57 |
| |
50 |
| - | |
| 58 | + | |
51 | 59 |
| |
52 | 60 |
| |
53 | 61 |
| |
|
neural_compressor/torch/utils/auto_accelerator.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/utils/auto_accelerator.py+10-1Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
| |||
204 | 203 |
| |
205 | 204 |
| |
206 | 205 |
| |
| 206 | + | |
| 207 | + | |
207 | 208 |
| |
208 | 209 |
| |
| 210 | + | |
209 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
210 | 215 |
| |
211 | 216 |
| |
212 | 217 |
| |
| 218 | + | |
213 | 219 |
| |
214 | 220 |
| |
215 | 221 |
| |
216 | 222 |
| |
217 | 223 |
| |
218 | 224 |
| |
219 | 225 |
| |
| 226 | + | |
220 | 227 |
| |
221 | 228 |
| |
222 | 229 |
| |
| |||
227 | 234 |
| |
228 | 235 |
| |
229 | 236 |
| |
| 237 | + | |
| 238 | + | |
230 | 239 |
|
test/3x/torch/quantization/weight_only/test_woq_on_cuda.py
Copy file name to clipboardExpand all lines: test/3x/torch/quantization/weight_only/test_woq_on_cuda.py+144-7Lines changed: 144 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
11 | 26 |
| |
12 | 27 |
| |
13 | 28 |
| |
| |||
213 | 228 |
| |
214 | 229 |
| |
215 | 230 |
| |
216 |
| - | |
217 |
| - | |
218 |
| - | |
| 231 | + | |
219 | 232 |
| |
220 | 233 |
| |
221 | 234 |
| |
| |||
228 | 241 |
| |
229 | 242 |
| |
230 | 243 |
| |
231 |
| - | |
232 |
| - | |
233 |
| - | |
| 244 | + | |
234 | 245 |
| |
235 | 246 |
| |
236 | 247 |
| |
| |||
239 | 250 |
| |
240 | 251 |
| |
241 | 252 |
| |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 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 | + | |
| 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 | + |
You can’t perform that action at this time.
0 commit comments