CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 11:29:18 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/"5029b644106e0e9675fb6b8a26288d30"
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=RiY9m8%2FG9Zf%2BKTDSJe2vPvLly%2FCYuajuj%2F6Rk8cEWvLo4j7S7tgnOS7HslE3ESfz%2Bss2ryLqfpnQyGBEvD8ksOEu3m5iqQwGplcpL2FdSUv3w8ih3sjfo8PzHd%2BQxmu7%2FhFvqpv5fgg9VGEKjupPJPmeiwvLM4PsaYyVJQgwoajNfVYfgQUCoeCiWCu70JXU3dj6CedheeWY9J%2F7KhRbEWvN8kgxvRnKUf2w6iN4tDz43oGxihxiPgWaR81sCjFMGL%2FCxAbj8idt4%2F3Un6Ji4g%3D%3D--PXLwAuyvp1hLJ72k--K%2FUIEriB1k%2F%2FRf%2B3EWFYgw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1462156221.1753183758; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 11:29:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 11:29:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E5AA:1E0F94:6A45BE:765BA6:687F760E
Port auto-detect absorb layers for TEQ (#1895) · intel/neural-compressor@1386ac5 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/teq.py
Copy file name to clipboardExpand all lines: test/3x/torch/algorithms/weight_only/test_teq_quantizer.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit 1386ac5
File tree
Expand file treeCollapse file tree
2 files changed
+48
-14
lines changedFilter options
- neural_compressor/torch/algorithms/weight_only
- test/3x/torch/algorithms/weight_only
Expand file treeCollapse file tree
2 files changed
+48
-14
lines changedneural_compressor/torch/algorithms/weight_only/teq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/teq.py+33-12Lines changed: 33 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
| 19 | + | |
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
| |||
36 | 35 |
| |
37 | 36 |
| |
38 | 37 |
| |
39 |
| - | |
| 38 | + | |
40 | 39 |
| |
41 | 40 |
| |
42 |
| - | |
| 41 | + | |
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
| |||
54 | 53 |
| |
55 | 54 |
| |
56 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 |
| |
58 | 75 |
| |
59 | 76 |
| |
| |||
75 | 92 |
| |
76 | 93 |
| |
77 | 94 |
| |
| 95 | + | |
| 96 | + | |
78 | 97 |
| |
79 | 98 |
| |
80 | 99 |
| |
| |||
104 | 123 |
| |
105 | 124 |
| |
106 | 125 |
| |
107 |
| - | |
| 126 | + | |
108 | 127 |
| |
109 | 128 |
| |
110 | 129 |
| |
| |||
117 | 136 |
| |
118 | 137 |
| |
119 | 138 |
| |
120 |
| - | |
| 139 | + | |
121 | 140 |
| |
122 |
| - | |
123 |
| - | |
| 141 | + | |
| 142 | + | |
124 | 143 |
| |
125 | 144 |
| |
126 | 145 |
| |
| |||
131 | 150 |
| |
132 | 151 |
| |
133 | 152 |
| |
134 |
| - | |
| 153 | + | |
135 | 154 |
| |
136 | 155 |
| |
137 | 156 |
| |
| |||
190 | 209 |
| |
191 | 210 |
| |
192 | 211 |
| |
193 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
194 | 215 |
| |
195 | 216 |
| |
196 | 217 |
| |
| |||
222 | 243 |
| |
223 | 244 |
| |
224 | 245 |
| |
225 |
| - | |
| 246 | + | |
226 | 247 |
| |
227 | 248 |
| |
228 | 249 |
| |
| |||
272 | 293 |
| |
273 | 294 |
| |
274 | 295 |
| |
275 |
| - | |
| 296 | + | |
276 | 297 |
| |
277 | 298 |
| |
278 | 299 |
| |
|
test/3x/torch/algorithms/weight_only/test_teq_quantizer.py
Copy file name to clipboardExpand all lines: test/3x/torch/algorithms/weight_only/test_teq_quantizer.py+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
86 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
87 | 100 |
| |
88 | 101 |
| |
89 | 102 |
| |
|
You can’t perform that action at this time.
0 commit comments