CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 10:01:07 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/"f3289a2278ad675f12f6382bd7d0610f"
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 wss://alive-staging.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=13hSskvK1refd2MZupi%2FsU4sVGFsJjDdvcR%2B6eX0UWPiCl8tuapCOHTb4XCFmWWh4N46%2BXjBMmtHTp6oXjzUxj3GfOeqhy30UhB6bjToFax%2FzHaId9JQklvQGxQUr1P6CU6R3Z14q5Fgye6zIJaW%2FOzBdkFj%2Fp6itO8rXCpsD9mErJt2nIS%2FpMDKzUK4n2LW8Q45BReuk%2BqQfI4On7UFCsJomRMuDbTid7dM1dlcj0MsAcTWbyJgygJsT9T4oMLbjBwxvV8h24p6qVYJaEyXZg%3D%3D--cyoMDBFZmLYf%2FI3P--G1ybnTYZsuSj1h9CzYqWvQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.891028647.1753956066; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:01:06 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:01:06 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A86C:2291D2:79CA3A:9393B9:688B3EE2
support RTN on Gaudi2 and make UTs auto detect device (#1811) · intel/neural-compressor@4b9b447 · GitHub
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/mix_precision/half_precision_convert.py
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/gptq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/modules.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/rtn.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/algorithms/weight_only/utility.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit 4b9b447
File tree
Expand file treeCollapse file tree
15 files changed
+165
-132
lines changedFilter options
- neural_compressor/torch
- algorithms
- mix_precision
- weight_only
- utils
- test/3x/torch
- quantization/weight_only
Expand file treeCollapse file tree
15 files changed
+165
-132
lines changedneural_compressor/torch/algorithms/mix_precision/half_precision_convert.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/mix_precision/half_precision_convert.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
neural_compressor/torch/algorithms/weight_only/awq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/awq.py+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
| 127 | + | |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
132 | 133 |
| |
133 | 134 |
| |
| 135 | + | |
134 | 136 |
| |
135 | 137 |
| |
136 | 138 |
| |
| |||
146 | 148 |
| |
147 | 149 |
| |
148 | 150 |
| |
149 |
| - | |
| 151 | + | |
150 | 152 |
| |
151 | 153 |
| |
152 | 154 |
| |
|
neural_compressor/torch/algorithms/weight_only/gptq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/gptq.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 |
| - | |
| 261 | + | |
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
|
neural_compressor/torch/algorithms/weight_only/modules.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/modules.py+61-74Lines changed: 61 additions & 74 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
178 |
| - | |
179 |
| - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 |
| - | |
201 |
| - | |
| 200 | + | |
| 201 | + | |
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
205 |
| - | |
206 | 205 |
| |
207 | 206 |
| |
208 |
| - | |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
| 207 | + | |
216 | 208 |
| |
217 |
| - | |
| 209 | + | |
218 | 210 |
| |
219 | 211 |
| |
220 | 212 |
| |
221 | 213 |
| |
222 | 214 |
| |
223 | 215 |
| |
224 |
| - | |
225 |
| - | |
| 216 | + | |
| 217 | + | |
226 | 218 |
| |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
| 219 | + | |
236 | 220 |
| |
237 |
| - | |
| 221 | + | |
238 | 222 |
| |
239 |
| - | |
240 |
| - | |
241 |
| - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
242 | 226 |
| |
243 | 227 |
| |
244 | 228 |
| |
245 |
| - | |
246 |
| - | |
| 229 | + | |
| 230 | + | |
247 | 231 |
| |
248 | 232 |
| |
249 | 233 |
| |
250 | 234 |
| |
251 | 235 |
| |
252 | 236 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 | 237 |
| |
259 |
| - | |
260 | 238 |
| |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
| 239 | + | |
| 240 | + | |
276 | 241 |
| |
277 |
| - | |
| 242 | + | |
| 243 | + | |
278 | 244 |
| |
279 | 245 |
| |
280 | 246 |
| |
281 | 247 |
| |
282 | 248 |
| |
283 | 249 |
| |
284 | 250 |
| |
285 |
| - | |
286 |
| - | |
287 |
| - | |
| 251 | + | |
288 | 252 |
| |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
| 253 | + | |
| 254 | + | |
303 | 255 |
| |
304 |
| - | |
| 256 | + | |
| 257 | + | |
305 | 258 |
| |
306 | 259 |
| |
307 | 260 |
| |
308 | 261 |
| |
309 | 262 |
| |
310 | 263 |
| |
311 |
| - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
312 | 267 |
| |
313 | 268 |
| |
314 | 269 |
| |
315 | 270 |
| |
316 | 271 |
| |
317 | 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 | + | |
318 | 305 |
| |
319 | 306 |
| |
320 | 307 |
| |
|
neural_compressor/torch/algorithms/weight_only/rtn.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/rtn.py+6-7Lines changed: 6 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
| 168 | + | |
169 | 169 |
| |
170 |
| - | |
| 170 | + | |
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
| |||
189 | 189 |
| |
190 | 190 |
| |
191 | 191 |
| |
192 |
| - | |
193 |
| - | |
| 192 | + | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
230 |
| - | |
231 | 230 |
| |
232 | 231 |
|
neural_compressor/torch/algorithms/weight_only/teq.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/teq.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
|
neural_compressor/torch/algorithms/weight_only/utility.py
Copy file name to clipboardExpand all lines: neural_compressor/torch/algorithms/weight_only/utility.py+10-7Lines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
208 |
| - | |
| 208 | + | |
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
213 |
| - | |
| 212 | + | |
| 213 | + | |
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
| 251 | + | |
251 | 252 |
| |
252 | 253 |
| |
253 | 254 |
| |
| |||
343 | 344 |
| |
344 | 345 |
| |
345 | 346 |
| |
346 |
| - | |
| 347 | + | |
347 | 348 |
| |
348 | 349 |
| |
349 |
| - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
350 | 353 |
| |
351 | 354 |
| |
352 | 355 |
| |
| |||
444 | 447 |
| |
445 | 448 |
| |
446 | 449 |
| |
447 |
| - | |
| 450 | + | |
448 | 451 |
| |
449 | 452 |
| |
450 | 453 |
| |
|
You can’t perform that action at this time.
0 commit comments