CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 17:18:03 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/"d6a9ae8e34bd97e6681417be2513141e"
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=YyELLq6OdWE5S2JKpkIpaiPWWhQ3fM3QD11k69N2slj5p6rJmuuDuAc5W9lXdB8xMxv8L80A9BOLWcD6QWg7uDglOVzVNc5juCdobfIsKG%2F2Krpqnx7kNMI1cuMDGYxVf3iDy4kh4rNITGpC2NuwRKWhATNUMSi4iPYS%2Fpcydl%2FEfUKWX9ud3qJXXXSKid5tSkjwNLXLQ8AFVhDu8HkB50e42uNDM29bbm9qXGc70%2BRakcvJ8UBvZ1b%2FDcgASozRHaeLjwFSHfidPTyUw%2BU3Yw%3D%3D--nyIj6O5GtMZfaUEB--SeJMKnyHPj7MoRMnmcWHaQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.509704537.1753291082; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 17:18:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 17:18:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 826A:12BD61:F1A4BD:11DB9C1:6881194A
add use_HF_format for export_compressed_model (#1379) · intel/neural-compressor@5179da1 · GitHub
Copy file name to clipboardExpand all lines: docs/source/quantization_weight_only.md
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/torch_utils/model_wrapper.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/torch_utils/weight_only.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 5179da1
File tree
Expand file treeCollapse file tree
7 files changed
+257
-120
lines changedFilter options
- docs/source
- neural_compressor
- adaptor/torch_utils
- model
- utils
- test
- adaptor/pytorch_adaptor
- model
Expand file treeCollapse file tree
7 files changed
+257
-120
lines changeddocs/source/quantization_weight_only.md
Copy file name to clipboardExpand all lines: docs/source/quantization_weight_only.md+15-5Lines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
99 | 107 |
| |
100 | 108 |
| |
101 | 109 |
| |
| |||
119 | 127 |
| |
120 | 128 |
| |
121 | 129 |
| |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 130 | + | |
127 | 131 |
| |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 |
| |
129 | 139 |
| |
130 | 140 |
| |
|
neural_compressor/adaptor/torch_utils/model_wrapper.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/torch_utils/model_wrapper.py+136-100Lines changed: 136 additions & 100 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
218 |
| - | |
| 218 | + | |
219 | 219 |
| |
| 220 | + | |
220 | 221 |
| |
221 | 222 |
| |
| 223 | + | |
222 | 224 |
| |
223 | 225 |
| |
224 | 226 |
| |
| |||
249 | 251 |
| |
250 | 252 |
| |
251 | 253 |
| |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
| 254 | + | |
260 | 255 |
| |
261 |
| - | |
| 256 | + | |
262 | 257 |
| |
263 |
| - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
264 | 267 |
| |
265 | 268 |
| |
266 | 269 |
| |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
| 270 | + | |
276 | 271 |
| |
277 |
| - | |
| 272 | + | |
278 | 273 |
| |
279 |
| - | |
| 274 | + | |
280 | 275 |
| |
281 | 276 |
| |
282 | 277 |
| |
283 |
| - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
284 | 288 |
| |
285 |
| - | |
| 289 | + | |
286 | 290 |
| |
287 |
| - | |
| 291 | + | |
288 | 292 |
| |
289 | 293 |
| |
290 | 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 | + | |
291 | 323 |
| |
292 | 324 |
| |
293 | 325 |
| |
294 | 326 |
| |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 | 327 |
| |
300 |
| - | |
| 328 | + | |
301 | 329 |
| |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
302 | 336 |
| |
303 | 337 |
| |
304 | 338 |
| |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
311 | 349 |
| |
312 |
| - | |
| 350 | + | |
313 | 351 |
| |
314 |
| - | |
| 352 | + | |
315 | 353 |
| |
316 | 354 |
| |
317 | 355 |
| |
| |||
323 | 361 |
| |
324 | 362 |
| |
325 | 363 |
| |
326 |
| - | |
327 |
| - | |
328 |
| - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
329 | 367 |
| |
330 | 368 |
| |
331 | 369 |
| |
332 |
| - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
333 | 373 |
| |
334 |
| - | |
335 |
| - | |
336 |
| - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
337 | 377 |
| |
338 | 378 |
| |
339 | 379 |
| |
340 | 380 |
| |
341 | 381 |
| |
342 | 382 |
| |
343 | 383 |
| |
344 |
| - | |
345 |
| - | |
346 |
| - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
347 | 392 |
| |
348 | 393 |
| |
349 | 394 |
| |
350 |
| - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
351 | 406 |
| |
352 |
| - | |
| 407 | + | |
353 | 408 |
| |
354 | 409 |
| |
355 | 410 |
| |
356 | 411 |
| |
357 | 412 |
| |
358 |
| - | |
359 |
| - | |
| 413 | + | |
| 414 | + | |
360 | 415 |
| |
361 |
| - | |
| 416 | + | |
362 | 417 |
| |
363 |
| - | |
| 418 | + | |
364 | 419 |
| |
365 | 420 |
| |
366 | 421 |
| |
367 | 422 |
| |
368 | 423 |
| |
369 |
| - | |
| 424 | + | |
370 | 425 |
| |
371 | 426 |
| |
372 | 427 |
| |
373 | 428 |
| |
374 | 429 |
| |
375 |
| - | |
| 430 | + | |
376 | 431 |
| |
377 | 432 |
| |
378 | 433 |
| |
379 | 434 |
| |
380 | 435 |
| |
381 | 436 |
| |
382 | 437 |
| |
383 |
| - | |
| 438 | + | |
384 | 439 |
| |
385 |
| - | |
386 |
| - | |
387 |
| - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
388 | 443 |
| |
389 |
| - | |
| 444 | + | |
390 | 445 |
| |
391 |
| - | |
| 446 | + | |
392 | 447 |
| |
393 | 448 |
| |
394 | 449 |
| |
395 | 450 |
| |
396 | 451 |
| |
397 |
| - | |
| 452 | + | |
398 | 453 |
| |
399 | 454 |
| |
400 | 455 |
| |
401 | 456 |
| |
402 |
| - | |
| 457 | + | |
403 | 458 |
| |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
404 | 463 |
| |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 |
| - | |
416 |
| - | |
417 |
| - | |
418 |
| - | |
419 |
| - | |
420 |
| - | |
421 |
| - | |
| 464 | + | |
| 465 | + | |
422 | 466 |
| |
423 | 467 |
| |
424 |
| - | |
425 |
| - | |
426 |
| - | |
427 |
| - | |
428 |
| - | |
429 |
| - | |
430 |
| - | |
431 |
| - | |
432 |
| - | |
433 |
| - | |
434 |
| - | |
435 |
| - | |
436 |
| - | |
437 |
| - | |
438 |
| - | |
439 |
| - | |
440 |
| - | |
| 468 | + | |
| 469 | + | |
441 | 470 |
| |
442 | 471 |
| |
443 | 472 |
| |
| |||
453 | 482 |
| |
454 | 483 |
| |
455 | 484 |
| |
456 |
| - | |
457 |
| - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
458 | 491 |
| |
| 492 | + | |
| 493 | + | |
| 494 | + | |
459 | 495 |
| |
460 | 496 |
| |
461 | 497 |
| |
|
neural_compressor/adaptor/torch_utils/weight_only.py
Copy file name to clipboardExpand all lines: neural_compressor/adaptor/torch_utils/weight_only.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
| 399 | + | |
399 | 400 |
| |
400 | 401 |
| |
401 | 402 |
| |
| |||
451 | 452 |
| |
452 | 453 |
| |
453 | 454 |
| |
| 455 | + | |
454 | 456 |
| |
455 | 457 |
| |
456 | 458 |
| |
|
You can’t perform that action at this time.
0 commit comments